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
.
Definition at line 559 of file document.h.
typedef ValueType::AllocatorType GenericObject< Const, ValueT >::AllocatorType |
Definition at line 2571 of file document.h.
typedef ValueType::Ch GenericObject< Const, ValueT >::Ch |
Definition at line 2574 of file document.h.
typedef GenericMemberIterator<true, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::ConstMemberIterator |
Definition at line 2570 of file document.h.
typedef GenericObject<true, ValueT> GenericObject< Const, ValueT >::ConstObject |
Definition at line 2565 of file document.h.
typedef ValueType::EncodingType GenericObject< Const, ValueT >::EncodingType |
Definition at line 2573 of file document.h.
typedef GenericMemberIterator<Const, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::MemberIterator |
Definition at line 2569 of file document.h.
typedef GenericObject<false, ValueT> GenericObject< Const, ValueT >::Object |
Definition at line 2566 of file document.h.
typedef ValueT GenericObject< Const, ValueT >::PlainType |
Definition at line 2567 of file document.h.
typedef ValueType::StringRefType GenericObject< Const, ValueT >::StringRefType |
Definition at line 2572 of file document.h.
typedef internal::MaybeAddConst<Const,PlainType>::Type GenericObject< Const, ValueT >::ValueType |
Definition at line 2568 of file document.h.
|
inline |
Definition at line 2579 of file document.h.
|
inline |
Definition at line 2581 of file document.h.
|
private |
|
inlineprivate |
Definition at line 2641 of file document.h.
|
inline |
Definition at line 2604 of file document.h.
|
inline |
Definition at line 2605 of file document.h.
|
inline |
Definition at line 2616 of file document.h.
|
inline |
Definition at line 2617 of file document.h.
|
inline |
Definition at line 2626 of file document.h.
|
inline |
Definition at line 2627 of file document.h.
|
inline |
Definition at line 2628 of file document.h.
|
inline |
Definition at line 2632 of file document.h.
|
inline |
Definition at line 2599 of file document.h.
|
inline |
Definition at line 2600 of file document.h.
|
inline |
Definition at line 2594 of file document.h.
|
inline |
Definition at line 2598 of file document.h.
|
inline |
Definition at line 2591 of file document.h.
|
inline |
Definition at line 2584 of file document.h.
|
inline |
Definition at line 2583 of file document.h.
|
inline |
Definition at line 2592 of file document.h.
|
inline |
Definition at line 2593 of file document.h.
|
inline |
Definition at line 2585 of file document.h.
|
inline |
Definition at line 2580 of file document.h.
|
inline |
Definition at line 2586 of file document.h.
|
inline |
Definition at line 2587 of file document.h.
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 |
Definition at line 2619 of file document.h.
|
inline |
Definition at line 2620 of file document.h.
|
inline |
Definition at line 2624 of file document.h.
|
inline |
Definition at line 2625 of file document.h.
|
friend |
Definition at line 2577 of file document.h.
T AllocatorType &allocator GenericObject< Const, ValueT >::const { value_.AddMember(name, value, allocator) |
Definition at line 2609 of file document.h.
return * GenericObject< Const, ValueT >::this |
Definition at line 2609 of file document.h.
T GenericObject< Const, ValueT >::value |
Definition at line 2609 of file document.h.
|
private |
Definition at line 2642 of file document.h.