#include <CellTypePlugin.h>


Public Member Functions | |
| CellTypePlugin () | |
| virtual | ~CellTypePlugin () |
| virtual void | init (Simulator *simulator, ParseData *_pd=0) |
| SimObject interface. | |
| std::map< unsigned char, std::string > & | getTypeNameMap () |
| virtual unsigned char | getCellType (const CellG *) const |
| Automaton Interface. | |
| virtual std::string | getTypeName (const char type) const |
| virtual unsigned char | getTypeId (const std::string typeName) const |
| virtual void | readXML (XMLPullParser &in) |
| Begin XMLSerializable interface. | |
| virtual void | writeXML (XMLSerializer &out) |
Public Attributes | |
| CellTypeParseData | cpd |
Private Attributes | |
| Potts3D * | potts |
| std::map< unsigned char, std::string > | typeNameMap |
| std::map < std::string, unsigned char > | nameTypeMap |
Definition at line 42 of file CellTypePlugin.h.
| CellTypePlugin::CellTypePlugin | ( | ) |
| CellTypePlugin::~CellTypePlugin | ( | ) | [virtual] |
Definition at line 45 of file CellTypePlugin.cpp.
SimObject interface.
Reimplemented from CompuCell3D::SimObject.
Definition at line 47 of file CellTypePlugin.cpp.
References CompuCell3D::CellTypeParseData::cellTypeTuppleVec, CompuCell3D::Automaton::classType, CompuCell3D::Simulator::getPotts(), nameTypeMap, potts, CompuCell3D::Potts3D::registerAutomaton(), CompuCell3D::Potts3D::registerCellGChangeWatcher(), CompuCell3D::Potts3D::setFrozenTypeVector(), and typeNameMap.

| std::map<unsigned char,std::string>& CompuCell3D::CellTypePlugin::getTypeNameMap | ( | ) | [inline] |
| unsigned char CellTypePlugin::getCellType | ( | const CellG * | cell | ) | const [virtual] |
Automaton Interface.
Implements CompuCell3D::Automaton.
Definition at line 83 of file CellTypePlugin.cpp.
References CompuCell3D::CellG::type.
| string CellTypePlugin::getTypeName | ( | const char | type | ) | const [virtual] |
Implements CompuCell3D::Automaton.
Definition at line 93 of file CellTypePlugin.cpp.
References THROW, and typeNameMap.
Referenced by CompuCell3D::PIFDumper::step().
| virtual unsigned char CompuCell3D::CellTypePlugin::getTypeId | ( | const std::string | typeName | ) | const [virtual] |
Implements CompuCell3D::Automaton.
Referenced by CompuCell3D::BlobFieldInitializer::initializeEngulfment().
| void CellTypePlugin::readXML | ( | XMLPullParser & | in | ) | [virtual] |
Begin XMLSerializable interface.
deciding whether to freeze or not
Implements XMLSerializable.
Definition at line 145 of file CellTypePlugin.cpp.
References CompuCell3D::CellTypeParseData::cellTypeTuppleVec, XMLPullParser::check(), cpd, XMLPullParser::findAttribute(), CompuCell3D::CellTypeTupple::freeze, XMLPullParser::getAttribute(), XMLPullParser::getLocation(), XMLPullParser::getName(), XMLPullParser::matchSimple(), BasicString::parseUByte(), CompuCell3D::SimObject::pd, XMLPullParser::skip(), XMLEventTypes::START_ELEMENT, XMLEventTypes::TEXT, CompuCell3D::CellTypeTupple::typeId, CompuCell3D::CellTypeTupple::typeName, and XMLAttrib::value.

| void CellTypePlugin::writeXML | ( | XMLSerializer & | xmlOut | ) | [virtual] |
Serialize this serializable.
| xmlOut | The serializer. |
Implements XMLSerializable.
Definition at line 202 of file CellTypePlugin.cpp.
Potts3D* CompuCell3D::CellTypePlugin::potts [private] |
Reimplemented from CompuCell3D::Automaton.
Definition at line 43 of file CellTypePlugin.h.
Referenced by init().
std::map<unsigned char,std::string> CompuCell3D::CellTypePlugin::typeNameMap [private] |
Definition at line 45 of file CellTypePlugin.h.
Referenced by getTypeName(), getTypeNameMap(), and init().
std::map<std::string,unsigned char> CompuCell3D::CellTypePlugin::nameTypeMap [private] |
1.5.3