ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
pugi::xml_named_node_iterator Class Reference

#include <pugixml.hpp>

Collaboration diagram for pugi::xml_named_node_iterator:
Collaboration graph
[legend]

Public Types

typedef ptrdiff_t difference_type
 
typedef xml_node value_type
 
typedef xml_nodepointer
 
typedef xml_nodereference
 
typedef std::bidirectional_iterator_tag iterator_category
 

Public Member Functions

 xml_named_node_iterator ()
 
 xml_named_node_iterator (const xml_node &node, const char_t *name)
 
bool operator== (const xml_named_node_iterator &rhs) const
 
bool operator!= (const xml_named_node_iterator &rhs) const
 
xml_nodeoperator* () const
 
xml_nodeoperator-> () const
 
const xml_named_node_iteratoroperator++ ()
 
xml_named_node_iterator operator++ (int)
 
const xml_named_node_iteratoroperator-- ()
 
xml_named_node_iterator operator-- (int)
 

Private Member Functions

 xml_named_node_iterator (xml_node_struct *ref, xml_node_struct *parent, const char_t *name)
 

Private Attributes

xml_node _wrap
 
xml_node _parent
 
const char_t_name
 

Friends

class xml_node
 

Detailed Description

Definition at line 804 of file pugixml.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 810 of file pugixml.hpp.

◆ iterator_category

typedef std::bidirectional_iterator_tag pugi::xml_named_node_iterator::iterator_category

Definition at line 816 of file pugixml.hpp.

◆ pointer

Definition at line 812 of file pugixml.hpp.

◆ reference

Definition at line 813 of file pugixml.hpp.

◆ value_type

Definition at line 811 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_named_node_iterator() [1/3]

PUGI__FN pugi::xml_named_node_iterator::xml_named_node_iterator ( )

Definition at line 5835 of file pugixml.cpp.

◆ xml_named_node_iterator() [2/3]

PUGI__FN pugi::xml_named_node_iterator::xml_named_node_iterator ( const xml_node node,
const char_t name 
)

Definition at line 5837 of file pugixml.cpp.

◆ xml_named_node_iterator() [3/3]

PUGI__FN pugi::xml_named_node_iterator::xml_named_node_iterator ( xml_node_struct ref,
xml_node_struct parent,
const char_t name 
)
private

Definition at line 5842 of file pugixml.cpp.

Member Function Documentation

◆ operator!=()

PUGI__FN bool pugi::xml_named_node_iterator::operator!= ( const xml_named_node_iterator rhs) const

Definition at line 5853 of file pugixml.cpp.

References _parent, pugi::xml_node::_root, and _wrap.

◆ operator*()

PUGI__FN xml_node & pugi::xml_named_node_iterator::operator* ( ) const

Definition at line 5858 of file pugixml.cpp.

References pugi::xml_node::_root, and _wrap.

◆ operator++() [1/2]

PUGI__FN const xml_named_node_iterator & pugi::xml_named_node_iterator::operator++ ( )

Definition at line 5870 of file pugixml.cpp.

References _name, pugi::xml_node::_root, _wrap, and pugi::xml_node::next_sibling().

Here is the call graph for this function:

◆ operator++() [2/2]

PUGI__FN xml_named_node_iterator pugi::xml_named_node_iterator::operator++ ( int  )

Definition at line 5877 of file pugixml.cpp.

◆ operator--() [1/2]

PUGI__FN const xml_named_node_iterator & pugi::xml_named_node_iterator::operator-- ( )

Definition at line 5884 of file pugixml.cpp.

References _name, _parent, pugi::xml_node::_root, _wrap, pugi::xml_node::last_child(), pugi::xml_node::name(), pugi::xml_node::previous_sibling(), and strequal().

Here is the call graph for this function:

◆ operator--() [2/2]

PUGI__FN xml_named_node_iterator pugi::xml_named_node_iterator::operator-- ( int  )

Definition at line 5899 of file pugixml.cpp.

◆ operator->()

PUGI__FN xml_node * pugi::xml_named_node_iterator::operator-> ( ) const

Definition at line 5864 of file pugixml.cpp.

References pugi::xml_node::_root, and _wrap.

◆ operator==()

PUGI__FN bool pugi::xml_named_node_iterator::operator== ( const xml_named_node_iterator rhs) const

Definition at line 5848 of file pugixml.cpp.

References _parent, pugi::xml_node::_root, and _wrap.

Friends And Related Function Documentation

◆ xml_node

friend class xml_node
friend

Definition at line 806 of file pugixml.hpp.

Member Data Documentation

◆ _name

const char_t* pugi::xml_named_node_iterator::_name
private

Definition at line 841 of file pugixml.hpp.

Referenced by operator++(), and operator--().

◆ _parent

xml_node pugi::xml_named_node_iterator::_parent
private

Definition at line 840 of file pugixml.hpp.

Referenced by operator!=(), operator--(), and operator==().

◆ _wrap

xml_node pugi::xml_named_node_iterator::_wrap
mutableprivate

Definition at line 839 of file pugixml.hpp.

Referenced by operator!=(), operator*(), operator++(), operator--(), operator->(), and operator==().


The documentation for this class was generated from the following files: