DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
map.hpp
Go to the documentation of this file.
1#ifndef CONFFWK_MAP_H_
2#define CONFFWK_MAP_H_
3
5#include <unordered_map>
6
7namespace dunedaq {
8namespace conffwk
9{
10 template<class T>
11 class map : public std::unordered_map<std::string, T>
12 {
13 public:
15 {
16 ;
17 }
18 };
19
20 template<class T>
21 class multimap : public std::unordered_multimap<std::string, T>
22 {
23 public:
25 {
26 ;
27 }
28 };
29
30 // compare pointers by string value
31 template<class T>
32 class pmap : public std::map<const std::string *, T, string_ptr_compare>
33 {
34 public:
36 {
37 ;
38 }
39 };
40
41 // compare string pointers (not values!)
42 template<class T>
43 class fmap : public std::unordered_map<const std::string *, T, string_ptr_hash>
44 {
45 public:
47 {
48 ;
49 }
50 };
51} // namespace conffwk
52} // namespace dunedaq
53
54#endif // CONFFWK_MAP_H_
Including Qt Headers.