pugi::xml_attribute_iterator Class Reference

Inheritance diagram for pugi::xml_attribute_iterator:

Inheritance graph
[legend]
Collaboration diagram for pugi::xml_attribute_iterator:

Collaboration graph
[legend]
List of all members.

Detailed Description

Attribute iterator.

It's a bidirectional iterator with value type 'xml_attribute'.


Public Member Functions

 xml_attribute_iterator ()
 Default ctor.
 xml_attribute_iterator (const xml_attribute &node)
 Initializing ctor.
 xml_attribute_iterator (xml_attribute_struct *ref, xml_attribute_struct *prev)
 Initializing ctor (for past-the-end).
bool operator== (const xml_attribute_iterator &rhs) const
 Check if this iterator is equal to rhs.
bool operator!= (const xml_attribute_iterator &rhs) const
 Check if this iterator is not equal to rhs.
xml_attributeoperator * ()
 Dereferencing operator.
xml_attributeoperator-> ()
 Member access operator.
const xml_attribute_iteratoroperator++ ()
 Pre-increment operator.
xml_attribute_iterator operator++ (int)
 Post-increment operator.
const xml_attribute_iteratoroperator-- ()
 Pre-decrement operator.
xml_attribute_iterator operator-- (int)
 Post-decrement operator.

Friends

class xml_node


Constructor & Destructor Documentation

pugi::xml_attribute_iterator::xml_attribute_iterator const xml_attribute node  ) 
 

Initializing ctor.

Parameters:
node - node that iterator will point at

pugi::xml_attribute_iterator::xml_attribute_iterator xml_attribute_struct *  ref,
xml_attribute_struct *  prev
 

Initializing ctor (for past-the-end).

Parameters:
ref - should be 0
prev - previous node


Member Function Documentation

bool pugi::xml_attribute_iterator::operator== const xml_attribute_iterator rhs  )  const
 

Check if this iterator is equal to rhs.

Parameters:
rhs - other iterator
Returns:
comparison result

bool pugi::xml_attribute_iterator::operator!= const xml_attribute_iterator rhs  )  const
 

Check if this iterator is not equal to rhs.

Parameters:
rhs - other iterator
Returns:
comparison result

xml_attribute& pugi::xml_attribute_iterator::operator *  ) 
 

Dereferencing operator.

Returns:
reference to the node iterator points at

xml_attribute* pugi::xml_attribute_iterator::operator->  ) 
 

Member access operator.

Returns:
poitner to the node iterator points at

const xml_attribute_iterator& pugi::xml_attribute_iterator::operator++  ) 
 

Pre-increment operator.

Returns:
self

xml_attribute_iterator pugi::xml_attribute_iterator::operator++ int   ) 
 

Post-increment operator.

Returns:
old value

const xml_attribute_iterator& pugi::xml_attribute_iterator::operator--  ) 
 

Pre-decrement operator.

Returns:
self

xml_attribute_iterator pugi::xml_attribute_iterator::operator-- int   ) 
 

Post-decrement operator.

Returns:
old value


Generated on Wed Feb 21 22:19:51 2007 for pugixml by  doxygen 1.4.6-NO