Helper class for accessing Value of object type. Plus de détails...
#include <arcane/utils/internal/json/rapidjson/document.h>
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) | |
GenericObject & | operator= (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 | |
T | 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 |
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.
typedef ValueType::AllocatorType GenericObject< Const, ValueT >::AllocatorType |
Définition à la ligne 2962 du fichier document.h.
typedef ValueType::Ch GenericObject< Const, ValueT >::Ch |
Définition à la ligne 2965 du fichier document.h.
typedef GenericMemberIterator<true, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::ConstMemberIterator |
Définition à la ligne 2961 du fichier document.h.
typedef GenericObject<true, ValueT> GenericObject< Const, ValueT >::ConstObject |
Définition à la ligne 2956 du fichier document.h.
typedef ValueType::EncodingType GenericObject< Const, ValueT >::EncodingType |
Définition à la ligne 2964 du fichier document.h.
typedef GenericMemberIterator<Const, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::MemberIterator |
Définition à la ligne 2960 du fichier document.h.
typedef GenericObject<false, ValueT> GenericObject< Const, ValueT >::Object |
Définition à la ligne 2957 du fichier document.h.
typedef ValueT GenericObject< Const, ValueT >::PlainType |
Définition à la ligne 2958 du fichier document.h.
typedef ValueType::StringRefType GenericObject< Const, ValueT >::StringRefType |
Définition à la ligne 2963 du fichier document.h.
typedef internal::MaybeAddConst<Const,PlainType>::Type GenericObject< Const, ValueT >::ValueType |
Définition à la ligne 2959 du fichier document.h.
|
inline |
Définition à la ligne 2970 du fichier document.h.
|
inline |
Définition à la ligne 2972 du fichier document.h.
|
inlineprivate |
Définition à la ligne 3033 du fichier document.h.
|
inline |
Définition à la ligne 3009 du fichier document.h.
|
inline |
Définition à la ligne 3008 du fichier document.h.
|
inline |
Définition à la ligne 2997 du fichier document.h.
|
inline |
Définition à la ligne 2996 du fichier document.h.
|
inline |
Définition à la ligne 3020 du fichier document.h.
|
inline |
Définition à la ligne 3024 du fichier document.h.
|
inline |
Définition à la ligne 3019 du fichier document.h.
|
inline |
Définition à la ligne 3018 du fichier document.h.
|
inline |
Définition à la ligne 2991 du fichier document.h.
|
inline |
Définition à la ligne 2992 du fichier document.h.
|
inline |
Définition à la ligne 2986 du fichier document.h.
|
inline |
Définition à la ligne 2990 du fichier document.h.
|
inline |
Définition à la ligne 2983 du fichier document.h.
|
inline |
Définition à la ligne 2976 du fichier document.h.
|
inline |
Définition à la ligne 2975 du fichier document.h.
|
inline |
Définition à la ligne 2984 du fichier document.h.
|
inline |
Définition à la ligne 2985 du fichier document.h.
|
inline |
Définition à la ligne 2977 du fichier document.h.
|
inline |
Définition à la ligne 2974 du fichier document.h.
|
inline |
Définition à la ligne 2971 du fichier document.h.
|
inline |
Définition à la ligne 2979 du fichier document.h.
|
inline |
Définition à la ligne 2978 du fichier document.h.
|
inline |
Définition à la ligne 3011 du fichier document.h.
|
inline |
Définition à la ligne 3012 du fichier document.h.
|
inline |
Définition à la ligne 3016 du fichier document.h.
|
inline |
Définition à la ligne 3017 du fichier document.h.
Définition à la ligne 2968 du fichier document.h.
T AllocatorType &allocator GenericObject< Const, ValueT >::const { value_.AddMember(name, value, allocator) |
Définition à la ligne 3001 du fichier document.h.
return * GenericObject< Const, ValueT >::this |
Définition à la ligne 3001 du fichier document.h.
T GenericObject< Const, ValueT >::value |
Définition à la ligne 3001 du fichier document.h.
|
private |
Définition à la ligne 3034 du fichier document.h.