#include <omvalueiterator.h>
Public Types | |
typedef std::input_iterator_tag | iterator_category |
typedef std::string | value_type |
typedef om_valueno_diff | difference_type |
typedef std::string * | pointer |
typedef std::string & | reference |
Public Methods | |
OmValueIterator () | |
Default constructor - for declaring an uninitialised iterator. More... | |
~OmValueIterator () | |
Destructor. More... | |
OmValueIterator (const OmValueIterator &other) | |
Copying is allowed (and is cheap). More... | |
void | operator= (const OmValueIterator &other) |
Assignment is allowed (and is cheap). More... | |
OmValueIterator & | operator++ () |
void | operator++ (int) |
const std::string & | operator * () const |
Get the value for the current position. More... | |
const std::string * | operator-> () const |
Get the value for the current position. More... | |
om_valueno | get_valueno () const |
Get the number of the value at the current position. More... | |
std::string | get_description () const |
Returns a string describing this object. More... | |
Public Attributes | |
Internal * | internal |
Friends | |
class | OmDocument |
bool | operator== (const OmValueIterator &a, const OmValueIterator &b) |
|
Default constructor - for declaring an uninitialised iterator.
|
|
Destructor.
|
|
Copying is allowed (and is cheap).
|
|
Returns a string describing this object. Introspection method. |
|
Get the number of the value at the current position.
|
|
Get the value for the current position.
|
|
Get the value for the current position.
|
|
Assignment is allowed (and is cheap).
|