LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 32 of file ParameterSetRegistry.h.

Member Function Documentation

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

Definition at line 207 of file ParameterSetRegistry.h.

References hash_, and fhicl::to_string().

208 {
209  return hash_(id.to_string());
210 }
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 37 of file ParameterSetRegistry.h.

Referenced by operator()().


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