CMS 3D CMS Logo

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(), writedatasetfile::parser, 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 37 of file TypeID.cc.

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

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