Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

IterHelper Class Reference

Used by the Iter Template class. More...

#include <suifkernel/iter.h>

Inheritance diagram for IterHelper:

Iter List of all members.

Public Methods

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

const MetaClasscurrent_meta_class () const
const LStringcurrent_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.


Constructor & Destructor Documentation

IterHelper::IterHelper ( Iterator * iter)

IterHelper::~IterHelper ()

IterHelper::IterHelper ( const IterHelper & x)


Member Function Documentation

void * IterHelper::current ( void) const

Reimplemented in Iter.

const MetaClass * IterHelper::current_meta_class () const

const LString & IterHelper::current_name () const

ObjectWrapper IterHelper::current_object () const

returns the current address/metaclass pair.

bool IterHelper::is_valid ( void) const

Returns true if more elements are left in the iterator.

size_t IterHelper::length () const

Returns the number of elements in the whole collection.

void IterHelper::next ( void)

Returns the next element in the iterator.

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

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.


The documentation for this class was generated from the following files:
Generated at Mon Jul 31 13:43:22 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000