Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::base::internal_variant_utils::ManualConstructor< Type > Class Template Reference

Simplification of util/gtl/manual_constructor.h. More...

#include "variant.h"

Inheritance diagram for ion::base::internal_variant_utils::ManualConstructor< Type >:

Public Member Functions

template<typename T1 >
void Init (const T1 &p1)
 
void Init (const base::AllocatorPtr &allocator, size_t count)
 
void InitArray (const base::AllocatorPtr &allocator, const ManualConstructor &other, size_t count)
 
Type * Get ()
 
const Type * Get () const
 
const Type & GetAt (size_t i) const
 
void SetAt (size_t i, const Type &value)
 
void Destroy (const base::AllocatorPtr &allocator, size_t count)
 

Detailed Description

template<typename Type>
class ion::base::internal_variant_utils::ManualConstructor< Type >

Simplification of util/gtl/manual_constructor.h.

Definition at line 49 of file variant.h.

Member Function Documentation

template<typename Type>
void ion::base::internal_variant_utils::ManualConstructor< Type >::Destroy ( const base::AllocatorPtr allocator,
size_t  count 
)
inline

Definition at line 98 of file variant.h.

template<typename Type>
Type* ion::base::internal_variant_utils::ManualConstructor< Type >::Get ( )
inline

Definition at line 86 of file variant.h.

template<typename Type>
const Type* ion::base::internal_variant_utils::ManualConstructor< Type >::Get ( ) const
inline

Definition at line 89 of file variant.h.

template<typename Type>
const Type& ion::base::internal_variant_utils::ManualConstructor< Type >::GetAt ( size_t  i) const
inline

Definition at line 92 of file variant.h.

template<typename Type>
template<typename T1 >
void ion::base::internal_variant_utils::ManualConstructor< Type >::Init ( const T1 &  p1)
inline

Definition at line 51 of file variant.h.

template<typename Type>
void ion::base::internal_variant_utils::ManualConstructor< Type >::Init ( const base::AllocatorPtr allocator,
size_t  count 
)
inline

Definition at line 57 of file variant.h.

template<typename Type>
void ion::base::internal_variant_utils::ManualConstructor< Type >::InitArray ( const base::AllocatorPtr allocator,
const ManualConstructor< Type > &  other,
size_t  count 
)
inline

Definition at line 68 of file variant.h.

template<typename Type>
void ion::base::internal_variant_utils::ManualConstructor< Type >::SetAt ( size_t  i,
const Type &  value 
)
inline

Definition at line 95 of file variant.h.


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