Lines Matching refs:CBuffer
8 template <class T> class CBuffer
13 void CopyToEmpty(const CBuffer &buffer) in CopyToEmpty()
33 CBuffer(): _items(0), _size(0) {}; in CBuffer() function
34 CBuffer(size_t size): _items(0), _size(0) { _items = new T[size]; _size = size; } in CBuffer() function
35 CBuffer(const CBuffer &buffer): _items(0), _size(0) { CopyToEmpty(buffer); } in CBuffer() function
36 ~CBuffer() { delete []_items; } in ~CBuffer()
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;