Foxit PDF SDK
CFX_ByteStringC类 参考

常量字节字符串类 更多...

继承自 CFX_Object .

被 CFX_ByteStringL 继承.

Public 成员函数

 CFX_ByteStringC ()
 构造一个空的常量字符串。
 
 CFX_ByteStringC (const CFX_ByteString &src)
 从字节字符串构造。 更多...
 
 CFX_ByteStringC (const CFX_ByteStringC &src)
 复制构造函数 更多...
 
 CFX_ByteStringC (const FX_CHAR &ch)
 从单个字符构造。 更多...
 
 CFX_ByteStringC (FX_LPCBYTE ptr, FX_STRSIZE size)
 从字节字符串构造。 更多...
 
 CFX_ByteStringC (FX_LPCSTR ptr)
 从字符字符串构造。 更多...
 
 CFX_ByteStringC (FX_LPCSTR ptr, FX_STRSIZE len)
 从字符字符串构造。 更多...
 
FX_BYTE GetAt (FX_STRSIZE index) const
 此方法检索由索引号指定的单个字节。 更多...
 
FX_LPCSTR GetCStr () const
 获取指向字节字符串的常量字符字符串指针。 更多...
 
FX_DWORD GetID (FX_STRSIZE start_pos=0) const
 从特定位置获取字符串的DWORD标识符。 更多...
 
FX_STRSIZE GetLength () const
 获取字节字符串的长度。 更多...
 
FX_LPCBYTE GetPtr () const
 获取指向字节字符串的常量字节字符串指针。 更多...
 
bool IsEmpty () const
 检查当前字符串对象是否为空。 更多...
 
CFX_ByteStringC Mid (FX_STRSIZE index, FX_STRSIZE count=-1) const
 此方法从此CFX_ByteStringC对象中提取长度为count字节的子字符串, 从位置index(基于零)开始。 更多...
 
 operator FX_LPCBYTE () const
 此转换运算符访问CFX_ByteStringC对象中引用的字节字符串。 更多...
 
bool operator!= (const CFX_ByteStringC &str) const
 比较(!=)运算符重载。区分大小写。 更多...
 
CFX_ByteStringCoperator= (const CFX_ByteString &src)
 赋值(=)运算符重载。来自CFX_ByteString对象。 更多...
 
CFX_ByteStringCoperator= (const CFX_ByteStringC &src)
 赋值(=)运算符重载。来自CFX_ByteStringC对象。 更多...
 
CFX_ByteStringCoperator= (FX_LPCSTR src)
 赋值(=)运算符重载。来自字符字符串。 更多...
 
bool operator== (const CFX_ByteStringC &str) const
 比较(==)运算符重载。区分大小写。 更多...
 

详细描述

常量字节字符串类

常量字节字符串,它不包含缓冲区,因此其内容不能直接更改。