17 template <
typename Ch =
char>
21 typedef std::vector<const rapidxml::xml_node<Ch>*>
TListNodes;
31 for (
const auto& node : m_nodes)
34 if (ret !=
nullptr)
return ret;
44 template <
typename Ch_>
51 throw std::runtime_error(
"++ called on end() iterator!?");
68 throw std::runtime_error(
"-> called on end() iterator!?");
75 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
GLuint const GLchar * name
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