GenericObject

Engine/source/persistence/rapidjson/document.h

Helper class for accessing Value of object type.

More...

Public Types

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

Public Friends

Public Attributes

T AllocatorType &allocator
return *

Private Attributes

Public Functions

bool
bool
EraseMember(const GenericValue< EncodingType, SourceAllocator > & name)
bool
HasMember(const Ch * name)
bool
HasMember(const GenericValue< EncodingType, SourceAllocator > & name)
bool
operator[](const GenericValue< EncodingType, SourceAllocator > & name)
RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >) , (GenericObject) )
RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >) , (ValueType &) )
bool
bool
RemoveMember(const GenericValue< EncodingType, SourceAllocator > & name)

Private Functions

Detailed Description

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
.

Public Types

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

Public Friends

Public Attributes

T AllocatorType &allocator const 
return * this 
T value 

Private Attributes

ValueType & value_ 

Public Functions

GenericObject(const GenericObject & rhs)

~GenericObject()

AddMember(StringRefType name, StringRefType value, AllocatorType & allocator)

AddMember(StringRefType name, ValueType & value, AllocatorType & allocator)

AddMember(ValueType & name, StringRefType value, AllocatorType & allocator)

AddMember(ValueType & name, ValueType & value, AllocatorType & allocator)

EraseMember(const Ch * name)

EraseMember(const GenericValue< EncodingType, SourceAllocator > & name)

EraseMember(ConstMemberIterator first, ConstMemberIterator last)

EraseMember(ConstMemberIterator pos)

FindMember(const Ch * name)

FindMember(const GenericValue< EncodingType, SourceAllocator > & name)

HasMember(const Ch * name)

HasMember(const GenericValue< EncodingType, SourceAllocator > & name)

MemberBegin()

MemberCapacity()

MemberCount()

MemberEnd()

MemberReserve(SizeType newCapacity, AllocatorType & allocator)

ObjectEmpty()

operator=(const GenericObject & rhs)

operator[](const GenericValue< EncodingType, SourceAllocator > & name)

operator[](T * name)

RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >) , (GenericObject) )

RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >) , (ValueType &) )

RemoveAllMembers()

RemoveMember(const Ch * name)

RemoveMember(const GenericValue< EncodingType, SourceAllocator > & name)

RemoveMember(MemberIterator m)

Private Functions

GenericObject()

GenericObject(ValueType & value)