CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
StringMap::MatchByNumber Class Reference

Public Member Functions

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

Private Attributes

int32_t number_
 

Detailed Description

Definition at line 46 of file StringMap.h.

Constructor & Destructor Documentation

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

Definition at line 48 of file StringMap.h.

48 : number_(number) {}

Member Function Documentation

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

Definition at line 49 of file StringMap.h.

References number_.

49 { return number_ == val.second; }

Member Data Documentation

int32_t StringMap::MatchByNumber::number_
private

Definition at line 51 of file StringMap.h.

Referenced by operator()().