WvStreams
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UniConfTree< Sub >::Iter Class Reference

An iterator that walks over all elements on one level of a UniConfTree. More...

#include <uniconftree.h>

Inheritance diagram for UniConfTree< Sub >::Iter:
Inheritance graph
[legend]

Public Types

typedef UniHashTreeBase::Iter MyBase
 

Public Member Functions

 Iter (Sub &tree)
 Creates an iterator over the specified tree. More...
 
Sub * ptr () const
 Returns a pointer to the current node. More...
 
 WvIterStuff (Sub)
 
unsigned char * getstatus ()
 
 WvIterStuff (T)
 
void rewind ()
 
bool cur ()
 
void * vptr ()
 
bool next ()
 
bool get_autofree () const
 
void set_autofree (bool autofree)
 

Protected Member Functions

void * get () const
 

Protected Attributes

WvScatterHashBasetable
 
unsigned index
 

Detailed Description

template<class Sub>
class UniConfTree< Sub >::Iter

An iterator that walks over all elements on one level of a UniConfTree.

Definition at line 134 of file uniconftree.h.

Member Typedef Documentation

◆ MyBase

template<class Sub >
typedef UniHashTreeBase::Iter UniConfTree< Sub >::Iter::MyBase

Definition at line 137 of file uniconftree.h.

Constructor & Destructor Documentation

◆ Iter()

template<class Sub >
UniConfTree< Sub >::Iter::Iter ( Sub &  tree)
inline

Creates an iterator over the specified tree.

Definition at line 140 of file uniconftree.h.

Member Function Documentation

◆ ptr()

template<class Sub >
Sub * UniConfTree< Sub >::Iter::ptr ( ) const
inline

Returns a pointer to the current node.

Definition at line 144 of file uniconftree.h.

◆ getstatus()

template<class T , class K , class Accessor , template< class > class Comparator = OpEqComp>
unsigned char * WvScatterHash< T, K, Accessor, Comparator >::Iter::getstatus ( )
inlineinherited

Definition at line 186 of file wvscatterhash.h.

◆ rewind()

void WvScatterHashBase::IterBase::rewind ( )
inlineinherited

Definition at line 44 of file wvscatterhash.h.

◆ cur()

bool WvScatterHashBase::IterBase::cur ( )
inlineinherited

Definition at line 45 of file wvscatterhash.h.

◆ vptr()

void * WvScatterHashBase::IterBase::vptr ( )
inlineinherited

Definition at line 47 of file wvscatterhash.h.

◆ next()

bool WvScatterHashBase::IterBase::next ( )
inlineinherited

Definition at line 50 of file wvscatterhash.h.

◆ get_autofree()

bool WvScatterHashBase::IterBase::get_autofree ( ) const
inlineinherited

Definition at line 62 of file wvscatterhash.h.

◆ set_autofree()

void WvScatterHashBase::IterBase::set_autofree ( bool  autofree)
inlineinherited

Definition at line 67 of file wvscatterhash.h.

◆ get()

void * WvScatterHashBase::IterBase::get ( ) const
inlineprotectedinherited

Definition at line 73 of file wvscatterhash.h.

Member Data Documentation

◆ table

WvScatterHashBase* WvScatterHashBase::IterBase::table
protectedinherited

Definition at line 75 of file wvscatterhash.h.

◆ index

unsigned WvScatterHashBase::IterBase::index
protectedinherited

Definition at line 76 of file wvscatterhash.h.


The documentation for this class was generated from the following file: