MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
ArrayHardDestructor< T > Class Template Reference

#include <destr.h>

Inheritance diagram for ArrayHardDestructor< T >:
Collaboration diagram for ArrayHardDestructor< T >:

Public Member Functions

 ArrayHardDestructor (void)
 
 ~ArrayHardDestructor (void)
 
void Destroy (T *&pnt) const
 
- Public Member Functions inherited from Destructor< T >
 Destructor (void)
 
virtual ~Destructor (void)
 

Detailed Description

template<class T>
class ArrayHardDestructor< T >

Definition at line 89 of file destr.h.

Constructor & Destructor Documentation

template<class T >
ArrayHardDestructor< T >::ArrayHardDestructor ( void  )
inline

Definition at line 91 of file destr.h.

References NO_OP.

91  : Destructor<T>() {
92  NO_OP;
93  };
#define NO_OP
Definition: myassert.h:74
template<class T >
ArrayHardDestructor< T >::~ArrayHardDestructor ( void  )
inline

Definition at line 95 of file destr.h.

References NO_OP.

95  {
96  NO_OP;
97  };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

template<class T >
void ArrayHardDestructor< T >::Destroy ( T *&  pnt) const
inlinevirtual

Implements Destructor< T >.

Definition at line 99 of file destr.h.

References SAFEDELETEARR.

99  {
100  if (pnt != NULL) {
101  SAFEDELETEARR(pnt);
102  pnt = NULL;
103  }
104  };
#define SAFEDELETEARR(pnt)
Definition: mynewmem.h:713

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