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 );
A C++ wrapper for libxml2.
Definition: xml.h:55
int getVals(const std::string &xpath_expr, std::vector< std::string > &results)
get a set of values
Definition: xini.cpp:243
static Path configFile
path to config file
Definition: xini.h:95
bool getVal(const std::string &xpath_expression, std::string &val)
get a value from the config file.
Definition: xini.cpp:225
static char ** argv
command line args
Definition: xini.h:94
static void configure(const Path &p)
Configure XINI to use the specified path.
Definition: xini.cpp:172
XINI()
constructor
Definition: xini.cpp:44
Manipulate path strings.
Definition: stringy.h:67
const Path & getConfigFilename() const
get the name of the config file being used
Definition: xini.cpp:278
static int argc
number of command line args
Definition: xini.h:93
static XINI & instance()
get a reference to the single instance of the class.
Definition: xini.cpp:192
A simple C++ wrapper for libxml2.
Load an XML configuration file.
Definition: xini.h:88
static const std::string config
configuration string defined by the using application using the format specified. ...
Definition: xini.h:99
void getPath(const std::string &xpath_expr, SASSY::Path &path)
get a path from a set of paths
Definition: xini.cpp:256
const std::string & csr
Save some time typing and shorten parameter lines.
Definition: stringy.h:35