Go to the documentation of this file.
18 template <
typename Ch>
22 using TListNodes = std::vector<const rapidxml::xml_node<Ch>*>;
33 for (
const auto& node :
nodes_)
36 if (ret !=
nullptr)
return ret;
48 template <
typename Ch_>
54 if (!
current)
throw std::runtime_error(
"++ called on end() iterator!?");
70 if (!
current)
throw std::runtime_error(
"-> called on end() iterator!?");
76 if (!
current)
throw std::runtime_error(
"* called on end() iterator!?");
rapidxml::xml_node< Ch > * current
bool operator==(const iterator &it) const
xml_node< Ch > * first_node(const Ch *name=0, std::size_t name_size=0, bool case_sensitive=true) const
const rapidxml::xml_node< Ch > * first_node(const char *name) const
iterator(JointXMLnode< Ch > &pa, size_t idx)
bool operator!=(const iterator &it) const
const TListNodes & getListOfNodes() const
rapidxml::xml_node< Ch > * operator*() const
rapidxml::xml_node< Ch > * operator->() const
TListNodes & getListOfNodes()
JointXMLnode< Ch > & parent
std::vector< const rapidxml::xml_node< Ch > * > TListNodes
iterator(JointXMLnode< Ch > &pa)
void add(const rapidxml::xml_node< Ch > *node)
mvsim
Author(s):
autogenerated on Wed May 28 2025 02:13:08