Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MapSupport::valEqual< KeyPart, NumPart > Class Template Reference

Functor using second value as equal. More...

#include <MapSupport.h>

Public Member Functions

bool operator() (const std::pair< KeyPart, NumPart > &A) const
 Equality operator vs Map second object. More...
 
 valEqual (const NumPart &V)
 Set Value to check. More...
 

Private Attributes

const NumPart value
 Value to check against map. More...
 

Detailed Description

template<typename KeyPart, typename NumPart>
class MapSupport::valEqual< KeyPart, NumPart >

Functor using second value as equal.

Author
S. Ansell
Date
2/9/05
Version
1.0

Functor allows searching a map for second value equal.

Definition at line 68 of file MapSupport.h.

Constructor & Destructor Documentation

◆ valEqual()

template<typename KeyPart , typename NumPart >
MapSupport::valEqual< KeyPart, NumPart >::valEqual ( const NumPart &  V)
inline

Set Value to check.

Definition at line 74 of file MapSupport.h.

Member Function Documentation

◆ operator()()

template<typename KeyPart , typename NumPart >
bool MapSupport::valEqual< KeyPart, NumPart >::operator() ( const std::pair< KeyPart, NumPart > &  A) const
inline

Equality operator vs Map second object.

Definition at line 77 of file MapSupport.h.

References MapSupport::valEqual< KeyPart, NumPart >::value.

Member Data Documentation

◆ value

template<typename KeyPart , typename NumPart >
const NumPart MapSupport::valEqual< KeyPart, NumPart >::value
private

Value to check against map.

Definition at line 70 of file MapSupport.h.

Referenced by MapSupport::valEqual< KeyPart, NumPart >::operator()().


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