tue_config
Namespaces | Functions
xml.h File Reference
#include <istream>
#include <string>
#include <tinyxml2.h>
Include dependency graph for xml.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tue
 
 tue::config
 

Functions

bool tue::config::loadFromXMLFile (const std::string &filename, ReaderWriter &config)
 loadFromXMLFile loads a xml file into a ReaderWriter class More...
 
bool tue::config::loadFromXMLStream (std::istream &stream, ReaderWriter &config)
 loadFromXMLStream loads a xml stream into a ReaderWriter class More...
 
bool tue::config::loadFromXMLString (const std::string &string, ReaderWriter &config)
 loadFromXMLString loads a xml string into a ReaderWriter class More...
 
bool tue::config::loadFromXMLText (const tinyxml2::XMLElement &element, ReaderWriter &config)
 loadFromXMLText writes a value from xml element into config object. Stored as double, int or string More...
 
bool tue::config::setValue (const std::string &key, const std::string &value, ReaderWriter &config)
 setValue sets the value as a double, int or string More...