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

#include <document.h>

Public Types

typedef const ValueType::Ch * StringType

Static Public Member Functions

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

Detailed Description

template<typename ValueType>
struct internal::TypeHelper< ValueType, const typename ValueType::Ch * >

Definition at line 505 of file document.h.

Member Typedef Documentation

◆ StringType

template<typename ValueType>
typedef const ValueType::Ch* internal::TypeHelper< ValueType, const typename ValueType::Ch * >::StringType

Definition at line 506 of file document.h.

Member Function Documentation

◆ Get()

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

Definition at line 508 of file document.h.

508{ return v.GetString(); }

◆ Is()

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

Definition at line 507 of file document.h.

507{ return v.IsString(); }

◆ Set() [1/2]

template<typename ValueType>
ValueType & internal::TypeHelper< ValueType, const typename ValueType::Ch * >::Set ( ValueType & v,
const StringType data )
inlinestatic

Definition at line 509 of file document.h.

509{ return v.SetString(typename ValueType::StringRefType(data)); }

◆ Set() [2/2]

template<typename ValueType>
ValueType & internal::TypeHelper< ValueType, const typename ValueType::Ch * >::Set ( ValueType & v,
const StringType data,
typename ValueType::AllocatorType & a )
inlinestatic

Definition at line 510 of file document.h.

510{ return v.SetString(data, a); }

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