SO3Engine
Classes | Public Member Functions | Protected Attributes | Friends | List of all members
SO3::SAny Class Reference

#include <SO3Any.h>

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

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 47 of file SO3Any.h.

Constructor & Destructor Documentation

◆ SAny() [1/3]

SO3::SAny::SAny ( )
inline

Definition at line 126 of file SO3Any.h.

◆ SAny() [2/3]

template<typename ValueType >
SO3::SAny::SAny ( const ValueType &  value)
inlineexplicit

Definition at line 132 of file SO3Any.h.

◆ SAny() [3/3]

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

Definition at line 138 of file SO3Any.h.

◆ ~SAny()

virtual SO3::SAny::~SAny ( )
inlinevirtual

Definition at line 144 of file SO3Any.h.

Member Function Documentation

◆ Destroy()

void SO3::SAny::Destroy ( )
inline

Definition at line 198 of file SO3Any.h.

◆ GetType()

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

Definition at line 182 of file SO3Any.h.

◆ IsEmpty()

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

Definition at line 175 of file SO3Any.h.

◆ operator()()

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

Definition at line 205 of file SO3Any.h.

◆ operator=() [1/2]

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

Definition at line 167 of file SO3Any.h.

◆ operator=() [2/2]

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

Definition at line 159 of file SO3Any.h.

◆ Swap()

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

Definition at line 151 of file SO3Any.h.

Friends And Related Symbol Documentation

◆ any_cast

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

Definition at line 450 of file SO3Any.h.

◆ operator<<

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

Definition at line 189 of file SO3Any.h.

Member Data Documentation

◆ mContent

placeholder* SO3::SAny::mContent
protected

Definition at line 119 of file SO3Any.h.


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