Simbody
3.5
|
This is a bidirectional iterator suitable for moving forward or backward within a list of Nodes, for writable access. More...
Public Member Functions | |
node_iterator (NodeType allowed=AnyNodes) | |
node_iterator (Node &node, NodeType allowed=AnyNodes) | |
node_iterator (const node_iterator &src) | |
Copy constructor takes a node_iterator that can be const, but that still allows writing to the Node. More... | |
~node_iterator () | |
An iterator destructor never deletes the object to which it refers. More... | |
node_iterator & | operator= (const node_iterator &src) |
Copy assignment takes an node_iterator that can be const, but that still allows writing to the Node. More... | |
node_iterator & | operator++ () |
node_iterator | operator++ (int) |
node_iterator & | operator-- () |
node_iterator | operator-- (int) |
Node & | operator* () |
Node * | operator-> () |
Node & | operator* () const |
Node * | operator-> () const |
bool | operator== (const node_iterator &other) const |
bool | operator!= (const node_iterator &other) const |
Protected Member Functions | |
node_iterator (TiXmlNode *tiNode, NodeType allowed=AnyNodes) | |
void | reassign (TiXmlNode *tiNode) |
Friends | |
class | Xml |
class | Xml::Node |
class | Xml::Element |
class | Xml::element_iterator |
This is a bidirectional iterator suitable for moving forward or backward within a list of Nodes, for writable access.
By default we will iterate over all nodes but you can restrict the types at construction.
|
inlineexplicit |
|
inline |
Copy constructor takes a node_iterator that can be const, but that still allows writing to the Node.
|
inline |
An iterator destructor never deletes the object to which it refers.
|
inlineexplicitprotected |
|
inline |
Copy assignment takes an node_iterator that can be const, but that still allows writing to the Node.
node_iterator& SimTK::Xml::node_iterator::operator++ | ( | ) |
node_iterator SimTK::Xml::node_iterator::operator++ | ( | int | ) |
node_iterator& SimTK::Xml::node_iterator::operator-- | ( | ) |
node_iterator SimTK::Xml::node_iterator::operator-- | ( | int | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
friend |
|
friend |
|
friend |
|
friend |