FDO API Reference | Feature Data Objects |
#include <StringP.h>
Definition at line 29 of file StringP.h.
Public Member Functions | |
FDO_API_COMMON bool | Contains (FdoString *subString) const |
Checks for a sub-string. | |
FDO_API_COMMON | FdoStringP (const char *sValue) |
Creates a string from a utf8 string. | |
FDO_API_COMMON | FdoStringP (FdoString *wValue, FdoBoolean bAttach=false) |
Creates a string from a unicode (FdoString) string. | |
FDO_API_COMMON | FdoStringP (const FdoStringP &oValue) |
Creates a string from another string pointer. | |
FDO_API_COMMON | FdoStringP (void) |
Creates an empty string with value L"". | |
FDO_API_COMMON size_t | GetLength () const |
FDO_API_COMMON int | ICompare (const FdoStringP str2) const |
Case-insensitive string comparison. | |
FDO_API_COMMON bool | IsNumber () const |
FDO_API_COMMON FdoStringP | Left (FdoString *delimiter) const |
Gets the characters to the left of the given sub-string. | |
FDO_API_COMMON FdoStringP | Lower () const |
FDO_API_COMMON FdoStringP | Mid (size_t first, size_t count, bool useUTF8=false) |
Extracts a sub-string of this string. | |
FDO_API_COMMON | operator const char * () const |
FDO_API_COMMON | operator FdoString * () const |
FDO_API_COMMON bool | operator!= (const FdoString *str2) const |
Not Equals comparison operator. | |
FDO_API_COMMON const FdoStringP | operator+ (const FdoStringP str2) const |
Appends the contents of another string onto this string. | |
FDO_API_COMMON const FdoStringP | operator+ (FdoString *str2) const |
Various operators for concatenating str2 to this. Appends a unicode string onto this string. | |
FDO_API_COMMON FdoStringP | operator+= (const FdoStringP str2) |
Appends the contents of another string onto this string. | |
FDO_API_COMMON FdoStringP | operator+= (FdoString *str2) |
Appends a unicode string onto this string. | |
FDO_API_COMMON bool | operator< (const FdoStringP str2) const |
Less than comparison operator. | |
FDO_API_COMMON bool | operator<= (const FdoStringP str2) const |
Less than or Equals comparison operator. | |
FDO_API_COMMON FdoStringP & | operator= (FdoString *wString) |
Copies a string from a unicode string. | |
FDO_API_COMMON FdoStringP & | operator= (const char *sString) |
Copies a string from a utf8 string. | |
FDO_API_COMMON FdoStringP & | operator= (const FdoStringP &oString) |
Operators to copy from other strings in various forms Copies a string from a string pointer. | |
FDO_API_COMMON bool | operator== (const FdoString *str2) const |
Equals comparison operator. | |
FDO_API_COMMON bool | operator== (const FdoStringP str2) const |
Equals comparison operator. | |
FDO_API_COMMON bool | operator> (const FdoStringP str2) const |
Various comparison operators. Greater than comparison operator. | |
FDO_API_COMMON bool | operator>= (const FdoStringP str2) const |
Greater than or equal comparison operator. | |
FDO_API_COMMON FdoStringP | Replace (FdoString *pOld, FdoString *pNew) const |
Replaces sub-strings. | |
FDO_API_COMMON FdoStringP | Right (FdoString *delimiter) const |
Gets the characters to the right of the given sub-string. | |
FDO_API_COMMON FdoBoolean | ToBoolean (FdoBoolean defaultValue=false) const |
Converts this string to a boolean. | |
FDO_API_COMMON FdoDouble | ToDouble () const |
Converts this string to a double precision number. | |
FDO_API_COMMON long | ToLong () const |
Converts this string to a long integer. | |
FDO_API_COMMON FdoStringP | Upper () const |
FDO_API_COMMON | ~FdoStringP (void) |
Destroys this string and releases its contents. | |
Static Public Member Functions | |
FDO_API_COMMON FdoStringP | Format (FdoString *wValue,...) |
Create a formatted string. | |
FDO_API_COMMON int | Utf8FromUnicode (const wchar_t *Wtext, char *str_out, int out_max_size, bool thrown_exception=true) |
FDO_API_COMMON int | Utf8FromUnicode (const wchar_t *Wtext, int in_size, char *str_out, int out_max_size, bool thrown_exception=true) |
DOXYGEN-IGNORE | |
int | Utf8Len (const char *utf8String) |
Return the length (in Unicode characters) of a UTF8 string. | |
FDO_API_COMMON int | Utf8ToUnicode (const char *str_in, wchar_t *Wtext, int out_size, bool thrown_exception=true) |
FDO_API_COMMON int | Utf8ToUnicode (const char *str_in, int in_size, wchar_t *Wtext, int out_size, bool thrown_exception=true) |
Static Public Attributes | |
FDO_API_COMMON const wchar_t * | mEmptyString |
Constant representing a zero-length string. |
|
Creates an empty string with value L"".
|
|
Creates a string from another string pointer.
|
|
Creates a string from a unicode (FdoString) string.
|
|
Creates a string from a utf8 string.
|
|
Destroys this string and releases its contents.
|
|
Checks for a sub-string.
|
|
Create a formatted string.
Referenced by operator+(). |
|
Referenced by FdoXmlAttribute::GetQName(). |
|
Case-insensitive string comparison.
|
|
|
|
Gets the characters to the left of the given sub-string.
|
|
|
|
Extracts a sub-string of this string.
|
|
|
|
|
|
Not Equals comparison operator.
Definition at line 233 of file StringP.h. References FDO_API_COMMON. |
|
Appends the contents of another string onto this string.
Definition at line 131 of file StringP.h. References FDO_API_COMMON, and FdoString. |
|
Various operators for concatenating str2 to this. Appends a unicode string onto this string.
Definition at line 117 of file StringP.h. References FDO_API_COMMON, and Format(). |
Here is the call graph for this function:
|
Appends the contents of another string onto this string.
Definition at line 160 of file StringP.h. References FDO_API_COMMON, and FdoString. |
|
Appends a unicode string onto this string.
Definition at line 145 of file StringP.h. References FDO_API_COMMON. |
|
Less than comparison operator.
Definition at line 261 of file StringP.h. References FDO_API_COMMON. |
|
Less than or Equals comparison operator.
Definition at line 247 of file StringP.h. References FDO_API_COMMON. |
|
Copies a string from a unicode string.
|
|
Copies a string from a utf8 string.
|
|
Operators to copy from other strings in various forms Copies a string from a string pointer.
|
|
Equals comparison operator.
Definition at line 219 of file StringP.h. References FDO_API_COMMON. |
|
Equals comparison operator.
Definition at line 205 of file StringP.h. References FDO_API_COMMON. |
|
Various comparison operators. Greater than comparison operator.
Definition at line 177 of file StringP.h. References FDO_API_COMMON. |
|
Greater than or equal comparison operator.
Definition at line 191 of file StringP.h. References FDO_API_COMMON. |
|
Replaces sub-strings.
|
|
Gets the characters to the right of the given sub-string.
|
|
Converts this string to a boolean.
|
|
Converts this string to a double precision number.
|
|
Converts this string to a long integer.
|
|
|
|
Utility function for converting from unicode to utf8. returned value is allocated and must be deleted by caller. |
|
DOXYGEN-IGNORE Utility function for converting from unicode to utf8. returned value is allocated and must be deleted by caller. |
|
Return the length (in Unicode characters) of a UTF8 string.
|
|
Utility function for converting from utf8 to unicode. returned value is allocated and must be deleted by caller. |
|
Utility function for converting from utf8 to unicode. returned value is allocated and must be deleted by caller. |
|
Constant representing a zero-length string.
|
Comments or suggestions? Send us feedback. |