DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
conffwk
include
conffwk
map.hpp
Go to the documentation of this file.
1
#ifndef CONFFWK_MAP_H_
2
#define CONFFWK_MAP_H_
3
4
#include "
conffwk/string_ptr.hpp
"
5
#include <unordered_map>
6
7
namespace
dunedaq
{
8
namespace
conffwk
9
{
10
template
<
class
T>
11
class
map
:
public
std::unordered_map<std::string, T>
12
{
13
public
:
14
map
()
15
{
16
;
17
}
18
};
19
20
template
<
class
T>
21
class
multimap
:
public
std::unordered_multimap<std::string, T>
22
{
23
public
:
24
multimap
()
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
:
35
pmap
()
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
:
46
fmap
()
47
{
48
;
49
}
50
};
51
}
// namespace conffwk
52
}
// namespace dunedaq
53
54
#endif
// CONFFWK_MAP_H_
dunedaq::conffwk::fmap
Definition
map.hpp:44
dunedaq::conffwk::fmap::fmap
fmap()
Definition
map.hpp:46
dunedaq::conffwk::map
Definition
map.hpp:12
dunedaq::conffwk::map::map
map()
Definition
map.hpp:14
dunedaq::conffwk::multimap
Definition
map.hpp:22
dunedaq::conffwk::multimap::multimap
multimap()
Definition
map.hpp:24
dunedaq::conffwk::pmap
Definition
map.hpp:33
dunedaq::conffwk::pmap::pmap
pmap()
Definition
map.hpp:35
conffwk
Definition
__init__.py:1
dunedaq
Including Qt Headers.
Definition
TimingController.hxx:1
string_ptr.hpp
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0