|
Assimp v3.1.1 (June 2014)
|
Namespaces | |
| namespace | internal |
Macros | |
| #define | RAPIDJSON_HAS_STDSTRING 0 |
Enable RapidJSON support for std::string. More... | |
Typedefs | |
| typedef GenericDocument< UTF8<> > | Document |
| GenericDocument with UTF8 encoding. More... | |
| typedef GenericValue< UTF8<> > | Value |
| GenericValue with UTF8 encoding. More... | |
Functions | |
| template<typename CharType > | |
| GenericStringRef< CharType > | StringRef (const CharType *str) |
| Mark a character pointer as constant string. More... | |
| template<typename CharType > | |
| GenericStringRef< CharType > | StringRef (const CharType *str, size_t length) |
| Mark a character pointer as constant string. More... | |
| typedef GenericDocument<UTF8<> > Document |
GenericDocument with UTF8 encoding.
| typedef GenericValue<UTF8<> > Value |
GenericValue with UTF8 encoding.
|
inline |
Mark a character pointer as constant string.
Mark a plain character pointer as a "string literal". This function can be used to avoid copying a character string to be referenced as a value in a JSON GenericValue object, if the string's lifetime is known to be valid long enough.
| CharType | Character type of the string |
| str | Constant string, lifetime assumed to be longer than the use of the string in e.g. a GenericValue |
|
inline |
Mark a character pointer as constant string.
Mark a plain character pointer as a "string literal". This function can be used to avoid copying a character string to be referenced as a value in a JSON GenericValue object, if the string's lifetime is known to be valid long enough.
This version has better performance with supplied length, and also supports string containing null characters.
| CharType | character type of the string |
| str | Constant string, lifetime assumed to be longer than the use of the string in e.g. a GenericValue |
| length | The length of source string. |