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

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

Definition at line 439 of file document.h.

439 { return v.GetInt(); }
template<typename ValueType >
static bool internal::TypeHelper< ValueType, int >::Is ( const ValueType &  v)
inlinestatic

Definition at line 438 of file document.h.

438 { return v.IsInt(); }
template<typename ValueType >
static ValueType& internal::TypeHelper< ValueType, int >::Set ( ValueType &  v,
int  data 
)
inlinestatic

Definition at line 440 of file document.h.

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