Chaste  Release::3.4
ApoptoticCellProperty Class Reference

#include <ApoptoticCellProperty.hpp>

+ Inheritance diagram for ApoptoticCellProperty:
+ Collaboration diagram for ApoptoticCellProperty:

Public Member Functions

 ApoptoticCellProperty (unsigned colour=6)
 
virtual ~ApoptoticCellProperty ()
 
unsigned GetColour () const
 
- Public Member Functions inherited from AbstractCellProperty
 AbstractCellProperty ()
 
virtual ~AbstractCellProperty ()
 
template<class CLASS >
bool IsType () const
 
template<class BASECLASS >
bool IsSubType () const
 
bool IsSame (const AbstractCellProperty *pOther) const
 
bool IsSame (boost::shared_ptr< const AbstractCellProperty > pOther) const
 
void IncrementCellCount ()
 
void DecrementCellCount ()
 
unsigned GetCellCount () const
 
- Public Member Functions inherited from Identifiable
virtual ~Identifiable ()
 
std::string GetIdentifier () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)
 

Private Attributes

unsigned mColour
 

Friends

class boost::serialization::access
 

Detailed Description

Apoptotic cell property.

Each Cell owns a CellPropertyCollection, which may include a shared pointer to an object of this type.

The ApoptoticCellProperty object keeps track of the number of cells that are apoptotic, as well as what colour should be used by the visualizer to display cells that are apoptotic.

Definition at line 53 of file ApoptoticCellProperty.hpp.

Constructor & Destructor Documentation

ApoptoticCellProperty::ApoptoticCellProperty ( unsigned  colour = 6)

Constructor.

Parameters
colourwhat colour cells with this property should be in the visualizer (defaults to 6)

Definition at line 38 of file ApoptoticCellProperty.cpp.

ApoptoticCellProperty::~ApoptoticCellProperty ( )
virtual

Destructor.

Definition at line 44 of file ApoptoticCellProperty.cpp.

Member Function Documentation

unsigned ApoptoticCellProperty::GetColour ( ) const
Returns
mColour.

Definition at line 48 of file ApoptoticCellProperty.cpp.

References mColour.

template<class Archive >
void ApoptoticCellProperty::serialize ( Archive &  archive,
const unsigned int  version 
)
inlineprivate

Archive the member variables.

Parameters
archivethe archive
versionthe current version of this class

Definition at line 71 of file ApoptoticCellProperty.hpp.

References mColour.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 63 of file ApoptoticCellProperty.hpp.

Member Data Documentation

unsigned ApoptoticCellProperty::mColour
private

Colour for use by visualizer.

Definition at line 60 of file ApoptoticCellProperty.hpp.

Referenced by GetColour(), and serialize().


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