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
template
<
class
T>
17
class
map
:
public
std::unordered_map<std::string, T>
18
{
19
public
:
20
map
() { ; }
21
};
22
23
template
<
class
T>
24
class
multimap
:
public
std::unordered_multimap<std::string, T>
25
{
26
public
:
27
multimap
() { ; }
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
// compare string pointers (not values!)
39
template
<
class
T>
40
class
fmap
:
public
std::unordered_map<const std::string*, T, string_ptr_hash>
41
{
42
public
:
43
fmap
() { ; }
44
};
45
}
// namespace conffwk
46
}
// namespace dunedaq
47
48
#endif
// CONFFWK_MAP_H_
dunedaq::conffwk::fmap::fmap
fmap()
Definition
map.hpp:43
dunedaq::conffwk::map::map
map()
Definition
map.hpp:20
dunedaq::conffwk::multimap::multimap
multimap()
Definition
map.hpp:27
dunedaq::conffwk::pmap::pmap
pmap()
Definition
map.hpp:35
dunedaq::conffwk
Definition
test_circular_dependency.hpp:5
dunedaq
The DUNE-DAQ namespace.
Definition
cib_utilities.cpp:5
string_ptr.hpp
Generated on
for DUNE-DAQ by
1.18.0