Foxit PDF SDK

Public Member Functions | List of all members
CFX_StringBufBase Class Reference
FXCRT

A fixed string buffer holding up to certain number of characters. More...

Inheritance diagram for CFX_StringBufBase:

## Public Member Functions
| CFX_StringBufBase (FX_STRSIZE limit)
| A Constructor. More...
void | Append (FX_BSTR str)
| Append a non-buffered byte string. More...
void | Append (int i, FX_DWORD flags=0)
| Append an integer. See FXFORMAT_xxx for flags. More...
void | Copy (FX_BSTR str)
| Copy from a non-buffered byte string. More...
void | Empty ()
| Set this string to be empty. More...
FX_CHAR * | GetPtr () const
| Get a C-style string pointer to the string buffer. More...
FX_STRSIZE | GetSize () const
| Gets the length of the string. More...
CFX_ByteString | GetString () const
| Get a buffered byte string. More...
CFX_ByteStringC | GetStringC () const
| Get a non-buffered byte string. More...

## Detailed Description

A fixed string buffer holding up to certain number of characters.

Operations are protected by buffer limit. Please do not use this class directly, use CFX_StringBufTemplate instead.