Foxit PDF SDK
|
CONSTANT WIDE STRING CLASS. More...
Inherits CFX_Object.
Inherited by CFX_WideStringL.
Public Member Functions | |
CFX_WideStringC () | |
Constructs a null constant string. | |
CFX_WideStringC (FX_LPCWSTR ptr) | |
Construct from a character string. More... | |
CFX_WideStringC (FX_WCHAR &ch) | |
Construct from a single character. More... | |
CFX_WideStringC (FX_LPCWSTR ptr, FX_STRSIZE len) | |
Construct from a character string. More... | |
CFX_WideStringC (const CFX_WideStringC &src) | |
Copy constructor. More... | |
CFX_WideStringC (const CFX_WideString &src) | |
Construct from a wide string. More... | |
FX_WCHAR | GetAt (FX_STRSIZE index) const |
Retrieves a single byte specified by an index number. More... | |
FX_STRSIZE | GetLength () const |
Get the length of the byte string. More... | |
FX_LPCWSTR | GetPtr () const |
Get a constant wide string pointer to the wide string. More... | |
bool | IsEmpty () const |
Determines whether current string object is empty. More... | |
CFX_WideStringC | Left (FX_STRSIZE count) const |
Extracts the first (leftmost) count wide characters from this CFX_WideStringC object as a sub-string. More... | |
CFX_WideStringC | Mid (FX_STRSIZE index, FX_STRSIZE count=-1) const |
Extracts a substring of length count bytes from this CFX_WideStringC object, starting at position index (zero-based). More... | |
bool | operator != (const CFX_WideStringC &str) const |
Comparison(!=) operator overload. Case-sensitive. More... | |
CFX_WideStringC & | operator= (FX_LPCWSTR src) |
Assignment(=) operator overload. From a character string. More... | |
CFX_WideStringC & | operator= (const CFX_WideStringC &src) |
Assignment(=) operator overload. From a CFX_WideStringC object. More... | |
CFX_WideStringC & | operator= (const CFX_WideString &src) |
Assignment(=) operator overload. From a CFX_ByteString object. More... | |
bool | operator== (const CFX_WideStringC &str) const |
Comparison(==) operator overload. Case-sensitive. More... | |
CFX_WideStringC | Right (FX_STRSIZE count) const |
Extracts the last (rightmost) count wide characters from this CFX_WideStringC object as a sub-string. More... | |
CONSTANT WIDE STRING CLASS.
Constant wide string, it contains no buffer so its content can't be changed directly.
|
inline |
Construct from a character string.
[in] | ptr | Pointer to a constant character string, the string must be null-terminated. |
|
inline |
Construct from a single character.
[in] | ch | A single character. |
|
inline |
Construct from a character string.
[in] | ptr | Pointer to a constant character string. |
[in] | len | The length of the character string. This can be -1 for null-terminated string. |
|
inline |
Copy constructor.
[in] | src | constant ref to a CFX_WideStringC object. |
|
inline |
Retrieves a single byte specified by an index number.
[in] | index | Specifies the zero-based index in the byte string. |
|
inline |
Get the length of the byte string.
|
inline |
Get a constant wide string pointer to the wide string.
|
inline |
Determines whether current string object is empty.
|
inline |
Extracts the first (leftmost) count wide characters from this CFX_WideStringC object as a sub-string.
[in] | count | The count of wide characters expected to extract for the sub-string. |
|
inline |
Extracts a substring of length count bytes from this CFX_WideStringC object, starting at position index (zero-based).
[in] | index | Specifies the zero-based index in the CFX_WideStringC object. |
[in] | count | Specifies the number of bytes to extract from this CFX_WideStringC object. |
|
inline |
Comparison(!=) operator overload. Case-sensitive.
[in] | str | constant ref to a CFX_WideStringC object. |
|
inline |
Assignment(=) operator overload. From a character string.
[in] | src | Pointer to a constant character string. |
|
inline |
Assignment(=) operator overload. From a CFX_WideStringC object.
[in] | src | constant ref to a CFX_ByteStringC object. |
|
inline |
Comparison(==) operator overload. Case-sensitive.
[in] | str | constant ref to a CFX_ByteStringC object. |
|
inline |
Extracts the last (rightmost) count wide characters from this CFX_WideStringC object as a sub-string.
[in] | count | The count of wide characters expected to extract for the sub-string. |