#include "reader.h"#include "internal/meta.h"#include "internal/strfunc.h"#include "memorystream.h"#include "encodedstream.h"#include <new>#include <limits>#include <iterator>
Graphe des dépendances par inclusion de document.h:
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :Aller au code source de ce fichier.
Macros | |
| #define | RAPIDJSON_DEFAULT_ALLOCATOR ::RAPIDJSON_NAMESPACE::MemoryPoolAllocator<::RAPIDJSON_NAMESPACE::CrtAllocator> |
| Allows to choose default allocator. | |
| #define | RAPIDJSON_DEFAULT_STACK_ALLOCATOR ::RAPIDJSON_NAMESPACE::CrtAllocator |
| Allows to choose default stack allocator for Document. | |
| #define | RAPIDJSON_VALUE_DEFAULT_OBJECT_CAPACITY 16 |
| User defined kDefaultObjectCapacity value. | |
| #define | RAPIDJSON_VALUE_DEFAULT_ARRAY_CAPACITY 16 |
| User defined kDefaultArrayCapacity value. | |
Définitions de type | |
| typedef GenericValue< UTF8<> > | Value |
| GenericValue with UTF8 encoding. | |
| typedef GenericDocument< UTF8<> > | Document |
| GenericDocument with UTF8 encoding. | |
Variables | |
| template<typename CharType> | |
| const CharType | GenericStringRef< CharType >::emptyString [] = { CharType() } |
| typedef GenericDocument<UTF8<> > Document |
GenericDocument with UTF8 encoding.
Définition à la ligne 2891 du fichier document.h.
| typedef GenericValue<UTF8<> > Value |
GenericValue with UTF8 encoding.
Définition à la ligne 2487 du fichier document.h.
|
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 |
Définition à la ligne 455 du fichier document.h.
Référencé par GenericValue< Encoding, Allocator >::GenericValue(), GenericValue< Encoding, Allocator >::GenericValue(), GenericValue< Encoding, Allocator >::GenericValue(), et GenericValue< Encoding, Allocator >::GenericValue().
Voici le graphe des appelants de cette fonction :
|
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. |
Définition à la ligne 475 du fichier document.h.
| const CharType GenericStringRef< CharType >::emptyString[] = { CharType() } |
Définition à la ligne 440 du fichier document.h.