Chaste Release::3.1
ApoptoticCellProperty Class Reference

#include <ApoptoticCellProperty.hpp>

Inheritance diagram for ApoptoticCellProperty:
Collaboration diagram for ApoptoticCellProperty:

List of all members.

Public Member Functions

 ApoptoticCellProperty (unsigned colour=6)
virtual ~ApoptoticCellProperty ()
unsigned GetColour () 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

Get mColour.

Definition at line 48 of file ApoptoticCellProperty.cpp.

References mColour.

template<class Archive >
void ApoptoticCellProperty::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Archive the member variables.

Parameters:
archivethe archive
versionthe current version of this class

Reimplemented from AbstractCellProperty.

Definition at line 71 of file ApoptoticCellProperty.hpp.

References mColour.


Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Needed for serialization.

Reimplemented from AbstractCellProperty.

Definition at line 63 of file ApoptoticCellProperty.hpp.


Member Data Documentation

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: