DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
map.hpp
Go to the documentation of this file.
1//
2// DUNE DAQ modification notice:
3// This file has been modified from the original ATLAS config source for the DUNE DAQ project.
4// Fork baseline commit: 67a24e731 (2022-10-27).
5// Renamed since fork: yes (from config/map.h to include/conffwk/map.hpp).
6//
7
8#ifndef CONFFWK_MAP_H_
9#define CONFFWK_MAP_H_
10
12#include <unordered_map>
13
14namespace dunedaq {
15namespace conffwk {
16template<class T>
17class map : public std::unordered_map<std::string, T>
18{
19public:
20 map() { ; }
21};
22
23template<class T>
24class multimap : public std::unordered_multimap<std::string, T>
25{
26public:
27 multimap() { ; }
28};
29
30// compare pointers by string value
31template<class T>
32class pmap : public std::map<const std::string*, T, string_ptr_compare>
33{
34public:
35 pmap() { ; }
36};
37
38// compare string pointers (not values!)
39template<class T>
40class fmap : public std::unordered_map<const std::string*, T, string_ptr_hash>
41{
42public:
43 fmap() { ; }
44};
45} // namespace conffwk
46} // namespace dunedaq
47
48#endif // CONFFWK_MAP_H_
The DUNE-DAQ namespace.