Public Types | Static Public Member Functions | List of all members
internal::TypeHelper< ValueType, typename ValueType::Array > Struct Template Reference

#include <document.h>

Public Types

typedef ValueType::Array ArrayType
 

Static Public Member Functions

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

Detailed Description

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

Definition at line 524 of file document.h.

Member Typedef Documentation

template<typename ValueType >
typedef ValueType::Array internal::TypeHelper< ValueType, typename ValueType::Array >::ArrayType

Definition at line 525 of file document.h.

Member Function Documentation

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

Definition at line 527 of file document.h.

527 { return v.GetArray(); }
template<typename ValueType >
static bool internal::TypeHelper< ValueType, typename ValueType::Array >::Is ( const ValueType &  v)
inlinestatic

Definition at line 526 of file document.h.

526 { return v.IsArray(); }
template<typename ValueType >
static ValueType& internal::TypeHelper< ValueType, typename ValueType::Array >::Set ( ValueType &  v,
ArrayType  data 
)
inlinestatic

Definition at line 528 of file document.h.

528 { return v = data; }
template<typename ValueType >
static ValueType& internal::TypeHelper< ValueType, typename ValueType::Array >::Set ( ValueType &  v,
ArrayType  data,
typename ValueType::AllocatorType &   
)
inlinestatic

Definition at line 529 of file document.h.

529 { return v = data; }

The documentation for this struct was generated from the following file: