Xalan-C++ API Reference 1.12.0
Public Member Functions | List of all members
xalanc::DeleteFunctor< Type > Struct Template Reference

Functor to delete objects, used in STL iteration algorithms. More...

#include <xalanc/Include/STLHelper.hpp>

Public Member Functions

 DeleteFunctor (MemoryManager &theManager)
 
void operator() (const Type *thePointer) const
 Delete the object pointed to by argument.
 

Detailed Description

template<class Type>
struct xalanc::DeleteFunctor< Type >

Functor to delete objects, used in STL iteration algorithms.

Definition at line 100 of file STLHelper.hpp.

Constructor & Destructor Documentation

◆ DeleteFunctor()

template<class Type >
xalanc::DeleteFunctor< Type >::DeleteFunctor ( MemoryManager &  theManager)
inline

Definition at line 102 of file STLHelper.hpp.

Member Function Documentation

◆ operator()()

template<class Type >
void xalanc::DeleteFunctor< Type >::operator() ( const Type thePointer) const
inline

Delete the object pointed to by argument.

Parameters
thePointerpointer to object to be deleted

Definition at line 113 of file STLHelper.hpp.

References xalanc::makeXalanDestroyFunctor().


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