CompuCell3D::CellInventory Class Reference

#include <CellInventory.h>

Collaboration diagram for CompuCell3D::CellInventory:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::set< CellG * > cellInventoryContainerType
typedef
cellInventoryContainerType::iterator 
cellInventoryIterator

Public Member Functions

 CellInventory ()
virtual ~CellInventory ()
virtual void addToInventory (CellG *_cell)
virtual void removeFromInventory (CellG *_cell)
std::set< CellG * >::size_type getCellInventorySize ()
int getSize ()
cellInventoryIterator cellInventoryBegin ()
cellInventoryIterator cellInventoryEnd ()
void incrementIterator (cellInventoryIterator &_itr)
void decrementIterator (cellInventoryIterator &_itr)
cellInventoryIterator find (CellG *_cell)
cellInventoryIterator find (long _id)
cellInventoryContainerTypegetContainer ()
void setPotts3DPtr (Potts3D *_potts)

Private Attributes

cellInventoryContainerType inventory
Potts3Dpotts


Detailed Description

Author:
m

Definition at line 18 of file CellInventory.h.


Member Typedef Documentation

Definition at line 21 of file CellInventory.h.

typedef cellInventoryContainerType::iterator CompuCell3D::CellInventory::cellInventoryIterator

Definition at line 22 of file CellInventory.h.


Constructor & Destructor Documentation

CompuCell3D::CellInventory::CellInventory (  ) 

Definition at line 11 of file CellInventory.cpp.

CompuCell3D::CellInventory::~CellInventory (  )  [virtual]

loop over all the cells in the inventory

Definition at line 20 of file CellInventory.cpp.

References cellInventoryBegin(), cellInventoryEnd(), CompuCell3D::Potts3D::destroyCellG(), and potts.


Member Function Documentation

void CompuCell3D::CellInventory::addToInventory ( CellG _cell  )  [virtual]

Definition at line 41 of file CellInventory.cpp.

References inventory.

Referenced by CompuCell3D::Potts3D::createCellG().

void CompuCell3D::CellInventory::removeFromInventory ( CellG _cell  )  [virtual]

Definition at line 45 of file CellInventory.cpp.

References inventory.

Referenced by CompuCell3D::Potts3D::destroyCellG().

std::set<CellG *>::size_type CompuCell3D::CellInventory::getCellInventorySize (  )  [inline]

int CompuCell3D::CellInventory::getSize (  )  [inline]

Definition at line 30 of file CellInventory.h.

References inventory.

cellInventoryIterator CompuCell3D::CellInventory::cellInventoryBegin (  )  [inline]

cellInventoryIterator CompuCell3D::CellInventory::cellInventoryEnd (  )  [inline]

void CompuCell3D::CellInventory::incrementIterator ( cellInventoryIterator _itr  )  [inline]

Definition at line 33 of file CellInventory.h.

void CompuCell3D::CellInventory::decrementIterator ( cellInventoryIterator _itr  )  [inline]

Definition at line 34 of file CellInventory.h.

cellInventoryIterator CompuCell3D::CellInventory::find ( CellG _cell  )  [inline]

CellInventory::cellInventoryIterator CompuCell3D::CellInventory::find ( long  _id  ) 

loop over all the cells in the inventory

Definition at line 51 of file CellInventory.cpp.

References cellInventoryBegin(), cellInventoryEnd(), and CompuCell3D::CellG::id.

cellInventoryContainerType& CompuCell3D::CellInventory::getContainer (  )  [inline]

Definition at line 37 of file CellInventory.h.

References inventory.

void CompuCell3D::CellInventory::setPotts3DPtr ( Potts3D _potts  ) 

Definition at line 15 of file CellInventory.cpp.

References potts.

Referenced by CompuCell3D::Potts3D::Potts3D().


Member Data Documentation

Definition at line 42 of file CellInventory.h.

Referenced by setPotts3DPtr(), and ~CellInventory().


The documentation for this class was generated from the following files:

Generated on Thu Dec 4 11:42:43 2008 for CompuCell3D by  doxygen 1.5.6