DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
conffwk
include
conffwk
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
11
#include "
conffwk/string_ptr.hpp
"
12
#include <unordered_map>
13
14
namespace
dunedaq
{
15
namespace
conffwk
16
{
17
template
<
class
T>
18
class
map
:
public
std::unordered_map<std::string, T>
19
{
20
public
:
21
map
()
22
{
23
;
24
}
25
};
26
27
template
<
class
T>
28
class
multimap
:
public
std::unordered_multimap<std::string, T>
29
{
30
public
:
31
multimap
()
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
:
42
pmap
()
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
:
53
fmap
()
54
{
55
;
56
}
57
};
58
}
// namespace conffwk
59
}
// namespace dunedaq
60
61
#endif
// CONFFWK_MAP_H_
dunedaq::conffwk::fmap::fmap
fmap()
Definition
map.hpp:53
dunedaq::conffwk::map::map
map()
Definition
map.hpp:21
dunedaq::conffwk::multimap::multimap
multimap()
Definition
map.hpp:31
dunedaq::conffwk::pmap::pmap
pmap()
Definition
map.hpp:42
dunedaq::conffwk
Definition
Change.hpp:23
dunedaq
Including Qt Headers.
Definition
module.cpp:16
string_ptr.hpp
Generated on
for DUNE-DAQ by
1.17.0