Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
jpp::io::IAttributeExchangingObject Class Reference

An object which is able to serialize and deserialize its attributes into an attributes object. More...

#include <jimcpp/core/engine/IAttributeExchangingObject.hpp>

Inheritance diagram for jpp::io::IAttributeExchangingObject:
Inheritance graph
Collaboration diagram for jpp::io::IAttributeExchangingObject:
Collaboration graph

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 jpp::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 c8getDebugName () const
 Returns the debug name of the object.
 

Additional Inherited Members

- Protected Member Functions inherited from jpp::IReferenceCounted
void setDebugName (const c8 *newName)
 Sets the debug name of the object.
 

Detailed Description

An object which is able to serialize and deserialize its attributes into an attributes object.

Member Function Documentation

◆ deserializeAttributes()

virtual void jpp::io::IAttributeExchangingObject::deserializeAttributes ( io::IAttributes in,
io::SAttributeReadWriteOptions options = 0 
)
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 jpp::scene::IParticleSystemSceneNode, jpp::scene::ICameraSceneNode, jpp::gui::IGUIElement, jpp::scene::ISceneNode, and jpp::scene::ISceneNodeAnimator.

◆ serializeAttributes()

virtual void jpp::io::IAttributeExchangingObject::serializeAttributes ( io::IAttributes out,
io::SAttributeReadWriteOptions options = 0 
) const
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 jpp::scene::IParticleSystemSceneNode, jpp::scene::ICameraSceneNode, jpp::gui::IGUIElement, jpp::scene::ISceneNode, and jpp::scene::ISceneNodeAnimator.


The documentation for this class was generated from the following file:

Jimcpp    @cppfx.xyz