LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
fhicl::detail::HashParameterSetID Class Reference

#include "ParameterSetRegistry.h"

Public Member Functions

size_t operator() (ParameterSetID const &id) const
 

Private Attributes

std::hash< std::string > hash_
 

Detailed Description

Definition at line 29 of file ParameterSetRegistry.h.

Member Function Documentation

size_t fhicl::detail::HashParameterSetID::operator() ( ParameterSetID const &  id) const
inline

Definition at line 205 of file ParameterSetRegistry.h.

References hash_, and fhicl::to_string().

206 {
207  return hash_(id.to_string());
208 }
std::string to_string(Protection p)
Definition: Protection.cc:4

Member Data Documentation

std::hash<std::string> fhicl::detail::HashParameterSetID::hash_
private

Definition at line 34 of file ParameterSetRegistry.h.

Referenced by operator()().


The documentation for this class was generated from the following file: