Home | History | Annotate | Download | only in Common

Lines Matching refs:CBuffer

8 template <class T> class CBuffer

13 void CopyToEmpty(const CBuffer &buffer)
33 CBuffer(): _items(0), _size(0) {};
34 CBuffer(size_t size): _items(0), _size(0) { _items = new T[size]; _size = size; }
35 CBuffer(const CBuffer &buffer): _items(0), _size(0) { CopyToEmpty(buffer); }
36 ~CBuffer() { delete []_items; }
87 CBuffer& operator=(const CBuffer &buffer)
96 bool operator==(const CBuffer<T>& b1, const CBuffer<T>& b2)
105 bool operator!=(const CBuffer<T>& b1, const CBuffer<T>& b2)
114 typedef CBuffer<char> CCharBuffer;
115 typedef CBuffer<wchar_t> CWCharBuffer;
116 typedef CBuffer<unsigned char> CByteBuffer;