Public Member Functions | Private Attributes

nitro::DynamicObjectKeeper< type > Class Template Reference

Class automatically deletes dynamic objects. More...

#include <utilities/cpp_utilities.h>

List of all members.

Public Member Functions

 DynamicObjectKeeper (type *theKeepingObject)
virtual ~DynamicObjectKeeper ()

Private Attributes

type * KeepingObject

Detailed Description

template<class type>
class nitro::DynamicObjectKeeper< type >

Class automatically deletes dynamic objects.

Author:
Dodonov A.A.

Definition at line 159 of file cpp_utilities.h.


Constructor & Destructor Documentation

template<class type>
nitro::DynamicObjectKeeper< type >::DynamicObjectKeeper ( type *  theKeepingObject  )  [inline]

Constructor.

Author:
Dodonov A.A.

Definition at line 172 of file cpp_utilities.h.

References nitro::DynamicObjectKeeper< type >::KeepingObject.

                {
                        KeepingObject = theKeepingObject;
                }

template<class type>
virtual nitro::DynamicObjectKeeper< type >::~DynamicObjectKeeper (  )  [inline, virtual]

Destructor (virtual).

Author:
Dodonov A.A.

Definition at line 187 of file cpp_utilities.h.

References nitro::DynamicObjectKeeper< type >::KeepingObject.

                {
                        delete KeepingObject;
                }


Member Data Documentation

template<class type>
type* nitro::DynamicObjectKeeper< type >::KeepingObject [private]

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

Generated by  doxygen 1.6.1