Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::base::StaticDeleter< T > Class Template Reference

This class should not be used directly. More...

#include "staticsafedeclare.h"

Inheritance diagram for ion::base::StaticDeleter< T >:
Collaboration diagram for ion::base::StaticDeleter< T >:

Public Member Functions

 StaticDeleter (const std::string &name, T *pointer_to_delete)
 
const std::string & GetTypeName () const
 Returns the name of the type this deleter deletes. More...
 

Protected Attributes

std::string type_name_
 

Detailed Description

template<typename T>
class ion::base::StaticDeleter< T >

This class should not be used directly.

Only use it through one of the above ION_DECLARE_STATIC_* defines.

StaticDeleter is a convenience class that holds a static pointer that needs to be deleted at shutdown.

Definition at line 151 of file staticsafedeclare.h.

Constructor & Destructor Documentation

template<typename T >
ion::base::StaticDeleter< T >::StaticDeleter ( const std::string &  name,
T pointer_to_delete 
)
inline

Definition at line 153 of file staticsafedeclare.h.

Member Function Documentation

const std::string& ion::base::StaticDeleterBase::GetTypeName ( ) const
inlineinherited

Returns the name of the type this deleter deletes.

Definition at line 140 of file staticsafedeclare.h.

References ion::base::StaticDeleterBase::type_name_.

Member Data Documentation

std::string ion::base::StaticDeleterBase::type_name_
protectedinherited

Definition at line 143 of file staticsafedeclare.h.

Referenced by ion::base::StaticDeleterBase::GetTypeName().


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