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

#include <document.h>

Static Public Member Functions

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

Detailed Description

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

Definition at line 437 of file document.h.

Member Function Documentation

◆ Get()

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

Definition at line 439 of file document.h.

439{ return v.GetInt(); }

◆ Is()

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

Definition at line 438 of file document.h.

438{ return v.IsInt(); }

◆ Set() [1/2]

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

Definition at line 440 of file document.h.

440{ return v.SetInt(data); }

◆ Set() [2/2]

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

Definition at line 441 of file document.h.

441{ return v.SetInt(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