Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

IterHelper Class Reference

Used by the Iter Template class. More...

#include <suifkernel/iter.h>

Class diagram for IterHelper:

Iter

List of all members.


Public Members

ObjectWrapper current_object () const
returns the current address/metaclass pair.

const MetaClass* current_meta_class () const
const LString& current_name () const
bool is_valid () const
Returns true if more elements are left in the iterator.

void next ()
Returns the next element in the iterator.

void previous ()
Returns the previous element in the iterator.

void set_to ( size_t index )
Sets the current position to a particular value.

size_t length () const
Returns the number of elements in the whole collection.

void* current () const
IterHelper ( Iterator* iter )
~IterHelper ()
IterHelper (const IterHelper &x)
IterHelper& operator= (const IterHelper &x)

Detailed Description

Used by the Iter Template class.


Member Function Documentation

ObjectWrapper IterHelper::current_object () const

returns the current address/metaclass pair.

const MetaClass * IterHelper::current_meta_class () const

const LString & IterHelper::current_name () const

bool IterHelper::is_valid () const

Returns true if more elements are left in the iterator.

void IterHelper::next ()

Returns the next element in the iterator.

void IterHelper::previous ()

Returns the previous element in the iterator.

void IterHelper::set_to (size_t index)

Sets the current position to a particular value.

size_t IterHelper::length () const

Returns the number of elements in the whole collection.

void * IterHelper::current () const

Reimplemented in Iter.

IterHelper::IterHelper (Iterator * iter)

IterHelper::~IterHelper ()

IterHelper::IterHelper (const IterHelper & x)

IterHelper & IterHelper::operator= (const IterHelper & x)


The documentation for this class was generated from the following files:
Generated at Wed Apr 25 17:34:58 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999