AmpGen
2.1
Toggle main menu visibility
Loading...
Searching...
No Matches
Configurable.h
Go to the documentation of this file.
1
#ifndef AMPGEN_CONFIGURABLE_H
2
#define AMPGEN_CONFIGURABLE_H 1
3
#include "
AmpGen/MsgService.h
"
4
#include "
AmpGen/Property.h
"
5
#include "
AmpGen/MetaUtils.h
"
6
#include "
AmpGen/ConfigurableBase.h
"
7
8
namespace
AmpGen
{
9
10
template
<
typename
T>
class
Configurable
:
public
ConfigurableBase
{
11
static
T *gImpl;
12
13
public
:
14
virtual
~Configurable
() =
default
;
15
16
protected
:
17
Property<bool>
m_verbose
{
this
,
remove_namespace
(
type_string<T>
()) +
"::Verbose"
,
false
,
"Enable verbose printing"
};
18
};
19
}
20
#endif
ConfigurableBase.h
MetaUtils.h
MsgService.h
Property.h
AmpGen::ConfigurableBase
Definition
ConfigurableBase.h:8
AmpGen::ConfigurableBase::remove_namespace
std::string remove_namespace(const std::string &name)
AmpGen::Configurable
Definition
Configurable.h:10
AmpGen::Configurable::m_verbose
Property< bool > m_verbose
Definition
Configurable.h:17
AmpGen::Configurable::~Configurable
virtual ~Configurable()=default
AmpGen::Property
Properties are configurable characteristics of objects that will at some point inherit from a base cl...
Definition
Property.h:25
AmpGen
Definition
AddCPConjugate.h:2
AmpGen::type_string
std::string type_string()
Utility classes for compile-time metaprogramming, such as identifying the types of arguments for gene...
Definition
MetaUtils.h:17
AmpGen
Configurable.h
Generated on
for AmpGen by
1.17.0