AmpGen
2.1
Toggle main menu visibility
Loading...
Searching...
No Matches
ConfigurableBase.h
Go to the documentation of this file.
1
#ifndef AMPGEN_CONFIGURABLEBASE_H
2
#define AMPGEN_CONFIGURABLEBASE_H 1
3
#include "
AmpGen/MsgService.h
"
4
#include <vector>
5
#include <string>
6
7
namespace
AmpGen
{
8
class
ConfigurableBase
{
9
public
:
10
void
registerParameter
(
const
std::string &name) { m_parameters.push_back(name); }
11
12
void
print
()
const
{
13
for
(
auto
const
&p : m_parameters)
INFO
(p);
14
}
15
16
std::string
remove_namespace
(
const
std::string &name);
17
18
private
:
19
std::vector<std::string> m_parameters;
20
};
21
}
22
#endif
MsgService.h
AmpGen::ConfigurableBase
Definition
ConfigurableBase.h:8
AmpGen::ConfigurableBase::remove_namespace
std::string remove_namespace(const std::string &name)
AmpGen::ConfigurableBase::registerParameter
void registerParameter(const std::string &name)
Definition
ConfigurableBase.h:10
AmpGen::ConfigurableBase::print
void print() const
Definition
ConfigurableBase.h:12
INFO
#define INFO(X)
Used for printing information messages, and will always be printed.
Definition
MsgService.h:81
AmpGen
Definition
AddCPConjugate.h:2
AmpGen
ConfigurableBase.h
Generated on
for AmpGen by
1.17.0