00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef TA_BUFFER_H
00013 #define TA_BUFFER_H
00014
00015 #ifndef TA_REFCOUNT_H
00016 #include "RefCount.h"
00017 #endif // TA_REFCOUNT_H
00018
00019 namespace TA
00020 {
00021
00022 class IOStreamInput;
00023
00024 class TACOMMON_CLASS Buffer : public RefCount
00025 {
00026 public:
00027 Buffer();
00028 ~Buffer();
00029
00030 int GetSize() { return m_nSize; }
00031 void* GetData() { return m_pData; }
00032
00033 void Initialise(IOStreamInput& stream);
00034 void Finalise();
00035
00036 private:
00037 int m_nSize;
00038 void* m_pData;
00039 };
00040
00041 }
00042
00043 #endif // TA_BUFFER_H
© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.