$search
#include <vector>#include <string>#include <iostream>#include <fstream>#include <cstdarg>#include <sstream>#include <boost/algorithm/string.hpp>#include <boost/lexical_cast.hpp>#include <boost/shared_ptr.hpp>#include <boost/any.hpp>#include "ConfigException.h"#include "Exception.h"

Go to the source code of this file.
Classes | |
| class | castor::ConfigNode |
| class | castor::Configuration |
Namespaces | |
| namespace | castor |
Defines | |
| #define | CONSUME_PARAMS(path) |
Typedefs | |
| typedef boost::shared_ptr < ConfigNode > | castor::ConfigNodePtr |
| #define CONSUME_PARAMS | ( | path | ) |
boost::shared_ptr<std::vector<std::string> > params(new std::vector<std::string>());\ if (path != NULL) {\ va_list ap;\ va_start(ap, path);\ const char *temp = path;\ do { \ std::vector<std::string> result; \ boost::split(result, temp, boost::is_any_of(".")); \ for (size_t i = 0; i < result.size(); i++) { \ params->push_back(result[i]); \ } \ } while ((temp = va_arg(ap, const char *)) != NULL); \ va_end(ap); \ }
Definition at line 36 of file Configuration.h.