class NamedIterator

NamedList parameters iterator. More...

Full nameTelEngine::NamedIterator
Definition#include <yateclass.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

An iterator for NamedString parameters of a NamedList. Fast but unsafe, the list must not be modified during iteration.

inline  NamedIterator (const NamedList& list)

NamedIterator

Constructor

Parameters:
listNamedList whose parameters are iterated

inline  NamedIterator (const NamedIterator& original)

NamedIterator

Copy constructor, points to same list and position as the original

Parameters:
originalIterator to copy from

inline NamedIterator&  operator= (const NamedList& list)

operator=

Assignment from list operator

Parameters:
listNamedList whose parameters are iterated

inline NamedIterator&  operator= (const NamedIterator& original)

operator=

Assignment operator, points to same list and position as the original

Parameters:
originalIterator to copy from

const NamedString*  get ()

get

Get the current parameter and advance in the list

Returns: Pointer to list parameter or NULL if advanced past end (eof)

inline bool  eof ()

eof

[const]

Check if the iteration reached end of the parameters list

inline void  reset ()

reset

Reset the iterator to the first position in the parameters list


Generated by: paulc on bussard on Fri Dec 21 16:28:34 2012, using kdoc 2.0a54.