#include <XmlIO.h>
|
| | XmlReader (const std::string &fileName, const bool isBuffer=false, std::string toplev=std::string("grid")) |
| virtual | ~XmlReader (void)=default |
| bool | push (const std::string &s="") |
| void | pop (void) |
| bool | nextElement (const std::string &s="") |
| template<typename U> |
| void | readDefault (const std::string &s, U &output) |
| template<typename U> |
| void | readDefault (const std::string &s, std::vector< U > &output) |
| template<typename U> |
| void | readMultiDim (const std::string &s, std::vector< U > &buf, std::vector< size_t > &dim) |
| void | readCurrentSubtree (std::string &s) |
| template<> |
| void | readDefault (const std::string &s, std::string &output) |
| template<> |
| void | readDefault (const std::string &s, std::string &output) |
| std::enable_if< std::is_base_of< Serializable, U >::value, void >::type | read (const std::string &s, U &output) |
| std::enable_if< EigenIO::is_tensor_fixed< ETensor >::value, void >::type | Reshape (ETensor &t, const std::array< typename ETensor::Index, ETensor::NumDimensions > &dims) |
| std::enable_if< EigenIO::is_scalar< S >::value, void >::type | copyScalars (S &Dest, const S *&pSource) |
|
| void | checkParse (const pugi::xml_parse_result &result, const std::string name) |
Definition at line 71 of file XmlIO.h.
◆ XmlReader()
| XmlReader::XmlReader |
( |
const std::string & | fileName, |
|
|
const bool | isBuffer = false, |
|
|
std::string | toplev = std::string("grid") ) |
◆ ~XmlReader()
| virtual Grid::XmlReader::~XmlReader |
( |
void | | ) |
|
|
virtualdefault |
◆ push()
| bool XmlReader::push |
( |
const std::string & | s = "" | ) |
|
◆ pop()
| void XmlReader::pop |
( |
void | | ) |
|
◆ nextElement()
| bool XmlReader::nextElement |
( |
const std::string & | s = "" | ) |
|
◆ readDefault() [1/4]
| void Grid::XmlReader::readDefault |
( |
const std::string & | s, |
|
|
U & | output ) |
◆ readDefault() [2/4]
| void Grid::XmlReader::readDefault |
( |
const std::string & | s, |
|
|
std::vector< U > & | output ) |
◆ readMultiDim()
| void Grid::XmlReader::readMultiDim |
( |
const std::string & | s, |
|
|
std::vector< U > & | buf, |
|
|
std::vector< size_t > & | dim ) |
◆ readCurrentSubtree()
| void XmlReader::readCurrentSubtree |
( |
std::string & | s | ) |
|
◆ checkParse()
| void Grid::XmlReader::checkParse |
( |
const pugi::xml_parse_result & | result, |
|
|
const std::string | name ) |
|
private |
◆ readDefault() [3/4]
template<>
| void Grid::XmlReader::readDefault |
( |
const std::string & | s, |
|
|
std::string & | output ) |
◆ readDefault() [4/4]
template<>
| void Grid::XmlReader::readDefault |
( |
const std::string & | s, |
|
|
std::string & | output ) |
◆ read()
◆ Reshape()
◆ copyScalars()
◆ fromString()
◆ indent_
| const std::string Grid::XmlReader::indent_ |
|
private |
◆ doc_
| pugi::xml_document Grid::XmlReader::doc_ |
|
private |
◆ node_
| pugi::xml_node Grid::XmlReader::node_ |
|
private |
◆ fileName_
| std::string Grid::XmlReader::fileName_ |
|
private |
◆ upcast
The documentation for this class was generated from the following files: