#include <ApoptoticCellProperty.hpp>
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 |
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 45 of file ApoptoticCellProperty.hpp.
ApoptoticCellProperty::ApoptoticCellProperty | ( | unsigned | colour = 6 |
) |
Constructor.
colour | what colour cells with this property should be in the visualizer (defaults to 6) |
Definition at line 31 of file ApoptoticCellProperty.cpp.
ApoptoticCellProperty::~ApoptoticCellProperty | ( | ) | [virtual] |
Destructor.
Definition at line 37 of file ApoptoticCellProperty.cpp.
void ApoptoticCellProperty::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the member variables.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractCellProperty.
Definition at line 63 of file ApoptoticCellProperty.hpp.
References mColour.
unsigned ApoptoticCellProperty::GetColour | ( | ) | const |
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCellProperty.
Definition at line 55 of file ApoptoticCellProperty.hpp.
unsigned ApoptoticCellProperty::mColour [private] |
Colour for use by visualizer.
Definition at line 52 of file ApoptoticCellProperty.hpp.
Referenced by GetColour(), and serialize().