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

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

template<typename ValueType >
static 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(); }
template<typename ValueType >
static 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(); }
template<typename ValueType >
static 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)); }
template<typename ValueType >
static 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); }
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124

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