COPASI API
4.40.278
|
#include <CCopasiTree.h>
Public Member Functions | |
iterator (_Node *begin=NULL) | |
iterator (const iterator &src) | |
bool | operator!= (const iterator &rhs) |
_Node & | operator* () const |
iterator & | operator++ () |
_Node * | operator-> () const |
iterator & | operator= (_Node *pNode) |
~iterator () | |
Private Attributes | |
_Node * | mCurrent |
A forward iterator used to traverse the tree.
|
inline |
Default constructor. Note: When no argument is given the iterator points to the end of the tree.
Node | * begin (default NULL) |
|
inline |
Copy constructor
const | iterator & src |
|
inline |
Destructor
|
inline |
Comparison operator !=
const | iterator &rhs |
References CCopasiTree< _Node >::iterator::mCurrent.
|
inline |
Dereference operator * returns the node the iterator points to.
References CCopasiTree< _Node >::iterator::mCurrent.
|
inline |
|
inline |
Dereference operator * returns the node the iterator points to.
References CCopasiTree< _Node >::iterator::mCurrent.
|
inline |
Assignment operator from a node to an iterator
Node | * pNode |
References CCopasiTree< _Node >::iterator::mCurrent.
|
private |
A pointer to the current node.
Referenced by CCopasiTree< _Node >::iterator::operator!=(), CCopasiTree< _Node >::iterator::operator*(), CCopasiTree< _Node >::iterator::operator++(), CCopasiTree< _Node >::iterator::operator->(), and CCopasiTree< _Node >::iterator::operator=().