cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
cmnConditionalObjectFactoryCopy< _enabled, _class > Class Template Reference

#include <cmnClassServices.h>

Static Public Member Functions

static cmnGenericObjectCreate (const cmnGenericObject &CMN_UNUSED(other))
 
static bool Create (cmnGenericObject *CMN_UNUSED(existing), const cmnGenericObject &CMN_UNUSED(other))
 
static cmnGenericObjectCreateArray (size_t CMN_UNUSED(size), const cmnGenericObject &CMN_UNUSED(other))
 
static bool CopyConstructorAvailable (void)
 

Detailed Description

template<bool _enabled, typename _class>
class cmnConditionalObjectFactoryCopy< _enabled, _class >

Default implementation of cmnConditionalObjectFactoryCopy with disabled dynamic creation.

Member Function Documentation

template<bool _enabled, typename _class >
static bool cmnConditionalObjectFactoryCopy< _enabled, _class >::CopyConstructorAvailable ( void  )
inlinestatic
template<bool _enabled, typename _class >
static cmnGenericObject* cmnConditionalObjectFactoryCopy< _enabled, _class >::Create ( const cmnGenericObject CMN_UNUSEDother)
inlinestatic

Specialization of create when dynamic create is disabled. Returns 0 (null pointer) .

template<bool _enabled, typename _class >
static bool cmnConditionalObjectFactoryCopy< _enabled, _class >::Create ( cmnGenericObject CMN_UNUSEDexisting,
const cmnGenericObject CMN_UNUSEDother 
)
inlinestatic

Specialization of create for in place new with copy constructor

template<bool _enabled, typename _class >
static cmnGenericObject* cmnConditionalObjectFactoryCopy< _enabled, _class >::CreateArray ( size_t   CMN_UNUSEDsize,
const cmnGenericObject CMN_UNUSEDother 
)
inlinestatic

Specialization of create when dynamic creation is disabled. Returns 0 (null pointer).


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