tue_config
Namespaces | Functions
xml.cpp File Reference
#include <fstream>
#include <sstream>
#include <tinyxml2.h>
#include "tue/config/configuration.h"
#include "tue/config/loaders/xml.h"
#include "tue/config/read.h"
#include "loader_functions.h"
#include "tue/filesystem/path.h"
Include dependency graph for xml.cpp:

Go to the source code of this file.

Namespaces

 tue
 
 tue::config
 

Functions

bool tue::config::loadFromXMLDocument (const tinyxml2::XMLDocument &doc, ReaderWriter &config)
 
bool tue::config::loadFromXMLElement (const tinyxml2::XMLElement &element, ReaderWriter &config)
 
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...