Electroneum
Loading...
Searching...
No Matches
internal::TypeHelper< ValueType, typename ValueType::Object > Struct Template Reference

#include <document.h>

Public Types

typedef ValueType::Object ObjectType

Static Public Member Functions

static bool Is (const ValueType &v)
static ObjectType Get (ValueType &v)
static ValueType & Set (ValueType &v, ObjectType data)
static ValueType & Set (ValueType &v, ObjectType data, typename ValueType::AllocatorType &)

Detailed Description

template<typename ValueType>
struct internal::TypeHelper< ValueType, typename ValueType::Object >

Definition at line 540 of file document.h.

Member Typedef Documentation

◆ ObjectType

template<typename ValueType>
typedef ValueType::Object internal::TypeHelper< ValueType, typename ValueType::Object >::ObjectType

Definition at line 541 of file document.h.

Member Function Documentation

◆ Get()

template<typename ValueType>
ObjectType internal::TypeHelper< ValueType, typename ValueType::Object >::Get ( ValueType & v)
inlinestatic

Definition at line 543 of file document.h.

543{ return v.GetObject(); }

◆ Is()

template<typename ValueType>
bool internal::TypeHelper< ValueType, typename ValueType::Object >::Is ( const ValueType & v)
inlinestatic

Definition at line 542 of file document.h.

542{ return v.IsObject(); }

◆ Set() [1/2]

template<typename ValueType>
ValueType & internal::TypeHelper< ValueType, typename ValueType::Object >::Set ( ValueType & v,
ObjectType data )
inlinestatic

Definition at line 544 of file document.h.

544{ return v = data; }

◆ Set() [2/2]

template<typename ValueType>
ValueType & internal::TypeHelper< ValueType, typename ValueType::Object >::Set ( ValueType & v,
ObjectType data,
typename ValueType::AllocatorType &  )
inlinestatic

Definition at line 545 of file document.h.

545{ return v = data; }

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/include/rapidjson/document.h