Attribute iterator (a bidirectional iterator over a collection of Attribute). More...
#include <attributeiterator.h>
Public Types | |
typedef ptrdiff_t | difference_type |
An Iterator trait. | |
typedef std::bidirectional_iterator_tag | iterator_category |
An Iterator trait. | |
typedef Attribute * | pointer |
An Iterator trait. | |
typedef Attribute & | reference |
An Iterator trait. | |
typedef Attribute | value_type |
An Iterator trait. | |
Public Member Functions | |
AttributeIterator () | |
Default Constructor, makes a blank iterator. | |
AttributeIterator (const Attribute &attr, const Node &GetParent) | |
Construct an iterator which points to the specified node. More... | |
bool | operator!= (const AttributeIterator &rhs) const |
Compares this AttributeIterator to another AttributeIterator for inequality. More... | |
Attribute & | operator* () const |
Deferences this Iterator. More... | |
const AttributeIterator & | operator++ () |
Increment the iterator to the next member of the container. More... | |
AttributeIterator | operator++ (int) |
Increment the iterator to the next member of the container. More... | |
const AttributeIterator & | operator-- () |
Decrement the iterator to the next member of the container. More... | |
AttributeIterator | operator-- (int) |
Decrement the iterator to the next member of the container. More... | |
Attribute * | operator-> () const |
Get the pointer the Attribute this points to. More... | |
bool | operator== (const AttributeIterator &rhs) const |
Compares this AttributeIterator to another AttributeIterator for equality. More... | |
Friends | |
class | Node |
Attribute iterator (a bidirectional iterator over a collection of Attribute).
Definition at line 75 of file attributeiterator.h.
bool Mezzanine::XML::AttributeIterator::operator!= | ( | const AttributeIterator & | rhs) | const |
Compares this AttributeIterator to another AttributeIterator for inequality.
rhs | The Right Hand Side AttributeIterator. |
Attribute& Mezzanine::XML::AttributeIterator::operator* | ( | ) | const |
Deferences this Iterator.
const AttributeIterator& Mezzanine::XML::AttributeIterator::operator++ | ( | ) |
Increment the iterator to the next member of the container.
AttributeIterator Mezzanine::XML::AttributeIterator::operator++ | ( | int | ) |
Increment the iterator to the next member of the container.
const AttributeIterator& Mezzanine::XML::AttributeIterator::operator-- | ( | ) |
Decrement the iterator to the next member of the container.
AttributeIterator Mezzanine::XML::AttributeIterator::operator-- | ( | int | ) |
Decrement the iterator to the next member of the container.
Attribute* Mezzanine::XML::AttributeIterator::operator-> | ( | ) | const |
Get the pointer the Attribute this points to.
bool Mezzanine::XML::AttributeIterator::operator== | ( | const AttributeIterator & | rhs) | const |
Compares this AttributeIterator to another AttributeIterator for equality.
rhs | The Right Hand Side AttributeIterator |