|
3ds Max C++ API Reference
|
Methods for Creating MaxString instances. More...
Functions | |
| static MaxString | FromCP (UINT codepage, const char *string, size_t length=(size_t) -1) |
| Construct a MaxString that will contain a copy of a string passed in. | |
| static MaxString | FromACP (const char *string, size_t length=(size_t) -1) |
| Construct a MaxString from an Active Code Page encoded string. | |
| static MaxString | FromUTF8 (const char *string, size_t length=(size_t) -1) |
| Construct a MaxString from a UTF8 encoded string. | |
| static MaxString | FromUTF16 (const wchar_t *string, size_t length=(size_t) -1) |
| Construct a MaxString from a UTF16 encoded wide string. | |
| static MaxString | FromUTF32 (const unsigned int *string, size_t length=(size_t) -1) |
| Construct a MaxString from a UTF32 encoded wide string. | |
| static MaxString | FromWin32Error (DWORD err) |
| Generate a MaxString out of Win32 error code. | |
| static MaxString | FromAnsiError (int err) |
| Generate a MaxString out of an ANSI error code. | |
Methods for Creating MaxString instances.
Construct a MaxString that will contain a copy of a string passed in.
| codepage | - The code page of the string that is passed in |
| string | - The string to copy |
| length | - The length of the string that is passed in. Use this when the string length is already known. Doing so will increase performance. |