CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
edm::TypeIDHasher Struct Reference

#include <MethodInvoker.h>

Public Member Functions

size_t operator() (TypeID const &tid) const
 
size_t operator() (TypeID const &tid) const
 

Detailed Description

Definition at line 20 of file MethodInvoker.h.

Member Function Documentation

size_t edm::TypeIDHasher::operator() ( TypeID const &  tid) const
inline

Definition at line 21 of file MethodInvoker.h.

References edm::TypeIDBase::name(), and AlCaHLTBitMon_QueryRunRegistry::string.

21  {
22  tbb::tbb_hash<std::string> hasher;
23  return hasher(std::string(tid.name()));
24  }
size_t edm::TypeIDHasher::operator() ( TypeID const &  tid) const
inline

Definition at line 38 of file TypeID.cc.

References edm::TypeIDBase::name(), and AlCaHLTBitMon_QueryRunRegistry::string.

38  {
39  tbb::tbb_hash<std::string> hasher;
40  return hasher(std::string(tid.name()));
41  }