|
MIRA
|
Const iterator for iterating over data nodes. More...
#include <xml/XMLDom.h>
Public Types | |
| typedef std::string | value_type |
| STL-conform typedefs. More... | |
| typedef const std::string * | pointer |
| The pointer type. More... | |
| typedef const 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 | |
| const_data_iterator () | |
| Constructor. More... | |
| const_data_iterator (_xmlNode *iNode) | |
| Constructor. More... | |
| uint32 | line () const |
| Gets the underlying line number of the loaded document for this node. More... | |
| size_t | position () const |
| bool | operator== (const const_data_iterator &other) const |
| Compare two iterators. More... | |
| bool | operator!= (const const_data_iterator &other) const |
| Compare two iterators. More... | |
| const_data_iterator & | operator++ () |
| Preincrement. More... | |
| const_data_iterator & | operator-- () |
| Predecrement. More... | |
| std::string | operator* () const |
| Dereference operator to std::string. More... | |
Friends | |
| class | sibling_iterator |
Const iterator for iterating over data nodes.
| typedef std::string value_type |
STL-conform typedefs.
The value type.
| typedef const std::string* pointer |
The pointer type.
| typedef const std::string& reference |
The reference type.
| typedef ptrdiff_t difference_type |
The difference type.
| typedef std::bidirectional_iterator_tag iterator_category |
The iterator category.
Constructor.
| const_data_iterator | ( | _xmlNode * | iNode | ) |
Constructor.
| [in] | iNode | The current node |
| uint32 line | ( | ) | const |
Gets the underlying line number of the loaded document for this node.
| size_t position | ( | ) | const |
| bool operator== | ( | const const_data_iterator< Type > & | other | ) | const |
Compare two iterators.
| [in] | other | The other iterator |
| bool operator!= | ( | const const_data_iterator< Type > & | other | ) | const |
Compare two iterators.
| [in] | other | The other iterator |
| const_data_iterator& operator++ | ( | ) |
Preincrement.
| const_data_iterator& operator-- | ( | ) |
Predecrement.
| std::string operator* | ( | ) | const |
Dereference operator to std::string.
|
friend |
1.8.14