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

#include <document.h>

Public Types

typedef ValueType::Array ArrayType

Static Public Member Functions

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

Detailed Description

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

Definition at line 524 of file document.h.

Member Typedef Documentation

◆ ArrayType

template<typename ValueType>
typedef ValueType::Array internal::TypeHelper< ValueType, typename ValueType::Array >::ArrayType

Definition at line 525 of file document.h.

Member Function Documentation

◆ Get()

template<typename ValueType>
ArrayType internal::TypeHelper< ValueType, typename ValueType::Array >::Get ( ValueType & v)
inlinestatic

Definition at line 527 of file document.h.

527{ return v.GetArray(); }

◆ Is()

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

Definition at line 526 of file document.h.

526{ return v.IsArray(); }

◆ Set() [1/2]

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

Definition at line 528 of file document.h.

528{ return v = data; }

◆ Set() [2/2]

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

Definition at line 529 of file document.h.

529{ 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