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 440 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 442 of file config_reference.hpp.

443 {
444 return std::hash<std::string>()(o.this_class + o.this_name);
445 }

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