Go to the source code of this file.
Classes | |
class | CConfiguration |
Configuration file wrapper. More... | |
class | CXmlLoaderInterface |
Defines | |
#define | XML_LOADER_ADD(Y, X) xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%s</%s>", Y, X.c_str(), Y)); |
#define | XML_LOADER_ADD_BOOLEAN(Y, X) xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%s</%s>", Y, X ? "true" : "false", Y)); |
#define | XML_LOADER_ADD_DOUBLE(Y, X) xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%g</%s>", Y, X, Y)); |
#define | XML_LOADER_ADD_FLOAT(Y, X) xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%g</%s>", Y, X, Y)); |
#define | XML_LOADER_ADD_INTEGER(Y, X) xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%d</%s>", Y, X, Y)); |
#define | XML_LOADER_ADD_STRING(Y, X) xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%s</%s>", Y, X.c_str(), Y)); |
#define | XML_LOADER_GET(Y) |
#define | XML_LOADER_INIT std::vector<std::string> xml_loader_strings; |
Functions | |
void | tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters) |
#define XML_LOADER_ADD | ( | Y, | |
X | |||
) | xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%s</%s>", Y, X.c_str(), Y)); |
Definition at line 105 of file configuration.h.
#define XML_LOADER_ADD_BOOLEAN | ( | Y, | |
X | |||
) | xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%s</%s>", Y, X ? "true" : "false", Y)); |
Definition at line 110 of file configuration.h.
#define XML_LOADER_ADD_DOUBLE | ( | Y, | |
X | |||
) | xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%g</%s>", Y, X, Y)); |
Definition at line 108 of file configuration.h.
#define XML_LOADER_ADD_FLOAT | ( | Y, | |
X | |||
) | xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%g</%s>", Y, X, Y)); |
Definition at line 109 of file configuration.h.
#define XML_LOADER_ADD_INTEGER | ( | Y, | |
X | |||
) | xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%d</%s>", Y, X, Y)); |
Definition at line 107 of file configuration.h.
#define XML_LOADER_ADD_STRING | ( | Y, | |
X | |||
) | xml_loader_strings.push_back(robotLibPbD::printToString("<%s>%s</%s>", Y, X.c_str(), Y)); |
Definition at line 106 of file configuration.h.
#define XML_LOADER_GET | ( | Y | ) |
{ \ for (unsigned int i=0; i<xml_loader_strings.size(); i++) \ { \ Y += xml_loader_strings[i] + "\n"; \ } \ }
Definition at line 111 of file configuration.h.
#define XML_LOADER_INIT std::vector<std::string> xml_loader_strings; |
Definition at line 104 of file configuration.h.
void tokenize | ( | const std::string & | str, |
std::vector< std::string > & | tokens, | ||
const std::string & | delimiters | ||
) |
Definition at line 133 of file configuration.cpp.