$search

Configuration.h File Reference

#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"
Include dependency graph for Configuration.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define CONSUME_PARAMS ( path   ) 
Value:
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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Mar 1 14:39:44 2013