Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

DataXML Namespace Reference


Compounds

class  DataXML::DataObject
 XML-streamable data object. More...

class  DataXML::DataObjectTreeCreator
 Traversal & creation of the object tree (utility for parsers). More...

class  DataXML::InputXMLStream
 Input stream for XML data objects. More...

class  DataXML::OutputXMLStream
 Output stream for XML data objects. More...


Functions

DataObject TextDataObject (std::string text)
 Create a text object with given text. More...

std::string to_string (T val)
 convert value to std::string using stream operator<<. More...

bool to_value (std::string s, T &val)
 convert std::string to value using stream operator>>. More...


Function Documentation

DataObject DataXML::TextDataObject ( std::string text )
 

std::string DataXML::to_string ( T val )
 

consequently, type T must have operator<< for ostream

Examples:
dxml_write_example.cpp.

Definition at line 166 of file DataObject.h.

Referenced by main().

bool DataXML::to_value ( std::string s,
T & val )
 

consequently, type T must have operator>> for istream

Examples:
dxml_read_example.cpp.

Definition at line 183 of file DataObject.h.

Referenced by main().


Generated at Tue Jan 28 15:35:29 2003 for DataXML by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001