Iterator over value lists. More...
#include <values-list.hpp>
Classes | |
class | ValueList |
Value list class. More... | |
class | VLIO |
Shared object for allocation. More... | |
Public Member Functions | |
~ValueListIter (void) | |
Destructor. More... | |
Protected Member Functions | |
void | set (ValueList *l) |
Set value lists. More... | |
Protected Attributes | |
VLIO * | vlio |
Reference to shared object. More... | |
ValueList * | h |
Head of value list. More... | |
ValueList * | c |
Current list element. More... | |
Constructors and initialization | |
ValueListIter (void) | |
Default constructor. More... | |
ValueListIter (const ValueListIter &i) | |
Copy constructor. More... | |
ValueListIter (Region &r) | |
Initialize. More... | |
void | init (Region &r) |
Initialize. More... | |
ValueListIter & | operator= (const ValueListIter &i) |
Assignment operator (both iterators must be allocated from the same region) More... | |
Iteration control | |
bool | operator() (void) const |
Test whether iterator is still at a value or done. More... | |
void | operator++ (void) |
Move iterator to next value (if possible) More... | |
void | reset (void) |
Reset iterator to start. More... | |
Value access | |
int | val (void) const |
Return value. More... | |
Iterator over value lists.
Definition at line 45 of file values-list.hpp.
|
inline |
Default constructor.
Definition at line 113 of file values-list.hpp.
|
inline |
Copy constructor.
Definition at line 128 of file values-list.hpp.
|
inline |
Initialize.
Definition at line 117 of file values-list.hpp.
|
inline |
Destructor.
Definition at line 149 of file values-list.hpp.
|
inlineprotected |
Set value lists.
Definition at line 159 of file values-list.hpp.
|
inline |
Initialize.
Definition at line 122 of file values-list.hpp.
|
inline |
Assignment operator (both iterators must be allocated from the same region)
Definition at line 134 of file values-list.hpp.
|
inline |
Test whether iterator is still at a value or done.
Definition at line 164 of file values-list.hpp.
|
inline |
Move iterator to next value (if possible)
Definition at line 169 of file values-list.hpp.
|
inline |
Reset iterator to start.
Definition at line 174 of file values-list.hpp.
|
inline |
Return value.
Definition at line 179 of file values-list.hpp.
|
protected |
Reference to shared object.
Definition at line 64 of file values-list.hpp.
|
protected |
Head of value list.
Definition at line 66 of file values-list.hpp.
|
protected |
Current list element.
Definition at line 68 of file values-list.hpp.