XML input file.
More...
#include <string>
#include <iostream>
#include <list>
#include <vector>
#include <set>
#include <stack>
#include "rapidxml/rapidxml.hpp"
#include <mpi.h>
Go to the source code of this file.
|
std::ostream & | operator<< (std::ostream &ostrm, const XMLfile::Node &xmlnode) |
| write a node to a stream write XML node data to an output stream More...
|
|
std::ostream & | operator<< (std::ostream &ostrm, const XMLfile::Query &xmlquery) |
| write a query to a stream write XML query data to an output stream More...
|
|
std::ostream & | operator<< (std::ostream &ostrm, const XMLfile &xmlfile) |
| write a xmlfile to a stream write XML xmlfile data to an output stream More...
|
|
XML input file.
- Author
- Martin Bernreuther bernr.nosp@m.euth.nosp@m.er@hl.nosp@m.rs.d.nosp@m.e
encapsulates XML main input file handles include functionality query syntax similar to (subset of) XPATH
based on rapidxml (http://rapidxml.sourceforge.net/) similar functionality can be found in the Boost Property tree class (http://www.boost.org/doc/libs/1_41_0/doc/html/property_tree.html) use XPATH, if XML library supports it. (like e.g. tinyxpath(http://tinyxpath.sourceforge.net/), which is a successor of tinyxml(http://www.grinninglizard.com/tinyxml/) and might one day also included into TinyXML++ (http://code.google.com/p/ticpp/) or a "heavier" library like the Xerces-C++ (http://xerces.apache.org/xerces-c/) based Xalan-C++(http://xml.apache.org/xalan-c/) or XQilla(http://xqilla.sourceforge.net/) or libxml2 (http://xmlsoft.org/) )
◆ operator<<() [1/3]
std::ostream& operator<< |
( |
std::ostream & |
ostrm, |
|
|
const XMLfile & |
xmlfile |
|
) |
| |
|
inline |
write a xmlfile to a stream write XML xmlfile data to an output stream
- Parameters
-
std::ostream& | output stream |
XMLfile& | xmlfile |
- Returns
- std::ostream& output stream
◆ operator<<() [2/3]
std::ostream& operator<< |
( |
std::ostream & |
ostrm, |
|
|
const XMLfile::Node & |
xmlnode |
|
) |
| |
|
inline |
write a node to a stream write XML node data to an output stream
- Parameters
-
std::ostream& | output stream |
XMLfile::Node& | node |
- Returns
- std::ostream& output stream
◆ operator<<() [3/3]
std::ostream& operator<< |
( |
std::ostream & |
ostrm, |
|
|
const XMLfile::Query & |
xmlquery |
|
) |
| |
|
inline |
write a query to a stream write XML query data to an output stream
- Parameters
-
std::ostream& | output stream |
XMLfile::Query& | query |
- Returns
- std::ostream& output stream