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
 
typedef UniHashTreeBase::Iter MyBase
 

Public Member Functions

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

Protected Member Functions

void * get () const
 
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 debian/libwvstreams-dev/usr/include/wvstreams/uniconftree.h.

Member Typedef Documentation

◆ MyBase [1/2]

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

◆ MyBase [2/2]

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

Definition at line 137 of file include/uniconftree.h.

Constructor & Destructor Documentation

◆ Iter() [1/2]

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

Creates an iterator over the specified tree.

Definition at line 140 of file debian/libwvstreams-dev/usr/include/wvstreams/uniconftree.h.

◆ Iter() [2/2]

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

Creates an iterator over the specified tree.

Definition at line 140 of file include/uniconftree.h.

Member Function Documentation

◆ ptr() [1/2]

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

Returns a pointer to the current node.

Definition at line 144 of file debian/libwvstreams-dev/usr/include/wvstreams/uniconftree.h.

◆ ptr() [2/2]

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

Returns a pointer to the current node.

Definition at line 144 of file include/uniconftree.h.

◆ getstatus() [1/2]

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

◆ getstatus() [2/2]

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 include/wvscatterhash.h.

◆ rewind() [1/2]

void WvScatterHashBase::IterBase::rewind ( )
inlineinherited

◆ rewind() [2/2]

void WvScatterHashBase::IterBase::rewind ( )
inlineinherited

Definition at line 44 of file include/wvscatterhash.h.

◆ cur() [1/2]

bool WvScatterHashBase::IterBase::cur ( )
inlineinherited

◆ cur() [2/2]

bool WvScatterHashBase::IterBase::cur ( )
inlineinherited

Definition at line 45 of file include/wvscatterhash.h.

◆ vptr() [1/2]

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

◆ vptr() [2/2]

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

Definition at line 47 of file include/wvscatterhash.h.

◆ next() [1/2]

bool WvScatterHashBase::IterBase::next ( )
inlineinherited

◆ next() [2/2]

bool WvScatterHashBase::IterBase::next ( )
inlineinherited

Definition at line 50 of file include/wvscatterhash.h.

◆ get_autofree() [1/2]

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

◆ get_autofree() [2/2]

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

Definition at line 62 of file include/wvscatterhash.h.

◆ set_autofree() [1/2]

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

◆ set_autofree() [2/2]

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

Definition at line 67 of file include/wvscatterhash.h.

◆ get() [1/2]

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

◆ get() [2/2]

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

Definition at line 73 of file include/wvscatterhash.h.

Member Data Documentation

◆ table

WvScatterHashBase * WvScatterHashBase::IterBase::table
protectedinherited

◆ index

unsigned WvScatterHashBase::IterBase::index
protectedinherited

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