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

#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

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

Definition at line 46 of file StringMap.h.

46 : number_(number) {}

Member Function Documentation

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

Definition at line 47 of file StringMap.h.

References number_.

47 { return number_ == val.second; }

Member Data Documentation

int32_t StringMap::MatchByNumber::number_
private

Definition at line 49 of file StringMap.h.

Referenced by operator()().