libmoost
|
#include <simple_parser.hpp>
Public Types | |
typedef std::vector < boost::shared_ptr< tree_node > > | tree_branch_t |
Public Member Functions | |
void | leaves2map (std::map< std::string, std::string > &destMap) const |
Public Attributes | |
std::string | header |
std::string | value |
tree_branch_t | leaves |
The structure that containse the information of an xml node. i.e. for <foo>10</foo>, "foo" is the header and "10" is the value. If it contains subtags, they are parsed in the leaves.
Definition at line 110 of file simple_parser.hpp.
typedef std::vector< boost::shared_ptr<tree_node> > moost::xml::simple_parser::tree_node::tree_branch_t |
Definition at line 112 of file simple_parser.hpp.
void moost::xml::simple_parser::tree_node::leaves2map | ( | std::map< std::string, std::string > & | destMap | ) | const [inline] |
Will fill the map with the header/values of the leaves (it will NOT follow the leaves!)
destMap | where to put the header->values data |
Definition at line 312 of file simple_parser.hpp.
std::string moost::xml::simple_parser::tree_node::header |
Definition at line 114 of file simple_parser.hpp.
Definition at line 116 of file simple_parser.hpp.
std::string moost::xml::simple_parser::tree_node::value |
Definition at line 115 of file simple_parser.hpp.