cisst-saw
Loading...
Searching...
No Matches
mtsGenericTypesImpl< T, bool > Class Template Reference

#include <mtsGenericObjectProxy.h>

Public Types

typedef mtsGenericObjectProxyBase< T > FinalBaseType
typedef mtsGenericObjectProxy< T > FinalType
typedef mtsGenericObjectProxyRef< T > FinalRefType

Static Public Member Functions

static FinalRefTypeConditionalWrap (T &obj)
static bool IsEqual (const T &obj1, const mtsGenericObject &obj2)
static void ConditionalFree (const FinalRefType *obj)
static mtsGenericObjectConditionalCreate (const T &arg, const std::string &)
static T * CastArg (mtsGenericObject &arg)
static const T * CastArg (const mtsGenericObject &arg)

Detailed Description

template<typename T, bool>
class mtsGenericTypesImpl< T, bool >

Following are some template helpers to deal with the conditional wrapping and unwrapping of types.

Member Typedef Documentation

◆ FinalBaseType

template<typename T, bool>
typedef mtsGenericObjectProxyBase<T> mtsGenericTypesImpl< T, bool >::FinalBaseType

◆ FinalRefType

template<typename T, bool>
typedef mtsGenericObjectProxyRef<T> mtsGenericTypesImpl< T, bool >::FinalRefType

◆ FinalType

template<typename T, bool>
typedef mtsGenericObjectProxy<T> mtsGenericTypesImpl< T, bool >::FinalType

Member Function Documentation

◆ CastArg() [1/2]

template<typename T, bool>
const T * mtsGenericTypesImpl< T, bool >::CastArg ( const mtsGenericObject & arg)
inlinestatic

◆ CastArg() [2/2]

template<typename T, bool>
T * mtsGenericTypesImpl< T, bool >::CastArg ( mtsGenericObject & arg)
inlinestatic

◆ ConditionalCreate()

template<typename T, bool>
mtsGenericObject * mtsGenericTypesImpl< T, bool >::ConditionalCreate ( const T & arg,
const std::string &  )
inlinestatic

◆ ConditionalFree()

template<typename T, bool>
void mtsGenericTypesImpl< T, bool >::ConditionalFree ( const FinalRefType * obj)
inlinestatic

◆ ConditionalWrap()

template<typename T, bool>
FinalRefType * mtsGenericTypesImpl< T, bool >::ConditionalWrap ( T & obj)
inlinestatic

◆ IsEqual()

template<typename T, bool>
bool mtsGenericTypesImpl< T, bool >::IsEqual ( const T & obj1,
const mtsGenericObject & obj2 )
inlinestatic

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