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.

46 : number_(number) {}

Member Function Documentation

◆ operator()()

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

Definition at line 47 of file StringMap.h.

47 { return number_ == val.second; }

References number_, and heppy_batch::val.

Member Data Documentation

◆ number_

int32_t StringMap::MatchByNumber::number_
private

Definition at line 50 of file StringMap.h.

Referenced by operator()().

StringMap::MatchByNumber::number_
int32_t number_
Definition: StringMap.h:50
contentValuesFiles.number
number
Definition: contentValuesFiles.py:53
heppy_batch.val
val
Definition: heppy_batch.py:351