| 
    Simbody
    3.8
    
   | 
 
This is a bidirectional iterator suitable for moving forward or backward within a list of Element nodes, for writable access. More...
 Inheritance diagram for SimTK::Xml::element_iterator:Public Member Functions | |
| element_iterator (const String &tag="") | |
| This is the default constructor which leaves the element_iterator empty, and you can optionally set the type of Element which will be iterated over.  More... | |
| element_iterator (Element &elt, const String &tag="") | |
| Constructor an element_iterator pointing to a given Element, and optionally set the type of Element which will be iterated over.  More... | |
| element_iterator (const element_iterator &src) | |
| Copy constructor takes an element_iterator that can be const, but that still allows writing to the Element.  More... | |
| element_iterator & | operator= (const element_iterator &src) | 
| Copy assignment takes an element_iterator that can be const, but that still allows writing to the Element.  More... | |
| element_iterator & | operator++ () | 
| element_iterator | operator++ (int) | 
| element_iterator & | operator-- () | 
| element_iterator | operator-- (int) | 
| Element & | operator* () const | 
| Element * | operator-> () const | 
| bool | operator== (const element_iterator &other) const | 
| bool | operator!= (const element_iterator &other) const | 
  Public Member Functions inherited from SimTK::Xml::node_iterator | |
| 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 | 
Friends | |
| class | Element | 
Additional Inherited Members | |
  Public Types inherited from SimTK::Xml::node_iterator | |
| using | iterator_category = std::bidirectional_iterator_tag | 
| using | value_type = Node | 
| using | difference_type = std::ptrdiff_t | 
| using | pointer = Node * | 
| using | reference = Node & | 
  Protected Member Functions inherited from SimTK::Xml::node_iterator | |
| node_iterator (TiXmlNode *tiNode, NodeType allowed=AnyNodes) | |
| void | reassign (TiXmlNode *tiNode) | 
This is a bidirectional iterator suitable for moving forward or backward within a list of Element nodes, for writable access.
By default we will iterate over all elements in a list but you can restrict the element_iterator at construction to find only elements with a particular tag.
      
  | 
  inlineexplicit | 
This is the default constructor which leaves the element_iterator empty, and you can optionally set the type of Element which will be iterated over.
      
  | 
  inlineexplicit | 
Constructor an element_iterator pointing to a given Element, and optionally set the type of Element which will be iterated over.
      
  | 
  inline | 
Copy constructor takes an element_iterator that can be const, but that still allows writing to the Element.
      
  | 
  inline | 
Copy assignment takes an element_iterator that can be const, but that still allows writing to the Element.
| element_iterator& SimTK::Xml::element_iterator::operator++ | ( | ) | 
| element_iterator SimTK::Xml::element_iterator::operator++ | ( | int | ) | 
| element_iterator& SimTK::Xml::element_iterator::operator-- | ( | ) | 
| element_iterator SimTK::Xml::element_iterator::operator-- | ( | int | ) | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  friend |