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

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

#include <xalanc/Include/STLHelper.hpp>

Public Member Functions

 MapValueDeleteFunctor (MemoryManager &theManager)
 
void operator() (const typename T::value_type &thePair) const
 Delete the value object in a map value pair. More...
 

Detailed Description

template<class T>
struct xalanc::MapValueDeleteFunctor< T >

Functor to delete value objects in maps, used in STL iteration algorithms.

Definition at line 149 of file STLHelper.hpp.

Constructor & Destructor Documentation

◆ MapValueDeleteFunctor()

template<class T >
xalanc::MapValueDeleteFunctor< T >::MapValueDeleteFunctor ( MemoryManager &  theManager)
inline

Definition at line 151 of file STLHelper.hpp.

Member Function Documentation

◆ operator()()

template<class T >
void xalanc::MapValueDeleteFunctor< T >::operator() ( const typename T::value_type &  thePair) const
inline

Delete the value object in a map value pair.

The value of the pair must be of pointer type.

Parameters
thePairkey-value pair

Definition at line 163 of file STLHelper.hpp.

References xalanc::makeXalanDestroyFunctor().


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