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

#include <cmnClassServices.h>

Static Public Member Functions

static bool DeleteArray (generic_pointer &data, size_t &size)
 
static bool Delete (cmnGenericObject *existing)
 

Detailed Description

template<int _hasDynamicCreation, typename _class>
class cmnConditionalObjectDestructor< _hasDynamicCreation, _class >

Default implementation with dynamic creation enabled

Member Function Documentation

template<int _hasDynamicCreation, typename _class >
static bool cmnConditionalObjectDestructor< _hasDynamicCreation, _class >::Delete ( cmnGenericObject existing)
inlinestatic

Default implementation of delete when dynamic creation is enabled. Call destructor for the given class.

template<int _hasDynamicCreation, typename _class >
static bool cmnConditionalObjectDestructor< _hasDynamicCreation, _class >::DeleteArray ( generic_pointer data,
size_t &  size 
)
inlinestatic

Default implementation of DeleteArray. Call the destructor for each object and then delete the container


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