Foxit PDF SDK
CFX_StringBufTemplate< limit > Class Template Reference

A fixed string buffer template. More...

Inheritance diagram for CFX_StringBufTemplate< limit >:
CFX_StringBufBase

Public Member Functions

 CFX_StringBufTemplate ()
 A constructor.
 
- Public Member Functions inherited from CFX_StringBufBase
 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_CHARGetPtr () 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...
 

Public Attributes

FX_CHAR m_Buffer [limit]
 The fixed string buffer. More...
 

Detailed Description

template<FX_STRSIZE limit>
class CFX_StringBufTemplate< limit >

A fixed string buffer template.

Member Data Documentation

◆ m_Buffer

template<FX_STRSIZE limit>
FX_CHAR CFX_StringBufTemplate< limit >::m_Buffer[limit]

The fixed string buffer.

Note
IMPORTANT: the string is NOT zero terminated.