Static Public Member Functions | List of all members
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

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

Definition at line 447 of file document.h.

447 { return v.GetUint(); }
template<typename ValueType >
static bool internal::TypeHelper< ValueType, unsigned >::Is ( const ValueType &  v)
inlinestatic

Definition at line 446 of file document.h.

446 { return v.IsUint(); }
template<typename ValueType >
static ValueType& internal::TypeHelper< ValueType, unsigned >::Set ( ValueType &  v,
unsigned  data 
)
inlinestatic

Definition at line 448 of file document.h.

448 { return v.SetUint(data); }
template<typename ValueType >
static 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: