SO3::SAny Class Reference

#include <SO3Any.h>

Inheritance diagram for SO3::SAny:
SO3::SAnyNumeric

List of all members.

Classes

class  holder
class  placeholder

Public Member Functions

 SAny ()
template<typename ValueType >
 SAny (const ValueType &value)
 SAny (const SAny &other)
virtual ~SAny ()
SAnySwap (SAny &rhs)
template<typename ValueType >
SAnyoperator= (const ValueType &rhs)
SAnyoperator= (const SAny &rhs)
bool IsEmpty () const
const std::type_info & GetType () const
void Destroy ()
template<typename ValueType >
ValueType operator() () const

Protected Attributes

placeholdermContent

Friends

template<typename ValueType >
ValueType * any_cast (SAny *)
std::ostream & operator<< (std::ostream &o, const SAny &v)

Detailed Description

Variant type that can hold SAny other type.

Definition at line 51 of file SO3Any.h.


Constructor & Destructor Documentation

SO3::SAny::SAny (  )  [inline]

Definition at line 130 of file SO3Any.h.

template<typename ValueType >
SO3::SAny::SAny ( const ValueType &  value  )  [inline, explicit]

Definition at line 136 of file SO3Any.h.

SO3::SAny::SAny ( const SAny other  )  [inline]

Definition at line 142 of file SO3Any.h.

virtual SO3::SAny::~SAny (  )  [inline, virtual]

Definition at line 148 of file SO3Any.h.


Member Function Documentation

void SO3::SAny::Destroy (  )  [inline]

Definition at line 202 of file SO3Any.h.

const std::type_info& SO3::SAny::GetType (  )  const [inline]

Definition at line 186 of file SO3Any.h.

bool SO3::SAny::IsEmpty (  )  const [inline]

Definition at line 179 of file SO3Any.h.

template<typename ValueType >
ValueType SO3::SAny::operator() (  )  const [inline]

Definition at line 209 of file SO3Any.h.

SAny& SO3::SAny::operator= ( const SAny rhs  )  [inline]

Definition at line 171 of file SO3Any.h.

template<typename ValueType >
SAny& SO3::SAny::operator= ( const ValueType &  rhs  )  [inline]

Definition at line 163 of file SO3Any.h.

SAny& SO3::SAny::Swap ( SAny rhs  )  [inline]

Definition at line 155 of file SO3Any.h.


Friends And Related Function Documentation

template<typename ValueType >
ValueType* any_cast ( SAny operand  )  [friend]

Definition at line 454 of file SO3Any.h.

std::ostream& operator<< ( std::ostream &  o,
const SAny v 
) [friend]

Definition at line 193 of file SO3Any.h.


Member Data Documentation

Definition at line 123 of file SO3Any.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:38 2011 for SO3Engine by  doxygen 1.6.3