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
struct
string_ptr_compare
16
{
17
bool
operator()
(
const
std::string* left,
const
std::string* right)
const
{
return
*left < *right; }
18
};
19
20
struct
string_ptr_hash
21
{
22
inline
size_t
operator()
(
const
std::string* x)
const
{
return
reinterpret_cast<
size_t
>
(x); }
23
};
24
}
// namespace conffwk
25
}
// namespace dunedaq
26
#endif
// CONFFWK_STRING_PTR_H_
dunedaq::conffwk
Definition
test_circular_dependency.hpp:5
dunedaq
The DUNE-DAQ namespace.
Definition
cib_utilities.cpp:5
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:21
dunedaq::conffwk::string_ptr_hash::operator()
size_t operator()(const std::string *x) const
Definition
string_ptr.hpp:22
Generated on
for DUNE-DAQ by
1.18.0