Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PerObjectData Class Reference

Object Payload. More...

#include <OpenFlipper/common/perObjectData.hh>

Inheritance diagram for PerObjectData:
BackupData BaseSkin DecimaterInfo SkeletonObjectData SmootherObject TextureData GroupData SkinT< MeshT >

Public Member Functions

 PerObjectData ()
 You have to provide your own constructor for your object.
virtual ~PerObjectData ()
 Copy Constructor You have to reimplement this copy constructor for your object to get copied by the core. Otherwise, per Object data will not be copied when the core creates a copy of your object.
virtual PerObjectDatacopyPerObjectData ()
 Copy Function You have to reimplement this function to create a copy of your Object. By default it will return 0;.

Detailed Description

Object Payload.

This class is used to add arbitrary data to objects in OpenFlipper. You can derive any kind of class from PerObjectData and attach it to an object. See BaseObject::setObjectData() for more details.

Definition at line 79 of file perObjectData.hh.

Constructor & Destructor Documentation

PerObjectData::~PerObjectData ( )
virtual

Copy Constructor You have to reimplement this copy constructor for your object to get copied by the core. Otherwise, per Object data will not be copied when the core creates a copy of your object.

If you reimplemented the function, set copyOk_ at the end of the function.

Definition at line 70 of file perObjectData.cc.


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