|
NEOCCA bindings Specification
0.2.8
|
Functions | |
| void | setParamsFromString (neo::cca::TypeMap_shared tm, std::map< std::string, std::string > &values) |
| void | setParameters (const std::string compName, const std::string port, neo::cca::ComponentID_shared comp, neo::cca::ports::BuilderService *bs, neo::cca::Services *services, std::map< std::string, std::string > &values) |
| int | invokeGo (const std::string comp, const std::string port, neo::cca::ComponentID_shared target, neo::cca::Services *services, neo::cca::ports::BuilderService *bs) |
| ::neo::cca::Type | typeFromString (const ::std::string &typeName) |
| given a string name of a primitive data type, return the enumerated type. More... | |
| void | transformString (const ::std::string &key, ::neo::cca::Type dt, const ::std::string &v, ::neo::cca::TypeMap_shared tm) |
| put a value in by type after parsing. More... | |
| int | putValueByStrings (::neo::cca::TypeMap_shared t, const ::std::string &key, const ::std::string &vtype, const ::std::string &val) |
| set a value from strings. More... | |
| const std::string | typeToName (::neo::cca::Type t) |
| given a type, return the string equivalent. More... | |
| ::std::string | stringType (::neo::cca::TypeMap_shared t, const ::std::string &key) |
| given a map and key, return the string form of the type the key indexes. More... | |
| ::std::string | stringValue (::neo::cca::TypeMap_shared t, const ::std::string &key) |
| given a map and key, return the string form of the value. More... | |
| void | dumpTypeMapStdout (::neo::cca::TypeMap_shared t) |
| print typemap as formated key-value pairs on stdout in sorted key order. More... | |
| void neo::support::helpers::setParamsFromString | ( | neo::cca::TypeMap_shared | tm, |
| std::map< std::string, std::string > & | values | ||
| ) |
| void neo::support::helpers::setParameters | ( | const std::string | compName, |
| const std::string | port, | ||
| neo::cca::ComponentID_shared | comp, | ||
| neo::cca::ports::BuilderService * | bs, | ||
| neo::cca::Services * | services, | ||
| std::map< std::string, std::string > & | values | ||
| ) |
| int neo::support::helpers::invokeGo | ( | const std::string | comp, |
| const std::string | port, | ||
| neo::cca::ComponentID_shared | target, | ||
| neo::cca::Services * | services, | ||
| neo::cca::ports::BuilderService * | bs | ||
| ) |
| ::neo::cca::Type neo::support::helpers::typeFromString | ( | const ::std::string & | typeName | ) |
given a string name of a primitive data type, return the enumerated type.
| void neo::support::helpers::transformString | ( | const ::std::string & | key, |
| ::neo::cca::Type | dt, | ||
| const ::std::string & | v, | ||
| ::neo::cca::TypeMap_shared | tm | ||
| ) |
put a value in by type after parsing.
array types unsupported.
| key | the key to be stored |
| dt | the type of the value for the key. |
| v | the value to be parsed according to dt. |
| tm | the map to store the key/value pair in. |
| int neo::support::helpers::putValueByStrings | ( | ::neo::cca::TypeMap_shared | t, |
| const ::std::string & | key, | ||
| const ::std::string & | vtype, | ||
| const ::std::string & | val | ||
| ) |
set a value from strings.
| t | the map to be put into. |
| key | the key to be used. |
| vtype | the string name for the type. |
| val | the value to be parsed into a type matching vtype. |
| const std::string neo::support::helpers::typeToName | ( | ::neo::cca::Type | t | ) |
given a type, return the string equivalent.
| ::std::string neo::support::helpers::stringType | ( | ::neo::cca::TypeMap_shared | t, |
| const ::std::string & | key | ||
| ) |
given a map and key, return the string form of the type the key indexes.
| ::std::string neo::support::helpers::stringValue | ( | ::neo::cca::TypeMap_shared | t, |
| const ::std::string & | key | ||
| ) |
given a map and key, return the string form of the value.
| void neo::support::helpers::dumpTypeMapStdout | ( | ::neo::cca::TypeMap_shared | t | ) |
print typemap as formated key-value pairs on stdout in sorted key order.
1.8.13