icub-client
|
A container library containing defines and structures to formalize knowledge within an objectPropertiesCollector module. More...
Functions | |
yarp::os::Bottle | icubclient::opcGetIdsFromAsk (const yarp::os::Bottle &reply) |
Allow retrieving the list of unique identifiers of those items verifying the set of conditions queried to the database through a [ask] request. More... | |
void | icubclient::replace_all (std::string &in, const std::string &plain, const std::string &tok) |
Simple search and replace function for strings;. More... | |
std::string | icubclient::grammarToString (const std::string &sPath) |
Get the context path of a .grxml grammar, and return it as a string. More... | |
A container library containing defines and structures to formalize knowledge within an objectPropertiesCollector module.
std::string icubclient::grammarToString | ( | const std::string & | sPath | ) |
Get the context path of a .grxml grammar, and return it as a string.
sPath | Path to the grammar file |
Definition at line 58 of file functions.cpp.
yarp::os::Bottle icubclient::opcGetIdsFromAsk | ( | const yarp::os::Bottle & | reply | ) |
Allow retrieving the list of unique identifiers of those items verifying the set of conditions queried to the database through a [ask] request.
reply | the bottle received from the database |
Definition at line 29 of file functions.cpp.
void icubclient::replace_all | ( | std::string & | in, |
const std::string & | plain, | ||
const std::string & | tok | ||
) |
Simple search and replace function for strings;.
in | the input and output string |
plain | the substring to be replaced |
tok | the replacement |
Definition at line 42 of file functions.cpp.