DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
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
13namespace dunedaq {
14namespace conffwk
15{
17 bool operator()(const std::string * left, const std::string * right) const
18 {
19 return *left < *right;
20 }
21 };
22
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_
Including Qt Headers.
Definition module.cpp:16
bool operator()(const std::string *left, const std::string *right) const
size_t operator()(const std::string *x) const