tdaq-develop-2025-02-12
Return to top level
SOAPParameters.h
1
#ifndef _ots_SOAPParameters_h
2
#define _ots_SOAPParameters_h
3
4
#include "otsdaq/SOAPUtilities/DataStructs.h"
5
#include "otsdaq/SOAPUtilities/SOAPParameter.h"
6
7
#include <string>
8
9
namespace
ots
10
{
11
class
SOAPParameters
:
public
Parameters
<std::string, std::string>
12
{
13
public
:
14
SOAPParameters
(
void
);
15
SOAPParameters
(
const
std::string& name,
const
std::string& value =
""
);
16
SOAPParameters
(
SOAPParameter
parameter);
17
~
SOAPParameters
(
void
);
18
void
addParameter(
const
std::string& name,
const
std::string& value =
""
);
19
void
addParameter(
const
std::string& name,
const
int
value);
20
int
getValueAsInt(
const
std::string& name) {
return
atoi(getValue(name).c_str()); }
21
};
22
}
// namespace ots
23
#endif
ots::Parameters
Definition:
DataStructs.h:46
ots::SOAPParameter
Definition:
SOAPParameter.h:11
ots::SOAPParameters
Definition:
SOAPParameters.h:12
ots
Definition:
ArtdaqOtsBuildInfo_module.cc:10
otsdaq
otsdaq
SOAPUtilities
SOAPParameters.h
Generated on Mon Feb 17 2025 17:02:11 for tdaq-develop-2025-02-12 by
1.9.1