00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
#ifndef DC_DataItemH
00013
#define DC_DataItemH
00014
00015
#include "../GeneralInclude/BasicTypes.h"
00016
#include "../Base/CC_RootObject.h"
00017
00060 class DC_DataItem {
00061
00062
private:
00069
inline void initDataItem(
void *data,
TD_DataItemType type);
00070
00071
protected:
00072
00079 void *
pVar;
00080
00081
#ifndef NDEBUG
00082
00091 TD_DataItemType varType;
00092
#endif
00093
00094
public:
00095
00110
inline DC_DataItem(
TD_Float *d);
00111
00126
inline DC_DataItem(
TD_Integer *d);
00127
00133
inline TD_Float getFloatValue() const;
00134
00139 inline
void setValue(TD_Float newValue);
00140
00146 inline TD_Integer getIntegerValue() const;
00147
00152 inline
void setValue(TD_Integer newValue);
00153
00154 };
00155
00156 #include "DC_DataItem_inl.h"
00157
00158 #endif
00159
00160
00161