Helper class for accessing Value of object type. More...
#include <document.h>
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 Attributes | |
T AllocatorType &allocator | const { value_.AddMember(name, value, allocator) |
return * | this |
T | value |
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 543 of file document.h.
typedef ValueType::AllocatorType GenericObject< Const, ValueT >::AllocatorType |
Definition at line 2546 of file document.h.
typedef ValueType::Ch GenericObject< Const, ValueT >::Ch |
Definition at line 2549 of file document.h.
typedef GenericMemberIterator<true, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::ConstMemberIterator |
Definition at line 2545 of file document.h.
typedef GenericObject<true, ValueT> GenericObject< Const, ValueT >::ConstObject |
Definition at line 2540 of file document.h.
typedef ValueType::EncodingType GenericObject< Const, ValueT >::EncodingType |
Definition at line 2548 of file document.h.
typedef GenericMemberIterator<Const, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::MemberIterator |
Definition at line 2544 of file document.h.
typedef GenericObject<false, ValueT> GenericObject< Const, ValueT >::Object |
Definition at line 2541 of file document.h.
typedef ValueT GenericObject< Const, ValueT >::PlainType |
Definition at line 2542 of file document.h.
typedef ValueType::StringRefType GenericObject< Const, ValueT >::StringRefType |
Definition at line 2547 of file document.h.
typedef internal::MaybeAddConst<Const,PlainType>::Type GenericObject< Const, ValueT >::ValueType |
Definition at line 2543 of file document.h.
|
inline |
Definition at line 2554 of file document.h.
|
inline |
Definition at line 2556 of file document.h.
|
private |
|
inlineprivate |
Definition at line 2614 of file document.h.
|
inline |
Definition at line 2577 of file document.h.
|
inline |
Definition at line 2578 of file document.h.
|
inline |
Definition at line 2589 of file document.h.
|
inline |
Definition at line 2590 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 2601 of file document.h.
|
inline |
Definition at line 2605 of file document.h.
|
inline |
Definition at line 2572 of file document.h.
|
inline |
Definition at line 2573 of file document.h.
|
inline |
Definition at line 2567 of file document.h.
|
inline |
Definition at line 2571 of file document.h.
|
inline |
Definition at line 2565 of file document.h.
|
inline |
Definition at line 2558 of file document.h.
|
inline |
Definition at line 2566 of file document.h.
|
inline |
Definition at line 2559 of file document.h.
|
inline |
Definition at line 2555 of file document.h.
|
inline |
Definition at line 2560 of file document.h.
|
inline |
Definition at line 2561 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 2592 of file document.h.
|
inline |
Definition at line 2593 of file document.h.
|
inline |
Definition at line 2597 of file document.h.
|
inline |
Definition at line 2598 of file document.h.
|
friend |
Definition at line 2552 of file document.h.
T AllocatorType &allocator GenericObject< Const, ValueT >::const { value_.AddMember(name, value, allocator) |
Definition at line 2582 of file document.h.
return * GenericObject< Const, ValueT >::this |
Definition at line 2582 of file document.h.
T GenericObject< Const, ValueT >::value |
Definition at line 2582 of file document.h.
|
private |
Definition at line 2615 of file document.h.