5 #include "StringParameters.h"
16 typedef std::map< std::string , StringParameters* > StringParametersMap ;
114 std::vector< std::string >& _tokens ;
119 LCTokenizer( std::vector< std::string >& tokens,
char del ) : _tokens(tokens) , _del(del), _last(del) {
123 void operator()(
const char& c) {
127 if( _last == _del ) {
128 _tokens.push_back(
"") ;
130 _tokens.back() += c ;
140 std::vector<std::string> & result() {
148 XMLParser(
const std::string& fileName,
bool forCCheck=
false ) ;
153 _cmdlineparams = cmdlineparams ;
160 StringParameters*
getParameters(
const std::string& sectionName )
const ;
178 const std::string& attribute,
const std::string& value ) ;
187 mutable StringParametersMap _map ;
188 StringParameters* _current ;
191 std::string _fileName ;
197 CommandLineParametersMap _cmdlineparams ;
void parse()
Definition: XMLParser.cc:23
void setCmdLineParameters(const CommandLineParametersMap &cmdlineparams)
Definition: XMLParser.h:152
Definition: XMLParser.h:104
StringParameters * getParameters(const std::string §ionName) const
Definition: XMLParser.cc:378
Definition: XMLParser.h:112
Definition: tinyxml.h:1366
const char * getAttribute(TiXmlNode *node, const std::string &name)
Definition: XMLParser.cc:247
void parametersFromNode(TiXmlNode *section, std::pair< unsigned, unsigned > *typeCount=0)
Definition: XMLParser.cc:268
void replacegroups(TiXmlNode *section)
Definition: XMLParser.cc:450
TiXmlNode * findElement(TiXmlNode *node, const std::string &type, const std::string &attribute, const std::string &value)
Definition: XMLParser.cc:496
Namespace for Luiza framework.
Definition: CCCollection.h:6
Definition: tinyxml.h:425
void processconditions(TiXmlNode *current, const std::string &conditions)
Definition: XMLParser.cc:391