| 
    Itasca C++ Interface
    
   | 
 
Const iterator for an IContainer. More...
#include <icontainer.h>
  
Public Member Functions | |
| ICIterator (const IContainer *c) | |
| ~ICIterator () | |
| Destructor for the const iterator.  | |
| void | setContainer (const IContainer *c) | 
| Associate this with a different container.  | |
| const IContainer * | getContainer () const | 
| Get the IContainer pointer that this iterator is associated with.  | |
| bool | atEnd () const | 
| Returns true if at the end of the IContainer.  | |
| const ICIterator< T > & | operator++ () | 
| Increment the const iterator to the next entry in the IContainer.  | |
| const T * | get () const | 
| Return a const pointer to T.   | |
| const T * | operator-> () const | 
| Return a const pointer to T.  | |
| const T & | operator* () const | 
| Return a const reference to T.  | |
| operator const T * () const | |
| Return a const pointer to T.  | |
| void | copy (const ICIterator< T > &c) | 
| Copy another iterator.  | |
Const iterator for an IContainer.
A const iterator for generically iterating through an IContainer. This should not be used in time sensitive operations.
      
  | 
  inline | 
Constructor for the const iterator.
| c | Pointer to the IContainer. | 
      
  | 
  inline | 
Return a const pointer to T.
Increment the iterator by the specified amount. The implementation runs through a linked list rather than doing math. subtract position of earlier iterator from position of this iterator to return the difference as a number; there's no error check to see if earlier iterator is really earlier than later iterator, and it's implemented by running through a linked list