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

#include <document.h>

Static Public Member Functions

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

Detailed Description

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

Definition at line 429 of file document.h.

Member Function Documentation

◆ Get()

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

Definition at line 431 of file document.h.

431{ return v.GetBool(); }

◆ Is()

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

Definition at line 430 of file document.h.

430{ return v.IsBool(); }

◆ Set() [1/2]

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

Definition at line 432 of file document.h.

432{ return v.SetBool(data); }

◆ Set() [2/2]

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

Definition at line 433 of file document.h.

433{ return v.SetBool(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