Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

STILBlockIterator Class Reference

STILBlockIterator Class Interface. More...

#include <stilblockiterator.h>

List of all members.

Public Member Functions

 STILBlockIterator ()
 STILBlockIterator (const STILBlockIterator &)
 STILBlockIterator (STILBlock &)
virtual ~STILBlockIterator ()
STILBlockIteratoroperator= (const STILBlockIterator &)
void operator++ (int)
void next ()
STILEntityoperator * () const
STILEntityasEntity () const
void init ()
bool isValid () const


Detailed Description

STILBlockIterator Class Interface.

The STILBlockIterator Class is the interface for iterating over STILBlock objects


Constructor & Destructor Documentation

STILBlockIterator::STILBlockIterator  ) 
 

Default Constructor for a STILBlockIterator object.

Parameters:
 
Returns:

STILBlockIterator::STILBlockIterator const STILBlockIterator iter_arg  ) 
 

Constructor a STILBlockIterator object from another STILBlockIterator.

Parameters:
iter_arg STILBlockIterator object to construct from
Returns:

STILBlockIterator::STILBlockIterator STILBlock obj  ) 
 

Construct given a STILBlock object to iterate over.

Parameters:
obj Object to iterate over
Returns:

STILBlockIterator::~STILBlockIterator  )  [virtual]
 

Destructor for a STILBlockIterator object.

Parameters:
 
Returns:


Member Function Documentation

STILEntity & STILBlockIterator::asEntity  )  const
 

Same functionality as operator* (Get a reference to the object the iterator is pointing to).

Parameters:
 
Returns:
(STILEntity&) The object referenced by the iterator

void STILBlockIterator::init  ) 
 

Initialize the STILBlockIterator object.

Parameters:
 
Returns:
(void)

bool STILBlockIterator::isValid  )  const [inline]
 

Check whether the iterator is still pointing to a valid stilentity.

Parameters:
 
Returns:
(bool)

void STILBlockIterator::next  ) 
 

Same as operator++ (Advance iterator to the next entry in the block).

Parameters:
 
Returns:

STILEntity & STILBlockIterator::operator *  )  const
 

Get a reference to the object the iterator is pointing to.

Parameters:
 
Returns:
(STILEntity&) The object referenced by the iterator

void STILBlockIterator::operator++ int   ) 
 

Advance iterator to the next entry in the block.

Parameters:
 
Returns:

STILBlockIterator & STILBlockIterator::operator= const STILBlockIterator iter  ) 
 

Assignment operator.

Parameters:
iter Source object
Returns:
(STILBlockIterator&) The copied iterator


The documentation for this class was generated from the following files:
This page last updated on 6 Jul 2007

SourceForge.net Logo