|
| CFX_WideTextBuf (IFX_Allocator *pAllocator=0) |
| Construct with allocator. More...
|
|
FX_BOOL | AppendChar (FX_WCHAR wch) |
| Append a single wide character. More...
|
|
void | Delete (int start_index, int count) |
| Delete a inter-zone buffer defining by parameters start_index and count in the wide text buffer. More...
|
|
FX_LPWSTR | GetBuffer () const |
| Get a wide character pointer. More...
|
|
FX_STRSIZE | GetLength () const |
| Get the length of the wide text buffer. More...
|
|
CFX_WideStringC | GetWideString () const |
| Get a wide string from the wide text buffer. More...
|
|
CFX_WideTextBuf & | operator<< (int i) |
| Left shifts(<<) operator overload. Output a integer to the wide text buffer. More...
|
|
CFX_WideTextBuf & | operator<< (double f) |
| Left shifts(<<) operator overload. Output a double value to the wide text buffer. More...
|
|
CFX_WideTextBuf & | operator<< (FX_LPCWSTR lpsz) |
| Left shifts(<<) operator overload. Output a zero-terminated wide character string to the wide text buffer. More...
|
|
CFX_WideTextBuf & | operator<< (FX_WSTR str) |
| Left shifts(<<) operator overload. Output a wide string to the wide text buffer. More...
|
|
CFX_WideTextBuf & | operator<< (const CFX_WideString &str) |
| Left shifts(<<) operator overload. Output a wide string to the wide text buffer. More...
|
|
CFX_WideTextBuf & | operator<< (const CFX_WideTextBuf &buf) |
| Left shifts(<<) operator overload. Output a wide text buffer to the wide text buffer. More...
|
|
void | operator= (FX_LPCWSTR lpsz) |
| Assignment(=) operator overload. From a zero terminated wide character string. More...
|
|
void | operator= (FX_WSTR str) |
| Assignment(=) operator overload. From a wide string. More...
|
|
| CFX_BinaryBuf (IFX_Allocator *pAllocator=0) |
| A default constructor creating an empty buffer. More...
|
|
| CFX_BinaryBuf (FX_STRSIZE size, IFX_Allocator *pAllocator=0) |
| A default constructor creating an empty buffer. More...
|
|
| ~CFX_BinaryBuf () |
| The destructor.
|
|
FX_BOOL | AppendBlock (const void *pBuf, FX_STRSIZE size) |
| Append a binary buffer block. More...
|
|
void | AppendByte (FX_BYTE byte) |
| Append a single byte. More...
|
|
FX_BOOL | AppendFill (FX_BYTE byte, FX_STRSIZE count) |
| Append a byte for specified number times. Not a byte-by-byte processing, but a byte filling processing internally. More...
|
|
void | AppendString (FX_BSTR str) |
| Append a non-buffered byte string. More...
|
|
void | AttachData (void *pBuf, FX_STRSIZE size) |
| Attach to a buffer (this buffer will belong to this object). The buffer must be allocated by FX_Alloc. More...
|
|
void | Clear () |
| Set the binary buffer to be empty. More...
|
|
FX_BOOL | CopyData (const void *pBuf, FX_STRSIZE size) |
| Copy from another buffer. More...
|
|
void | Delete (int start_index, int count) |
| Delete a inter-zone buffer defining by parameters start_index and count in the binary buffer. More...
|
|
void | DetachBuffer () |
| Detach the buffer. Just set buffer pointer to NULL, and set the binary buffer size to zero. More...
|
|
FX_BOOL | EstimateSize (FX_STRSIZE size, FX_STRSIZE alloc_step=0) |
| Change the allocated buffer size, and set the allocation step if alloc_step is non-zero. More...
|
|
FX_LPBYTE | GetBuffer () const |
| Get a byte pointer to the binary buffer. More...
|
|
CFX_ByteStringC | GetByteString () const |
| Get a byte string from the buffer. More...
|
|
void | GetByteStringL (CFX_ByteStringL &str) const |
| Get a byte string from current buffer object. More...
|
|
FX_STRSIZE | GetSize () const |
| Get the length of the binary buffer. More...
|
|
FX_BOOL | InsertBlock (FX_STRSIZE pos, const void *pBuf, FX_STRSIZE size) |
| Insert a binary buffer block at the specified position. More...
|
|
void | TakeOver (CFX_BinaryBuf &other) |
| Takeover another buffer. More...
|
|
Dynamic wide text buffers designed for more efficient appending.