|
| WStr () |
|
| WStr (const wchar_t *wcstr) |
|
| WStr (const WStr &ws) |
|
| WStr (const MaxSDK::Util::MaxString &ws) |
|
| WStr (const MaxSDK::Util::MaxStringCast< WCHAR > &ws) |
|
| WStr (const QString &qstring) |
| Conversion constructor, from QString. More...
|
|
| ~WStr () |
|
wchar_t * | dataForWrite (size_t nchars=(size_t) -1) |
| Returns a pointer to this string which can be written to with up to 'nchars' characters. More...
|
|
const wchar_t * | data () const |
|
| operator const wchar_t * () const |
|
| operator QString () const |
| Conversion operator to QString. More...
|
|
void | Resize (int nchars) |
|
int | Length () const |
|
int | length () const |
|
int | ByteCount () const |
|
int | LanguageCharacterCount () const |
|
size_t | AllocatedChars () const |
|
bool | isNull () const |
|
WStr & | operator= (const WStr &ws) |
|
WStr & | operator= (const MaxSDK::Util::MaxString &mstr) |
|
WStr & | operator= (const wchar_t *wcstr) |
|
WStr & | operator= (const MaxSDK::Util::MaxStringCast< WCHAR > &mstr) |
|
WStr | operator+ (const WStr &ws) const |
|
WStr & | operator+= (const WStr &ws) |
|
WStr & | Append (const WStr &ws) |
|
WStr & | append (const WStr &ws) |
|
WStr & | remove (int pos) |
|
WStr & | remove (int pos, int N) |
|
WStr | Substr (int start, int nchars) const |
|
wchar_t | operator[] (int i) const |
| Returns the nth character of this string. More...
|
|
int | first (wchar_t c) const |
|
int | last (wchar_t c) const |
|
bool | operator== (const WStr &ws) const |
|
bool | operator== (wchar_t c) const |
|
bool | operator!= (const WStr &ws) const |
|
bool | operator!= (wchar_t c) const |
|
bool | operator< (const WStr &ws) const |
|
bool | operator<= (const WStr &ws) const |
|
bool | operator> (const WStr &ws) const |
|
bool | operator>= (const WStr &ws) const |
|
void | toUpper () |
|
void | toLower () |
|
int | printf (const wchar_t *format,...) |
| Write a formatted string into this WStr. More...
|
|
int | printf_l (const wchar_t *format, const _locale_t theLocale,...) |
| Write a formatted string into this WStr using specified locale. More...
|
|
int | vprintf (const wchar_t *format, va_list args) |
| Write a formatted string into this WStr. More...
|
|
int | vprintf_l (const wchar_t *format, const _locale_t theLocale, va_list args) |
| Write a formatted string into this WStr specified locale. More...
|
|
WStr | MultiByteCharacterSubString (int firstCharacterIndex, int numberOfMBCharacters) const |
|
wchar_t * | ToBSTR () const |
|
MaxSDK::Util::MaxStringCastCP | ToCP (UINT cp, size_t *length=NULL) const |
|
MaxSDK::Util::MaxStringCast< char > | ToACP (size_t *length=NULL) const |
|
MaxSDK::Util::MaxStringCastUTF8 | ToUTF8 (size_t *length=NULL) const |
|
MaxSDK::Util::MaxStringCast< WCHAR > | ToOLESTR (size_t *length=NULL) const |
|
MaxSDK::Util::MaxStringCast< WCHAR > | ToUTF16 (size_t *length=NULL) const |
|
MaxSDK::Util::MaxStringCast< unsigned int > | ToUTF32 (size_t *length=NULL) const |
|
MaxSDK::Util::MaxString | ToMaxString () const |
|
void | ToMaxString (MaxSDK::Util::MaxString &) const |
|
CStr | ToCStr () const |
|
WStr | ToWStr () const |
|
const wchar_t * | ToMCHAR (size_t *length=NULL) const |
|
WStr | ToMSTR () const |
|
bool | EndsWith (const WStr &s, bool caseSensitive=true) |
| Returns true if the string ends with s; otherwise returns false. More...
|
|
bool | EndsWith (wchar_t c, bool caseSensitive=true) |
| Returns true if the string ends with c; otherwise returns false. More...
|
|
bool | StartsWith (const WStr &s, bool caseSensitive=true) |
| Returns true if the string starts with s; otherwise returns false. More...
|
|
bool | StartsWith (wchar_t c, bool caseSensitive=true) |
| Returns true if the string starts with c; otherwise returns false. More...
|
|
size_t | NumberOfLines () const |
| Returns the number of line feeds inside a string. More...
|
|
size_t | Replace (const wchar_t *pFind, const wchar_t *pReplaceBy, bool firstOnly=false, size_t startPosition=0) |
| Replaces one substring with another in this string. More...
|
|
|
static WStr | FromBSTR (const wchar_t *string, size_t length=(size_t) -1) |
|
static WStr | FromCP (UINT cp, const char *string, size_t length=(size_t) -1) |
|
static WStr | FromACP (const char *string, size_t length=(size_t) -1) |
|
static WStr | FromUTF8 (const char *string, size_t length=(size_t) -1) |
|
static WStr | FromOLESTR (const wchar_t *string, size_t length=(size_t) -1) |
|
static WStr | FromUTF16 (const wchar_t *string, size_t length=(size_t) -1) |
|
static WStr | FromUTF32 (const unsigned int *string, size_t length=(size_t) -1) |
|
static WStr | FromMaxString (MaxSDK::Util::MaxString &string) |
|
static WStr | FromCStr (const CStr &string) |
|
static WStr | FromWStr (const WStr &string) |
|
static WStr | FromMCHAR (const wchar_t *string, size_t length=(size_t) -1) |
|
static WStr | FromMSTR (const WStr &string) |
|
static UtilExport void * | operator new (size_t size) |
| Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
| Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate arrays of objects. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void | operator delete (void *ptr) |
| Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
| Placement new operator. More...
|
|
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
| Placement delete operator. More...
|
|
static UtilExport void * | aligned_malloc (size_t size, size_t alignment) |
| Allocates memory on a specified alignment boundary. More...
|
|
static UtilExport void * | aligned_realloc (void *ptr, size_t size, size_t alignment) |
| Reallocates memory on a specified alignment boundary. More...
|
|
static UtilExport void | aligned_free (void *ptr) |
| Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
|
|