|
| struct | GenericValue< Encoding, Allocator >::ArrayData |
| |
| struct | GenericDocument< Encoding, Allocator, StackAllocator >::ClearStackOnExit |
| |
| union | GenericValue< Encoding, Allocator >::Data |
| |
| struct | GenericValue< Encoding, Allocator >::Flag |
| |
| class | GenericArray< Const, ValueT > |
| | Helper class for accessing Value of array type. More...
|
| |
| class | GenericArray< Const, ValueT > |
| | Helper class for accessing Value of array type. More...
|
| |
| class | GenericDocument< Encoding, Allocator, StackAllocator > |
| | A document for parsing JSON text as DOM. More...
|
| |
| class | GenericDocument< Encoding, Allocator, StackAllocator > |
| | A document for parsing JSON text as DOM. More...
|
| |
| struct | GenericMember< Encoding, Allocator > |
| | Name-value pair in a JSON object value. More...
|
| |
| class | GenericMemberIterator< Const, Encoding, Allocator > |
| | (Constant) member iterator for a JSON object value More...
|
| |
| class | GenericObject< Const, ValueT > |
| | Helper class for accessing Value of object type. More...
|
| |
| class | GenericObject< Const, ValueT > |
| | Helper class for accessing Value of object type. More...
|
| |
| struct | GenericStringRef< CharType > |
| | Reference to a constant string (not taking a copy) More...
|
| |
| class | GenericValue< Encoding, Allocator > |
| | Represents a JSON value. Use Value for UTF8 encoding and default allocator. More...
|
| |
| class | GenericValue< Encoding, Allocator > |
| | Represents a JSON value. Use Value for UTF8 encoding and default allocator. More...
|
| |
| struct | GenericValue< Encoding, Allocator >::Number::I |
| |
| struct | internal::IsGenericValue< T > |
| |
| struct | internal::IsGenericValueImpl< T, Encoding, Allocator > |
| |
| struct | internal::IsGenericValueImpl< T, typename Void< typename T::EncodingType >::Type, typename Void< typename T::AllocatorType >::Type > |
| |
| union | GenericValue< Encoding, Allocator >::Number |
| |
| struct | GenericValue< Encoding, Allocator >::ObjectData |
| |
| struct | GenericValue< Encoding, Allocator >::ShortString |
| |
| struct | GenericValue< Encoding, Allocator >::String |
| |
| struct | internal::TypeHelper< ValueType, T > |
| |
| struct | internal::TypeHelper< ValueType, bool > |
| |
| struct | internal::TypeHelper< ValueType, const typename ValueType::Ch * > |
| |
| struct | internal::TypeHelper< ValueType, double > |
| |
| struct | internal::TypeHelper< ValueType, float > |
| |
| struct | internal::TypeHelper< ValueType, int > |
| |
| struct | internal::TypeHelper< ValueType, int64_t > |
| |
| struct | internal::TypeHelper< ValueType, typename ValueType::Array > |
| |
| struct | internal::TypeHelper< ValueType, typename ValueType::ConstArray > |
| |
| struct | internal::TypeHelper< ValueType, typename ValueType::ConstObject > |
| |
| struct | internal::TypeHelper< ValueType, typename ValueType::Object > |
| |
| struct | internal::TypeHelper< ValueType, uint64_t > |
| |
| struct | internal::TypeHelper< ValueType, unsigned > |
| |
| struct | GenericValue< Encoding, Allocator >::Number::U |
| |
template<typename CharType >
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.
- Template Parameters
-
| CharType | character type of the string |
- Parameters
-
| 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. |
- Returns
- GenericStringRef string reference object
Definition at line 385 of file document.h.