90 friend class ::XiniTestCase;
121 static void configure(
int c,
char ** v );
132 bool getVal(
const std::string & xpath_expression, std::string &val );
140 int getVals(
const std::string & xpath_expr, std::vector< std::string > &results );
XINI()
constructor
Definition: xini.cpp:44
static XINI & instance()
get a reference to the single instance of the class.
Definition: xini.cpp:194
static int argc
number of command line args
Definition: xini.h:93
const Path & getConfigFilename() const
get the name of the config file being used
Definition: xini.cpp:280
static const std::string config
configuration string defined by the using application using the format specified. ...
Definition: xini.h:99
Manipulate path strings.
Definition: stringy.h:74
A simple C++ wrapper for libxml2.
static void configure(const Path &p)
Configure XINI to use the specified path.
Definition: xini.cpp:174
bool getVal(const std::string &xpath_expression, std::string &val)
get a value from the config file.
Definition: xini.cpp:227
Load an XML configuration file.
Definition: xini.h:88
const std::string & csr
short cut for string constants
Definition: vici.h:80
static char ** argv
command line args
Definition: xini.h:94
A C++ wrapper for libxml2.
Definition: xml.h:73
void getPath(const std::string &xpath_expr, VICI::Path &path)
get a path from a set of paths
Definition: xini.cpp:258
int getVals(const std::string &xpath_expr, std::vector< std::string > &results)
get a set of values
Definition: xini.cpp:245
static Path configFile
path to config file
Definition: xini.h:95