#include <gcp/reaction-prop.h>
Inheritance diagram for gcp::ReactionProp:
Public Member Functions | |
xmlNodePtr | Save (xmlDocPtr xml) |
bool | Load (xmlNodePtr) |
bool | OnSignal (SignalId Signal, Object *Child) |
Definition at line 59 of file reaction-prop.h.
xmlNodePtr gcp::ReactionProp::Save | ( | xmlDocPtr | xml | ) | [virtual] |
xml,: | the xmlDoc used to save the document. |
Reimplemented from gcu::Object.
bool gcp::ReactionProp::Load | ( | xmlNodePtr | node | ) | [virtual] |
node,: | a pointer to the xmlNode containing the serialized object. |
Example:
std::string str = (const char*)node->name; Object* pObject = Object::CreateObject(str, this); if (pObject) { if (!pObject->Load(node)) delete Object; } else cerr << "Warning: unknown object: " << str << endl;
Reimplemented from gcu::Object.
bool gcp::ReactionProp::OnSignal | ( | SignalId | Signal, | |
Object * | Child | |||
) | [virtual] |
Signal,: | the appropriate SignalId | |
Child,: | the child which emitted the signal or NULL |
Reimplemented from gcu::Object.