DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
conffwk
include
conffwk
string_ptr.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/string_ptr.h to include/conffwk/string_ptr.hpp).
6
//
7
8
#ifndef CONFFWK_STRING_PTR_H_
9
#define CONFFWK_STRING_PTR_H_
10
11
#include <string>
12
13
namespace
dunedaq
{
14
namespace
conffwk
15
{
16
struct
string_ptr_compare
{
17
bool
operator()
(
const
std::string * left,
const
std::string * right)
const
18
{
19
return
*left < *right;
20
}
21
};
22
23
struct
string_ptr_hash
24
{
25
inline
size_t
operator()
(
const
std::string * x )
const
{
26
return
reinterpret_cast<
size_t
>
(x);
27
}
28
};
29
}
// namespace conffwk
30
}
// namespace dunedaq
31
#endif
// CONFFWK_STRING_PTR_H_
dunedaq::conffwk
Definition
Change.hpp:23
dunedaq
Including Qt Headers.
Definition
module.cpp:16
dunedaq::conffwk::string_ptr_compare
Definition
string_ptr.hpp:16
dunedaq::conffwk::string_ptr_compare::operator()
bool operator()(const std::string *left, const std::string *right) const
Definition
string_ptr.hpp:17
dunedaq::conffwk::string_ptr_hash
Definition
string_ptr.hpp:24
dunedaq::conffwk::string_ptr_hash::operator()
size_t operator()(const std::string *x) const
Definition
string_ptr.hpp:25
Generated on
for DUNE-DAQ by
1.17.0