17 template <
typename Ch =
char>
21 typedef std::vector<const rapidxml::xml_node<Ch>*>
TListNodes;
31 for (
typename TListNodes::const_iterator it = m_nodes.begin();
32 it != m_nodes.end(); ++it)
35 if (ret != NULL)
return ret;
45 template <
typename Ch_>
52 throw std::runtime_error(
"++ called on end() iterator!?");
69 throw std::runtime_error(
"-> called on end() iterator!?");
76 throw std::runtime_error(
"* called on end() iterator!?");
This file contains rapidxml parser and DOM implementation.
iterator(JointXMLnode< Ch > &pa)
rapidxml::xml_node< Ch > * operator*() const
std::vector< const rapidxml::xml_node< Ch > * > TListNodes
xml_node< Ch > * first_node(const Ch *name=0, std::size_t name_size=0, bool case_sensitive=true) const
rapidxml::xml_node< Ch > * operator->() const
const rapidxml::xml_node< Ch > * first_node(const char *name)
TListNodes & getListOfNodes()
rapidxml::xml_node< Ch > * current
iterator(JointXMLnode< Ch > &pa, size_t idx)
bool operator!=(const iterator &it) const
JointXMLnode< Ch > & parent
void add(const rapidxml::xml_node< Ch > *node)
bool operator==(const iterator &it) const