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

#include <document.h>

Static Public Member Functions

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

Detailed Description

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

Definition at line 445 of file document.h.

Member Function Documentation

◆ Get()

template<typename ValueType>
unsigned internal::TypeHelper< ValueType, unsigned >::Get ( const ValueType & v)
inlinestatic

Definition at line 447 of file document.h.

447{ return v.GetUint(); }

◆ Is()

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

Definition at line 446 of file document.h.

446{ return v.IsUint(); }

◆ Set() [1/2]

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

Definition at line 448 of file document.h.

448{ return v.SetUint(data); }

◆ Set() [2/2]

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

Definition at line 449 of file document.h.

449{ return v.SetUint(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