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

#include <document.h>

Static Public Member Functions

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

Detailed Description

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

Definition at line 497 of file document.h.

Member Function Documentation

◆ Get()

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

Definition at line 499 of file document.h.

499{ return v.GetFloat(); }

◆ Is()

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

Definition at line 498 of file document.h.

498{ return v.IsFloat(); }

◆ Set() [1/2]

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

Definition at line 500 of file document.h.

500{ return v.SetFloat(data); }

◆ Set() [2/2]

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

Definition at line 501 of file document.h.

501{ return v.SetFloat(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