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
16{
17 template<class T>
18 class map : public std::unordered_map<std::string, T>
19 {
20 public:
22 {
23 ;
24 }
25 };
26
27 template<class T>
28 class multimap : public std::unordered_multimap<std::string, T>
29 {
30 public:
32 {
33 ;
34 }
35 };
36
37 // compare pointers by string value
38 template<class T>
39 class pmap : public std::map<const std::string *, T, string_ptr_compare>
40 {
41 public:
43 {
44 ;
45 }
46 };
47
48 // compare string pointers (not values!)
49 template<class T>
50 class fmap : public std::unordered_map<const std::string *, T, string_ptr_hash>
51 {
52 public:
54 {
55 ;
56 }
57 };
58} // namespace conffwk
59} // namespace dunedaq
60
61#endif // CONFFWK_MAP_H_
Including Qt Headers.
Definition module.cpp:16