#include <CogMapObjects.h>
Public Member Functions | |
CMMap () | |
CMMap (const JString &xml) | |
CMMap (XMLNode *node) | |
~CMMap () | |
Object * | clone () const |
bool | fromXML (const JString &xml) |
bool | fromXML (XMLNode *node) |
JString | toXML () |
JString | print () |
JString | toHTML () |
Public Attributes | |
JString | id |
JString | type |
JString | parentID |
CMObject * | parent |
ObjectDictionary | children |
Definition at line 2371 of file CogMapObjects.h.
cmlabs::CMMap::CMMap | ( | ) |
cmlabs::CMMap::CMMap | ( | const JString & | xml | ) |
cmlabs::CMMap::CMMap | ( | XMLNode * | node | ) |
cmlabs::CMMap::~CMMap | ( | ) |
public virtual destructor ~CMMap The ~CMMap method destroys a CMMap object
delete(obj);
This function doesn't return a value
Definition at line 1304 of file CogMapObjects.cpp.
Object * cmlabs::CMMap::clone | ( | ) | const [virtual] |
public virtual constant clone The clone method creates an identical object by cloning
val = (CMMap*) obj->clone();
Implements cmlabs::Object.
Definition at line 1307 of file CogMapObjects.cpp.
bool cmlabs::CMMap::fromXML | ( | const JString & | xml | ) | [virtual] |
public virtual overloaded fromXML The fromXML method fills in the object with the content of the XML
val = obj->fromXML(xml);
[in] | xml | type const JString & raw XML |
Reimplemented from cmlabs::Object.
Definition at line 1314 of file CogMapObjects.cpp.
bool cmlabs::CMMap::fromXML | ( | XMLNode * | node | ) | [virtual] |
public virtual fromXML The fromXML method instantiates the object from XML
val = obj->fromXML(xmlnode);
Reimplemented from cmlabs::Object.
Definition at line 1326 of file CogMapObjects.cpp.
JString cmlabs::CMMap::toXML | ( | ) | [virtual] |
public virtual toXML The toXML method generates the XML representing the object
val = obj->toXML();
Reimplemented from cmlabs::Object.
Definition at line 1336 of file CogMapObjects.cpp.
JString cmlabs::CMMap::print | ( | ) | [virtual] |
public constant print The print method creates a string representation of the object
val = obj->print();
Reimplemented from cmlabs::Object.
Definition at line 1344 of file CogMapObjects.cpp.
JString cmlabs::CMMap::toHTML | ( | ) | [virtual] |
public virtual toHTML The toHTML method creates HTML which represents the object
val = obj->toHTML();
Reimplemented from cmlabs::Object.
Definition at line 1340 of file CogMapObjects.cpp.
JString id The id variable contains the id
Definition at line 2572 of file CogMapObjects.h.
JString type The type variable contains type
Definition at line 2582 of file CogMapObjects.h.
JString parentID The parentID variable contains id of the parent object
Definition at line 2592 of file CogMapObjects.h.
CMObject * parent The parent variable contains the pointer to the parent object
Definition at line 2602 of file CogMapObjects.h.
ObjectDictionary children The children variable contains the list of children objects
Definition at line 2612 of file CogMapObjects.h.