DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dbe::inner::configobject::refhasher Struct Reference

#include <config_reference.hpp>

Public Member Functions

size_t operator() (dbe::cokey const &o) const

Detailed Description

Provides hashing facilities for objects of type shared_ptr<oref> such that they can be inserted in unordered_set / unordered_map type of containers

Definition at line 445 of file config_reference.hpp.

Member Function Documentation

◆ operator()()

size_t dbe::inner::configobject::refhasher::operator() ( dbe::cokey const & o) const
inline

Definition at line 447 of file config_reference.hpp.

448 {
449 return std::hash<std::string>()(o.this_class + o.this_name);
450 }

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