Yate
|
NamedList parameters iterator. More...
#include <yateclass.h>
Public Member Functions | |
NamedIterator (const NamedList &list) | |
NamedIterator (const NamedIterator &original) | |
NamedIterator & | operator= (const NamedList &list) |
NamedIterator & | operator= (const NamedIterator &original) |
const NamedString * | get () |
bool | eof () const |
void | reset () |
NamedList parameters iterator.
An iterator for NamedString parameters of a NamedList. Fast but unsafe, the list must not be modified during iteration.
|
inline |
Constructor
list | NamedList whose parameters are iterated |
|
inline |
Copy constructor, points to same list and position as the original
original | Iterator to copy from |
|
inline |
Check if the iteration reached end of the parameters list
const NamedString* get | ( | ) |
Get the current parameter and advance in the list
|
inline |
Assignment from list operator
list | NamedList whose parameters are iterated |
References ObjList::skipNull().
|
inline |
Assignment operator, points to same list and position as the original
original | Iterator to copy from |
|
inline |
Reset the iterator to the first position in the parameters list
References ObjList::skipNull().