MIRA
|
Iterator for iterating over data nodes. More...
#include <xml/XMLDom.h>
Public Types | |
typedef std::string | value_type |
STL-conform typedefs. More... | |
typedef std::string * | pointer |
The pointer type. More... | |
typedef std::string & | reference |
The reference type. More... | |
typedef ptrdiff_t | difference_type |
The difference type. More... | |
typedef std::bidirectional_iterator_tag | iterator_category |
The iterator category. More... | |
Public Member Functions | |
data_iterator () | |
Constructor. More... | |
data_iterator (_xmlNode *iNode) | |
Constructor. More... | |
const data_iterator & | operator= (const std::string &value) |
Set the data value of the node. More... | |
bool | operator== (const data_iterator &other) const |
Compare two iterators. More... | |
bool | operator!= (const data_iterator &other) const |
Compare two iterators. More... | |
data_iterator & | operator++ () |
Preincrement. More... | |
data_iterator & | operator-- () |
Predecrement. More... | |
std::string | operator* () const |
Dereference operator to std::string. More... | |
data_iterator | remove () |
Removes the data node the iterator points to. More... | |
Iterator for iterating over data nodes.
typedef std::string value_type |
STL-conform typedefs.
The value type.
typedef std::string* pointer |
The pointer type.
typedef std::string& reference |
The reference type.
typedef ptrdiff_t difference_type |
The difference type.
typedef std::bidirectional_iterator_tag iterator_category |
The iterator category.
data_iterator | ( | ) |
Constructor.
data_iterator | ( | _xmlNode * | iNode | ) |
Constructor.
[in] | iNode | The current node. |
const data_iterator& operator= | ( | const std::string & | value | ) |
Set the data value of the node.
[in] | value | The value. |
bool operator== | ( | const data_iterator< Type > & | other | ) | const |
Compare two iterators.
[in] | other | The other iterator |
bool operator!= | ( | const data_iterator< Type > & | other | ) | const |
Compare two iterators.
[in] | other | The other iterator |
data_iterator& operator++ | ( | ) |
Preincrement.
data_iterator& operator-- | ( | ) |
Predecrement.
std::string operator* | ( | ) | const |
Dereference operator to std::string.
data_iterator remove | ( | ) |
Removes the data node the iterator points to.