Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | List of all members
MapValueDeleteFunctor< T > Struct Template Reference

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

#include <STLHelper.hpp>

Inherits unary_function< const T::value_type &, void >.

Public Types

typedef std::unary_function< const typename T::value_type &, void > BaseClassType
 
typedef BaseClassType::result_type result_type
 
typedef BaseClassType::argument_type argument_type
 

Public Member Functions

 MapValueDeleteFunctor (MemoryManager &theManager)
 
result_type operator() (argument_type thePair) const
 Delete the value object in a map value pair. More...
 

Detailed Description

template<class T>
struct MapValueDeleteFunctor< T >

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

Definition at line 259 of file STLHelper.hpp.

Member Typedef Documentation

◆ argument_type

template<class T >
typedef BaseClassType::argument_type MapValueDeleteFunctor< T >::argument_type

Definition at line 269 of file STLHelper.hpp.

◆ BaseClassType

template<class T >
typedef std::unary_function<const typename T::value_type&, void> MapValueDeleteFunctor< T >::BaseClassType

Definition at line 265 of file STLHelper.hpp.

◆ result_type

template<class T >
typedef BaseClassType::result_type MapValueDeleteFunctor< T >::result_type

Definition at line 268 of file STLHelper.hpp.

Constructor & Destructor Documentation

◆ MapValueDeleteFunctor()

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

Definition at line 271 of file STLHelper.hpp.

Member Function Documentation

◆ operator()()

template<class T >
result_type MapValueDeleteFunctor< T >::operator() ( argument_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 283 of file STLHelper.hpp.


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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo