Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
|
An object which is able to serialize and deserialize its attributes into an attributes object. More...
#include <nirtcpp/core/engine/IAttributeExchangingObject.hpp>
Public Member Functions | |
virtual void | serializeAttributes (io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const |
Writes attributes of the object. | |
virtual void | deserializeAttributes (io::IAttributes *in, io::SAttributeReadWriteOptions *options=0) |
Reads attributes of the object. | |
Public Member Functions inherited from nirt::IReferenceCounted | |
IReferenceCounted () | |
Constructor. | |
virtual | ~IReferenceCounted () |
Destructor. | |
void | grab () const |
Grabs the object. Increments the reference counter by one. | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. | |
s32 | getReferenceCount () const |
Get the reference count. | |
const c8 * | getDebugName () const |
Returns the debug name of the object. | |
Additional Inherited Members | |
Protected Member Functions inherited from nirt::IReferenceCounted | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. | |
An object which is able to serialize and deserialize its attributes into an attributes object.
|
inlinevirtual |
Reads attributes of the object.
Implement this to set the attributes of your scene node animator for scripting languages, editors, debuggers or xml deserialization purposes.
Reimplemented in nirt::scene::IParticleSystemSceneNode, nirt::scene::ICameraSceneNode, nirt::gui::IGUIElement, nirt::scene::ISceneNode, and nirt::scene::ISceneNodeAnimator.
|
inlinevirtual |
Writes attributes of the object.
Implement this to expose the attributes of your scene node animator for scripting languages, editors, debuggers or xml serialization purposes.
Reimplemented in nirt::scene::IParticleSystemSceneNode, nirt::scene::ICameraSceneNode, nirt::gui::IGUIElement, nirt::scene::ISceneNode, and nirt::scene::ISceneNodeAnimator.