Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du fichier document.h
#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.

Classes

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

Définitions de type

typedef GenericValue< UTF8<> > Value
 GenericValue with UTF8 encoding.
 
typedef GenericDocument< UTF8<> > Document
 GenericDocument with UTF8 encoding.
 

Fonctions

template<typename CharType >
GenericStringRef< CharType > StringRef (const CharType *str)
 Mark a character pointer as constant string.
 
template<typename CharType >
GenericStringRef< CharType > StringRef (const CharType *str, size_t length)
 Mark a character pointer as constant string.
 

Documentation des définitions de type

◆ Document

GenericDocument with UTF8 encoding.

Définition à la ligne 2537 du fichier document.h.

◆ Value

typedef GenericValue<UTF8<> > Value

GenericValue with UTF8 encoding.

Définition à la ligne 2141 du fichier document.h.

Documentation des fonctions

◆ StringRef() [1/2]

template<typename CharType >
GenericStringRef< CharType > StringRef ( const CharType *  str)
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.

Paramètres du template
CharTypeCharacter type of the string
Paramètres
strConstant string, lifetime assumed to be longer than the use of the string in e.g. a GenericValue
Renvoie
GenericStringRef string reference object
Voir également
GenericValue::GenericValue(StringRefType), GenericValue::operator=(StringRefType), GenericValue::SetString(StringRefType), GenericValue::PushBack(StringRefType, Allocator&), GenericValue::AddMember

Définition à la ligne 395 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().

◆ StringRef() [2/2]

template<typename CharType >
GenericStringRef< CharType > StringRef ( const CharType *  str,
size_t  length 
)
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.

Paramètres du template
CharTypecharacter type of the string
Paramètres
strConstant string, lifetime assumed to be longer than the use of the string in e.g. a GenericValue
lengthThe length of source string.
Renvoie
GenericStringRef string reference object

Définition à la ligne 415 du fichier document.h.