Stores the stub of an hsKeyedObject class.
More...
#include <hsKeyedObject.h>
Detailed Description
Stores the stub of an hsKeyedObject class.
Like plCreatableStub, this class stores a data buffer containing the contents of an unparsed Creatable. hsKeyedObjectStub is actually just a convenience class to provide the hsKeyedObject interface to the plCreatableStub, specifically, being able to access the object's key. If your stub is an hsKeyedObject-derived class, it's very highly recommended you use this instead of a normal plCreatableStub!
- See Also
- plCreatableStub
Constructor & Destructor Documentation
hsKeyedObjectStub::hsKeyedObjectStub |
( |
| ) |
|
virtual hsKeyedObjectStub::~hsKeyedObjectStub |
( |
| ) |
|
|
virtual |
Member Function Documentation
virtual short hsKeyedObjectStub::ClassIndex |
( |
| ) |
const |
|
virtual |
Returns the Creatable Class ID for this Creatable. Use the CREATABLE macro to set this automatically in subclasses.
Implements plCreatable.
virtual const char* hsKeyedObjectStub::ClassName |
( |
| ) |
const |
|
virtual |
Returns a string of the creatable's class name. Use the CREATABLE macro to set this automatically in subclasses.
Reimplemented from plCreatable.
This must be overloaded by subclasses to parse PRC data specific to the class from the PRC document. It is called once for each tag that is a child to the Creatable tag itself, so subclasses should check for each supported tag and handle it accordingly if it matches. If the tag is not recognized, it should be passed along to the parent class.
Reimplemented from hsKeyedObject.
virtual void hsKeyedObjectStub::IPrcWrite |
( |
pfPrcHelper * |
prc | ) |
|
|
protectedvirtual |
This must be overloaded by subclasses to write PRC data specific to the class to the PRC document. Do not write the top-level creatable tag, that is handled by prcWrite().
Reimplemented from hsKeyedObject.
Writes this creatable directly to the stream. The plResManager is used to manage any key references written by this creatable.
Reimplemented from hsKeyedObject.
The documentation for this class was generated from the following file: