3ds Max C++ API Reference
|
Functions | |
MaxStringCastCP | ToCP (UINT codepage, size_t *length=NULL) const |
Returns a MaxStringCastCP which in turn enables casting to a char array encoded with a specific code page. | |
MaxStringCast< char > | ToACP (size_t *length=NULL) const |
Cast this object to a char array using Active Code Page encoding. | |
MaxStringCastUTF8 | ToUTF8 (size_t *length=NULL) const |
Cast this object to a UTF8 encoded string. | |
MaxStringCast< wchar_t > | ToUTF16 (size_t *length=NULL) const |
Cast this object to a UTF16 or UNICODE encoded string. | |
MaxStringCast< unsigned int > | ToUTF32 (size_t *length=NULL) const |
Cast this object to a UTF32 encoded string. | |
MaxStringCastCP ToCP | ( | UINT | codepage, |
size_t * | length = NULL |
||
) | const |
Returns a MaxStringCastCP which in turn enables casting to a char array encoded with a specific code page.
The char array held by the MaxStringCastCP instance is valid as long as the instance is valid.
codepage | - The code page to convert to |
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |
MaxStringCast< char > ToACP | ( | size_t * | length = NULL | ) | const |
Cast this object to a char array using Active Code Page encoding.
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |
MaxStringCastUTF8 ToUTF8 | ( | size_t * | length = NULL | ) | const |
Cast this object to a UTF8 encoded string.
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |
MaxStringCast< wchar_t > ToUTF16 | ( | size_t * | length = NULL | ) | const |
Cast this object to a UTF16 or UNICODE encoded string.
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |
MaxStringCast< unsigned int > ToUTF32 | ( | size_t * | length = NULL | ) | const |
Cast this object to a UTF32 encoded string.
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |