Foxit PDF SDK
CFX_StringBufTemplate< limit > 模板类 参考

固定字符串缓冲区模板。 更多...

类 CFX_StringBufTemplate< limit > 继承关系图:
CFX_StringBufBase

Public 成员函数

 CFX_StringBufTemplate ()
 构造函数。
 
- Public 成员函数 继承自 CFX_StringBufBase
 CFX_StringBufBase (FX_STRSIZE limit)
 构造函数 更多...
 
void Append (FX_BSTR str)
 追加非缓冲字节字符串。 更多...
 
void Append (int i, FX_DWORD flags=0)
 追加整数。有关标志,请参阅FXFORMAT_xxx。 更多...
 
void Copy (FX_BSTR str)
 从非缓冲字节字符串复制。 更多...
 
void Empty ()
 将此字符串设置为空。 更多...
 
FX_CHARGetPtr () const
 获取指向字符串缓冲区的C风格字符串指针。 更多...
 
FX_STRSIZE GetSize () const
 获取字符串的长度。 更多...
 
CFX_ByteString GetString () const
 获取缓冲字节字符串。 更多...
 
CFX_ByteStringC GetStringC () const
 获取非缓冲字节字符串。 更多...
 

Public 属性

FX_CHAR m_Buffer [limit]
 固定字符串缓冲区。 更多...
 

详细描述

template<FX_STRSIZE limit>
class CFX_StringBufTemplate< limit >

固定字符串缓冲区模板。

类成员变量说明

◆ m_Buffer

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

固定字符串缓冲区。

注解
重要:字符串不是以零结尾的。