RetroArch
|
Helper class for accessing Value of object type. More...
#include <document.h>
Public Types | |
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 |
Public Attributes | |
T | value |
T AllocatorType &allocator | const { value_.AddMember(name, value, allocator) |
return * | this |
Private Member Functions | |
GenericObject () | |
GenericObject (ValueType &value) | |
Private Attributes | |
ValueType & | value_ |
Friends | |
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
.
typedef ValueType::AllocatorType GenericObject< Const, ValueT >::AllocatorType |
typedef ValueType::Ch GenericObject< Const, ValueT >::Ch |
typedef GenericMemberIterator<true, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::ConstMemberIterator |
typedef GenericObject<true, ValueT> GenericObject< Const, ValueT >::ConstObject |
typedef ValueType::EncodingType GenericObject< Const, ValueT >::EncodingType |
typedef GenericMemberIterator<Const, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::MemberIterator |
typedef GenericObject<false, ValueT> GenericObject< Const, ValueT >::Object |
typedef ValueT GenericObject< Const, ValueT >::PlainType |
typedef ValueType::StringRefType GenericObject< Const, ValueT >::StringRefType |
typedef internal::MaybeAddConst<Const,PlainType>::Type GenericObject< Const, ValueT >::ValueType |
|
inline |
|
inline |
|
private |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
GenericObject< Const, ValueT >::RAPIDJSON_DISABLEIF_RETURN | ( | (internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >) | , |
(ValueType &) | |||
) | & |
GenericObject< Const, ValueT >::RAPIDJSON_DISABLEIF_RETURN | ( | (internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >) | , |
(GenericObject< Const, ValueT >) | |||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
T AllocatorType &allocator GenericObject< Const, ValueT >::const { value_.AddMember(name, value, allocator) |
return * GenericObject< Const, ValueT >::this |
T GenericObject< Const, ValueT >::value |
|
private |