CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
StringMap::MatchByNumber Class Reference

#include <StringMap.h>

Public Member Functions

 MatchByNumber (int32_t number)
 
bool operator() (const value_type &val) const
 

Private Attributes

int32_t number_
 

Detailed Description

Definition at line 44 of file StringMap.h.

Constructor & Destructor Documentation

◆ MatchByNumber()

StringMap::MatchByNumber::MatchByNumber ( int32_t  number)
inline

Definition at line 46 of file StringMap.h.

Member Function Documentation

◆ operator()()

bool StringMap::MatchByNumber::operator() ( const value_type val) const
inline

Definition at line 47 of file StringMap.h.

References number_, and heppy_batch::val.

47 { return number_ == val.second; }

Member Data Documentation

◆ number_

int32_t StringMap::MatchByNumber::number_
private

Definition at line 50 of file StringMap.h.

Referenced by operator()().