Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
perObjectData.hh File Reference

Go to the source code of this file.

Classes

class  PerObjectData
 Object Payload. More...
 

Macros

#define PER_OBJECT_DATA(_CLASS, _VALUE)
 

Functions

 PER_OBJECT_DATA (BoolPerObjectData, bool)
 
 PER_OBJECT_DATA (CharPerObjectData, char)
 
 PER_OBJECT_DATA (UCharPerObjectData, unsigned char)
 
 PER_OBJECT_DATA (IntPerObjectData, int)
 
 PER_OBJECT_DATA (UIntPerObjectData, unsigned int)
 
 PER_OBJECT_DATA (FloatPerObjectData, float)
 
 PER_OBJECT_DATA (DoublePerObjectData, double)
 

Detailed Description

This File contains a basic data class used to attach data to objects.

Definition in file perObjectData.hh.

Macro Definition Documentation

#define PER_OBJECT_DATA (   _CLASS,
  _VALUE 
)
Value:
class DLLEXPORT _CLASS : public PerObjectData { \
\
public: \
inline _CLASS() : data_( 0) { } \
inline _CLASS(const _VALUE& _x) : data_(_x) { } \
inline virtual ~_CLASS() { } \
inline virtual _CLASS* copyPerObjectData() { return new _CLASS(data_); } \
inline _VALUE& data() { return data_; } \
inline const _VALUE& data() const { return data_; } \
private: \
_VALUE data_; \
}
virtual PerObjectData * copyPerObjectData()
Copy Function.
#define DLLEXPORT
Object Payload.

Definition at line 109 of file perObjectData.hh.