bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
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 Member Functions | |
GenericObject | AddMember (StringRefType name, StringRefType value, AllocatorType &allocator) const |
GenericObject | AddMember (StringRefType name, ValueType &value, AllocatorType &allocator) const |
GenericObject | AddMember (ValueType &name, StringRefType value, AllocatorType &allocator) const |
GenericObject | AddMember (ValueType &name, ValueType &value, AllocatorType &allocator) const |
bool | EraseMember (const Ch *name) const |
template<typename SourceAllocator> | |
bool | EraseMember (const GenericValue< EncodingType, SourceAllocator > &name) const |
MemberIterator | EraseMember (ConstMemberIterator first, ConstMemberIterator last) const |
MemberIterator | EraseMember (ConstMemberIterator pos) const |
MemberIterator | FindMember (const Ch *name) const |
template<typename SourceAllocator> | |
MemberIterator | FindMember (const GenericValue< EncodingType, SourceAllocator > &name) const |
GenericObject (const GenericObject &rhs) | |
bool | HasMember (const Ch *name) const |
template<typename SourceAllocator> | |
bool | HasMember (const GenericValue< EncodingType, SourceAllocator > &name) const |
MemberIterator | MemberBegin () const |
SizeType | MemberCapacity () const |
SizeType | MemberCount () const |
MemberIterator | MemberEnd () const |
GenericObject | MemberReserve (SizeType newCapacity, AllocatorType &allocator) const |
bool | ObjectEmpty () const |
GenericObject & | operator= (const GenericObject &rhs) |
template<typename SourceAllocator> | |
ValueType & | operator[] (const GenericValue< EncodingType, SourceAllocator > &name) const |
template<typename T> | |
ValueType & | operator[] (T *name) const |
template<typename T> | |
RAPIDJSON_DISABLEIF_RETURN ((internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >),(GenericObject)) AddMember(StringRefType name | |
template<typename T> | |
RAPIDJSON_DISABLEIF_RETURN ((internal::OrExpr< internal::IsPointer< T >, internal::IsGenericValue< T > >),(ValueType &)) AddMember(ValueType &name | |
void | RemoveAllMembers () |
bool | RemoveMember (const Ch *name) const |
template<typename SourceAllocator> | |
bool | RemoveMember (const GenericValue< EncodingType, SourceAllocator > &name) const |
MemberIterator | RemoveMember (MemberIterator m) const |
Public Attributes | |
T AllocatorType &allocator | const { value_.AddMember(name, value, allocator) |
return * | this |
T | 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 2647 of file document.h.
typedef ValueType::AllocatorType GenericObject< Const, ValueT >::AllocatorType |
Definition at line 2655 of file document.h.
typedef ValueType::Ch GenericObject< Const, ValueT >::Ch |
Definition at line 2658 of file document.h.
typedef GenericMemberIterator<true, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::ConstMemberIterator |
Definition at line 2654 of file document.h.
typedef GenericObject<true, ValueT> GenericObject< Const, ValueT >::ConstObject |
Definition at line 2649 of file document.h.
typedef ValueType::EncodingType GenericObject< Const, ValueT >::EncodingType |
Definition at line 2657 of file document.h.
typedef GenericMemberIterator<Const, typename ValueT::EncodingType, typename ValueT::AllocatorType> GenericObject< Const, ValueT >::MemberIterator |
Definition at line 2653 of file document.h.
typedef GenericObject<false, ValueT> GenericObject< Const, ValueT >::Object |
Definition at line 2650 of file document.h.
typedef ValueT GenericObject< Const, ValueT >::PlainType |
Definition at line 2651 of file document.h.
typedef ValueType::StringRefType GenericObject< Const, ValueT >::StringRefType |
Definition at line 2656 of file document.h.
typedef internal::MaybeAddConst<Const,PlainType>::Type GenericObject< Const, ValueT >::ValueType |
Definition at line 2652 of file document.h.
|
inline |
Definition at line 2663 of file document.h.
|
inline |
Definition at line 2665 of file document.h.
|
inline |
Definition at line 2701 of file document.h.
|
inline |
Definition at line 2700 of file document.h.
|
inline |
Definition at line 2689 of file document.h.
|
inline |
Definition at line 2688 of file document.h.
|
inline |
Definition at line 2712 of file document.h.
|
inline |
Definition at line 2716 of file document.h.
|
inline |
Definition at line 2711 of file document.h.
|
inline |
Definition at line 2710 of file document.h.
|
inline |
Definition at line 2683 of file document.h.
|
inline |
Definition at line 2684 of file document.h.
|
inline |
Definition at line 2678 of file document.h.
|
inline |
Definition at line 2682 of file document.h.
|
inline |
Definition at line 2675 of file document.h.
|
inline |
Definition at line 2668 of file document.h.
|
inline |
Definition at line 2667 of file document.h.
|
inline |
Definition at line 2676 of file document.h.
|
inline |
Definition at line 2677 of file document.h.
|
inline |
Definition at line 2669 of file document.h.
|
inline |
Definition at line 2664 of file document.h.
|
inline |
Definition at line 2671 of file document.h.
|
inline |
Definition at line 2670 of file document.h.
|
inline |
Definition at line 2703 of file document.h.
|
inline |
Definition at line 2704 of file document.h.
|
inline |
Definition at line 2708 of file document.h.
|
inline |
Definition at line 2709 of file document.h.
Definition at line 2661 of file document.h.
T AllocatorType &allocator GenericObject< Const, ValueT >::const { value_.AddMember(name, value, allocator) |
Definition at line 2693 of file document.h.
return * GenericObject< Const, ValueT >::this |
Definition at line 2693 of file document.h.
T GenericObject< Const, ValueT >::value |
Definition at line 2693 of file document.h.