41 #ifndef _DDD_AttributeByteBuffer_h_
42 #define _DDD_AttributeByteBuffer_h_
71 virtual DataType GetPreferredDataType()
const;
73 virtual std::string GetValueString()
const;
76 virtual int GetValueInt(
void)
const;
79 virtual unsigned int GetValueUInt(
void)
const;
82 virtual double GetValueDouble(
void)
const;
85 virtual bool GetValueBool(
void)
const;
88 virtual void SetValueByteBuffer(
const char *buffer,
unsigned int length,
bool notify,
DDD_AttributeObserver *originator);
89 virtual void GetValueByteBuffer(
char **buffer,
unsigned int &length);
91 static void RemoveNullChars(
char* buff,
unsigned int length,
char replaceWith =
' ');
95 void SafeDeleteValue();
98 void ResizeBuffer(
unsigned int newLength);
102 unsigned int _length;
108 #endif // _DDD_AttributeByteBuffer_h_
DDD_AttributeContainer. A virtual interface class for containers of attributes.
Definition: DDD_AttributeBase.h:57
A virtual interface class for all DataDirector attribute types.
Definition: DDD_AttributeBase.h:87
DataType
Definition: DDD_AttributeBase.h:104
A virtual interface class for observers of attributes. AttributeObserver-derived objects are able to ...
Definition: DDD_AttributeBase.h:66
Definition: AttributeChangedEmitter.h:46
DataDirector attribute class corresponding to a character array datatype.
Definition: DDD_AttributeByteBuffer.h:52