cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
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

template<typename T, bool >
typedef mtsGenericObjectProxyBase<T> mtsGenericTypesImpl< T, bool >::FinalBaseType
template<typename T, bool >
typedef mtsGenericObjectProxyRef<T> mtsGenericTypesImpl< T, bool >::FinalRefType
template<typename T, bool >
typedef mtsGenericObjectProxy<T> mtsGenericTypesImpl< T, bool >::FinalType

Member Function Documentation

template<typename T, bool >
static T* mtsGenericTypesImpl< T, bool >::CastArg ( mtsGenericObject arg)
inlinestatic
template<typename T, bool >
static const T* mtsGenericTypesImpl< T, bool >::CastArg ( const mtsGenericObject arg)
inlinestatic
template<typename T, bool >
static mtsGenericObject* mtsGenericTypesImpl< T, bool >::ConditionalCreate ( const T &  arg,
const std::string &   
)
inlinestatic
template<typename T, bool >
static void mtsGenericTypesImpl< T, bool >::ConditionalFree ( const FinalRefType obj)
inlinestatic
template<typename T, bool >
static FinalRefType* mtsGenericTypesImpl< T, bool >::ConditionalWrap ( T &  obj)
inlinestatic
template<typename T, bool >
static bool mtsGenericTypesImpl< T, bool >::IsEqual ( const T &  obj1,
const mtsGenericObject obj2 
)
inlinestatic

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