GenericObject< Const, ValueT > Class Template Reference#
GenericObject< Const, ValueT > Class Template Reference
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 |
Friends | |
template<typename , typename > | |
class | GenericValue |
Detailed Description
template<bool Const, typename ValueT>
class GenericObject< Const, ValueT >
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
.
Member Typedef Documentation
◆ AllocatorType
template<bool Const, typename ValueT >
typedef ValueType::AllocatorType GenericObject< Const, ValueT >::AllocatorType |
◆ Ch
template<bool Const, typename ValueT >
typedef ValueType::Ch GenericObject< Const, ValueT >::Ch |
◆ ConstMemberIterator
template<bool Const, typename ValueT >
typedef GenericMemberIterator<true, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::ConstMemberIterator |
◆ ConstObject
template<bool Const, typename ValueT >
typedef GenericObject<true, ValueT> GenericObject< Const, ValueT >::ConstObject |
◆ EncodingType
template<bool Const, typename ValueT >
typedef ValueType::EncodingType GenericObject< Const, ValueT >::EncodingType |
◆ MemberIterator
template<bool Const, typename ValueT >
typedef GenericMemberIterator<Const, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::MemberIterator |
◆ Object
template<bool Const, typename ValueT >
typedef GenericObject<false, ValueT> GenericObject< Const, ValueT >::Object |
◆ PlainType
template<bool Const, typename ValueT >
typedef ValueT GenericObject< Const, ValueT >::PlainType |
◆ StringRefType
template<bool Const, typename ValueT >
typedef ValueType::StringRefType GenericObject< Const, ValueT >::StringRefType |
◆ ValueType
template<bool Const, typename ValueT >
typedef internal::MaybeAddConst<Const,PlainType>::Type GenericObject< Const, ValueT >::ValueType |
Constructor & Destructor Documentation
◆ GenericObject()
template<bool Const, typename ValueT >
|
inline |
◆ ~GenericObject()
template<bool Const, typename ValueT >
|
inline |
Member Function Documentation
◆ AddMember() [1/4]
template<bool Const, typename ValueT >
|
inline |
◆ AddMember() [2/4]
template<bool Const, typename ValueT >
|
inline |
◆ AddMember() [3/4]
template<bool Const, typename ValueT >
|
inline |
◆ AddMember() [4/4]
template<bool Const, typename ValueT >
|
inline |
◆ EraseMember() [1/4]
template<bool Const, typename ValueT >
|
inline |
◆ EraseMember() [2/4]
template<bool Const, typename ValueT >
template<typename SourceAllocator >
|
inline |
◆ EraseMember() [3/4]
template<bool Const, typename ValueT >
|
inline |
◆ EraseMember() [4/4]
template<bool Const, typename ValueT >
|
inline |
◆ FindMember() [1/2]
template<bool Const, typename ValueT >
|
inline |
◆ FindMember() [2/2]
template<bool Const, typename ValueT >
template<typename SourceAllocator >
|
inline |
◆ HasMember() [1/2]
template<bool Const, typename ValueT >
|
inline |
◆ HasMember() [2/2]
template<bool Const, typename ValueT >
template<typename SourceAllocator >
|
inline |
◆ MemberBegin()
template<bool Const, typename ValueT >
|
inline |
◆ MemberCapacity()
template<bool Const, typename ValueT >
|
inline |
◆ MemberCount()
template<bool Const, typename ValueT >
|
inline |
◆ MemberEnd()
template<bool Const, typename ValueT >
|
inline |
◆ MemberReserve()
template<bool Const, typename ValueT >
|
inline |
◆ ObjectEmpty()
template<bool Const, typename ValueT >
|
inline |
◆ operator ValueType &()
template<bool Const, typename ValueT >
|
inline |
◆ operator=()
template<bool Const, typename ValueT >
|
inline |
◆ operator[]() [1/2]
template<bool Const, typename ValueT >
template<typename SourceAllocator >
|
inline |
◆ operator[]() [2/2]
template<bool Const, typename ValueT >
template<typename T >
|
inline |
◆ RAPIDJSON_DISABLEIF_RETURN() [1/2]
template<bool Const, typename ValueT >
template<typename T >
GenericObject< Const, ValueT >::RAPIDJSON_DISABLEIF_RETURN | ( | (internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >) | , |
(GenericObject< Const, ValueT >) | |||
) |
◆ RAPIDJSON_DISABLEIF_RETURN() [2/2]
template<bool Const, typename ValueT >
template<typename T >
GenericObject< Const, ValueT >::RAPIDJSON_DISABLEIF_RETURN | ( | (internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >) | , |
(ValueType &) | |||
) | & |
◆ RemoveAllMembers()
template<bool Const, typename ValueT >
|
inline |
◆ RemoveMember() [1/3]
template<bool Const, typename ValueT >
|
inline |
◆ RemoveMember() [2/3]
template<bool Const, typename ValueT >
template<typename SourceAllocator >
|
inline |
◆ RemoveMember() [3/3]
template<bool Const, typename ValueT >
|
inline |
Friends And Related Function Documentation
◆ GenericValue
template<bool Const, typename ValueT >
template<typename , typename >
|
friend |
Member Data Documentation
◆ const
template<bool Const, typename ValueT >
T AllocatorType &allocator GenericObject< Const, ValueT >::const { value_.AddMember(name, value, allocator) |
◆ this
template<bool Const, typename ValueT >
return * GenericObject< Const, ValueT >::this |
◆ value
template<bool Const, typename ValueT >
T GenericObject< Const, ValueT >::value |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/rapidjson/document.h