Arcane  v3.16.8.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe GenericObject< Const, ValueT >

Helper class for accessing Value of object type. Plus de détails...

#include <arcane/utils/internal/json/rapidjson/document.h>

+ Graphe de collaboration de GenericObject< Const, ValueT >:

Types publics

typedef GenericObject< true, ValueT > ConstObject
 
typedef GenericObject< false, ValueT > Object
 
typedef ValueT PlainType
 
typedef internal::MaybeAddConst< Const, PlainType >::Type ValueType
 
typedef GenericMemberIterator< Const, typename ValueT::EncodingType, typename ValueT::AllocatorType > MemberIterator
 
typedef GenericMemberIterator< true, typename ValueT::EncodingType, typename ValueT::AllocatorType > ConstMemberIterator
 
typedef ValueType::AllocatorType AllocatorType
 
typedef ValueType::StringRefType StringRefType
 
typedef ValueType::EncodingType EncodingType
 
typedef ValueType::Ch Ch
 

Fonctions membres publiques

 GenericObject (const GenericObject &rhs)
 
GenericObjectoperator= (const GenericObject &rhs)
 
 operator ValueType & () const
 
SizeType MemberCount () const
 
SizeType MemberCapacity () const
 
bool ObjectEmpty () const
 
template<typename T>
ValueType & operator[] (T *name) const
 
template<typename SourceAllocator>
ValueType & operator[] (const GenericValue< EncodingType, SourceAllocator > &name) const
 
MemberIterator MemberBegin () const
 
MemberIterator MemberEnd () const
 
GenericObject MemberReserve (SizeType newCapacity, AllocatorType &allocator) const
 
bool HasMember (const Ch *name) const
 
template<typename SourceAllocator>
bool HasMember (const GenericValue< EncodingType, SourceAllocator > &name) const
 
MemberIterator FindMember (const Ch *name) const
 
template<typename SourceAllocator>
MemberIterator FindMember (const GenericValue< EncodingType, SourceAllocator > &name) const
 
GenericObject AddMember (ValueType &name, ValueType &value, AllocatorType &allocator) const
 
GenericObject AddMember (ValueType &name, StringRefType value, AllocatorType &allocator) const
 
template<typename T>
 RAPIDJSON_DISABLEIF_RETURN ((internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >),(ValueType &)) AddMember(ValueType &name
 
GenericObject AddMember (StringRefType name, ValueType &value, AllocatorType &allocator) const
 
GenericObject AddMember (StringRefType name, StringRefType value, AllocatorType &allocator) const
 
template<typename T>
 RAPIDJSON_DISABLEIF_RETURN ((internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >),(GenericObject)) AddMember(StringRefType name
 
void RemoveAllMembers ()
 
bool RemoveMember (const Ch *name) const
 
template<typename SourceAllocator>
bool RemoveMember (const GenericValue< EncodingType, SourceAllocator > &name) const
 
MemberIterator RemoveMember (MemberIterator m) const
 
MemberIterator EraseMember (ConstMemberIterator pos) const
 
MemberIterator EraseMember (ConstMemberIterator first, ConstMemberIterator last) const
 
bool EraseMember (const Ch *name) const
 
template<typename SourceAllocator>
bool EraseMember (const GenericValue< EncodingType, SourceAllocator > &name) const
 

Attributs publics

value
 
T AllocatorType &allocator const { value_.AddMember(name, value, allocator)
 
return * this
 

Fonctions membres privées

 GenericObject (ValueType &value)
 

Attributs privés

ValueType & value_
 

Amis

template<typename, typename>
class GenericValue
 

Description détaillée

template<bool Const, typename ValueT>
class GenericObject< Const, ValueT >

Helper class for accessing Value of object type.

Instance of this helper class is obtained by GenericValue::GetObject(). In addition to all APIs for array type, it provides range-based for loop if RAPIDJSON_HAS_CXX11_RANGE_FOR=1.

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

Documentation des définitions de type membres

◆ AllocatorType

template<bool Const, typename ValueT>
typedef ValueType::AllocatorType GenericObject< Const, ValueT >::AllocatorType

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

◆ Ch

template<bool Const, typename ValueT>
typedef ValueType::Ch GenericObject< Const, ValueT >::Ch

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

◆ ConstMemberIterator

template<bool Const, typename ValueT>
typedef GenericMemberIterator<true, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::ConstMemberIterator

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

◆ ConstObject

template<bool Const, typename ValueT>
typedef GenericObject<true, ValueT> GenericObject< Const, ValueT >::ConstObject

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

◆ EncodingType

template<bool Const, typename ValueT>
typedef ValueType::EncodingType GenericObject< Const, ValueT >::EncodingType

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

◆ MemberIterator

template<bool Const, typename ValueT>
typedef GenericMemberIterator<Const, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::MemberIterator

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

◆ Object

template<bool Const, typename ValueT>
typedef GenericObject<false, ValueT> GenericObject< Const, ValueT >::Object

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

◆ PlainType

template<bool Const, typename ValueT>
typedef ValueT GenericObject< Const, ValueT >::PlainType

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

◆ StringRefType

template<bool Const, typename ValueT>
typedef ValueType::StringRefType GenericObject< Const, ValueT >::StringRefType

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

◆ ValueType

template<bool Const, typename ValueT>
typedef internal::MaybeAddConst<Const,PlainType>::Type GenericObject< Const, ValueT >::ValueType

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

Documentation des constructeurs et destructeur

◆ GenericObject() [1/2]

template<bool Const, typename ValueT>
GenericObject< Const, ValueT >::GenericObject ( const GenericObject< Const, ValueT > & rhs)
inline

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

◆ ~GenericObject()

template<bool Const, typename ValueT>
GenericObject< Const, ValueT >::~GenericObject ( )
inline

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

◆ GenericObject() [2/2]

template<bool Const, typename ValueT>
GenericObject< Const, ValueT >::GenericObject ( ValueType & value)
inlineprivate

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

Documentation des fonctions membres

◆ AddMember() [1/4]

template<bool Const, typename ValueT>
GenericObject GenericObject< Const, ValueT >::AddMember ( StringRefType name,
StringRefType value,
AllocatorType & allocator ) const
inline

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

◆ AddMember() [2/4]

template<bool Const, typename ValueT>
GenericObject GenericObject< Const, ValueT >::AddMember ( StringRefType name,
ValueType & value,
AllocatorType & allocator ) const
inline

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

◆ AddMember() [3/4]

template<bool Const, typename ValueT>
GenericObject GenericObject< Const, ValueT >::AddMember ( ValueType & name,
StringRefType value,
AllocatorType & allocator ) const
inline

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

◆ AddMember() [4/4]

template<bool Const, typename ValueT>
GenericObject GenericObject< Const, ValueT >::AddMember ( ValueType & name,
ValueType & value,
AllocatorType & allocator ) const
inline

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

◆ EraseMember() [1/4]

template<bool Const, typename ValueT>
bool GenericObject< Const, ValueT >::EraseMember ( const Ch * name) const
inline

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

◆ EraseMember() [2/4]

template<bool Const, typename ValueT>
template<typename SourceAllocator>
bool GenericObject< Const, ValueT >::EraseMember ( const GenericValue< EncodingType, SourceAllocator > & name) const
inline

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

◆ EraseMember() [3/4]

template<bool Const, typename ValueT>
MemberIterator GenericObject< Const, ValueT >::EraseMember ( ConstMemberIterator first,
ConstMemberIterator last ) const
inline

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

◆ EraseMember() [4/4]

template<bool Const, typename ValueT>
MemberIterator GenericObject< Const, ValueT >::EraseMember ( ConstMemberIterator pos) const
inline

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

◆ FindMember() [1/2]

template<bool Const, typename ValueT>
MemberIterator GenericObject< Const, ValueT >::FindMember ( const Ch * name) const
inline

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

◆ FindMember() [2/2]

template<bool Const, typename ValueT>
template<typename SourceAllocator>
MemberIterator GenericObject< Const, ValueT >::FindMember ( const GenericValue< EncodingType, SourceAllocator > & name) const
inline

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

◆ HasMember() [1/2]

template<bool Const, typename ValueT>
bool GenericObject< Const, ValueT >::HasMember ( const Ch * name) const
inline

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

◆ HasMember() [2/2]

template<bool Const, typename ValueT>
template<typename SourceAllocator>
bool GenericObject< Const, ValueT >::HasMember ( const GenericValue< EncodingType, SourceAllocator > & name) const
inline

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

◆ MemberBegin()

template<bool Const, typename ValueT>
MemberIterator GenericObject< Const, ValueT >::MemberBegin ( ) const
inline

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

◆ MemberCapacity()

template<bool Const, typename ValueT>
SizeType GenericObject< Const, ValueT >::MemberCapacity ( ) const
inline

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

◆ MemberCount()

template<bool Const, typename ValueT>
SizeType GenericObject< Const, ValueT >::MemberCount ( ) const
inline

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

◆ MemberEnd()

template<bool Const, typename ValueT>
MemberIterator GenericObject< Const, ValueT >::MemberEnd ( ) const
inline

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

◆ MemberReserve()

template<bool Const, typename ValueT>
GenericObject GenericObject< Const, ValueT >::MemberReserve ( SizeType newCapacity,
AllocatorType & allocator ) const
inline

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

◆ ObjectEmpty()

template<bool Const, typename ValueT>
bool GenericObject< Const, ValueT >::ObjectEmpty ( ) const
inline

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

◆ operator ValueType &()

template<bool Const, typename ValueT>
GenericObject< Const, ValueT >::operator ValueType & ( ) const
inline

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

◆ operator=()

template<bool Const, typename ValueT>
GenericObject & GenericObject< Const, ValueT >::operator= ( const GenericObject< Const, ValueT > & rhs)
inline

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

◆ operator[]() [1/2]

template<bool Const, typename ValueT>
template<typename SourceAllocator>
ValueType & GenericObject< Const, ValueT >::operator[] ( const GenericValue< EncodingType, SourceAllocator > & name) const
inline

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

◆ operator[]() [2/2]

template<bool Const, typename ValueT>
template<typename T>
ValueType & GenericObject< Const, ValueT >::operator[] ( T * name) const
inline

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

◆ RemoveAllMembers()

template<bool Const, typename ValueT>
void GenericObject< Const, ValueT >::RemoveAllMembers ( )
inline

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

◆ RemoveMember() [1/3]

template<bool Const, typename ValueT>
bool GenericObject< Const, ValueT >::RemoveMember ( const Ch * name) const
inline

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

◆ RemoveMember() [2/3]

template<bool Const, typename ValueT>
template<typename SourceAllocator>
bool GenericObject< Const, ValueT >::RemoveMember ( const GenericValue< EncodingType, SourceAllocator > & name) const
inline

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

◆ RemoveMember() [3/3]

template<bool Const, typename ValueT>
MemberIterator GenericObject< Const, ValueT >::RemoveMember ( MemberIterator m) const
inline

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

Documentation des fonctions amies et associées

◆ GenericValue

template<bool Const, typename ValueT>
template<typename, typename>
friend class GenericValue
friend

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

Documentation des données membres

◆ const

template<bool Const, typename ValueT>
T AllocatorType &allocator GenericObject< Const, ValueT >::const { value_.AddMember(name, value, allocator)

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

◆ this

template<bool Const, typename ValueT>
return * GenericObject< Const, ValueT >::this

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

◆ value

template<bool Const, typename ValueT>
T GenericObject< Const, ValueT >::value

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

◆ value_

template<bool Const, typename ValueT>
ValueType& GenericObject< Const, ValueT >::value_
private

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


La documentation de cette classe a été générée à partir du fichier suivant :