Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | List of all members
select2nd< PairType > Struct Template Reference

Functor to retrieve the value of a key-value pair in a map, used in STL iteration algorithms. More...

#include <STLHelper.hpp>

Inherits unary_function< PairType, PairType::second_type >.

Public Types

typedef std::unary_function< PairType, typename PairType::second_type > BaseClassType
 
typedef BaseClassType::result_type result_type
 
typedef BaseClassType::argument_type argument_type
 
typedef PairType value_type
 

Public Member Functions

result_type operator() (const argument_type &thePair) const
 Retrieve the value of a key-value pair. More...
 

Detailed Description

template<class PairType>
struct select2nd< PairType >

Functor to retrieve the value of a key-value pair in a map, used in STL iteration algorithms.

Definition at line 185 of file STLHelper.hpp.

Member Typedef Documentation

◆ argument_type

template<class PairType >
typedef BaseClassType::argument_type select2nd< PairType >::argument_type

Definition at line 195 of file STLHelper.hpp.

◆ BaseClassType

template<class PairType >
typedef std::unary_function<PairType, typename PairType::second_type> select2nd< PairType >::BaseClassType

Definition at line 191 of file STLHelper.hpp.

◆ result_type

template<class PairType >
typedef BaseClassType::result_type select2nd< PairType >::result_type

Definition at line 194 of file STLHelper.hpp.

◆ value_type

template<class PairType >
typedef PairType select2nd< PairType >::value_type

Definition at line 197 of file STLHelper.hpp.

Member Function Documentation

◆ operator()()

template<class PairType >
result_type select2nd< PairType >::operator() ( const argument_type thePair) const
inline

Retrieve the value of a key-value pair.

Parameters
thePairkey-value pair
Returns
value

Definition at line 206 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