The Gaudi Framework
v33r0 (d5ea422b)
PropertyList.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef GAUDIKERNEL_PROPERTYLIST_H
12
#define GAUDIKERNEL_PROPERTYLIST_H
13
14
// Include Files
15
#include "
GaudiKernel/IProperty.h
"
16
#include "
Property.h
"
17
#include <vector>
18
26
class
GAUDI_API
PropertyList
:
public
Property
{
27
public
:
29
PropertyList
();
31
PropertyList
(
const
std::string
&
name
);
33
virtual
~
PropertyList
();
34
36
bool
isRef
()
const
{
return
false
; }
37
39
void
addProperty(
const
std::string
&
name
,
Property
& p );
41
void
addProperty(
Property
& p );
43
void
removeProperty(
const
std::string
&
name
);
45
void
removeProperty(
Property
& p );
46
48
bool
assign(
const
Property
& p )
override
;
50
bool
load(
Property
& p )
const override
;
51
53
bool
assign(
const
std::string
&
name
,
const
Property
& p );
55
bool
load(
const
std::string
&
name
,
Property
& p )
const
;
56
58
const
Property
&
getProperty
(
const
std::string
&
name
)
const
;
60
const
std::vector<Property*>
& getProperties()
const
;
61
62
private
:
63
std::vector<Property*>
m_propertyList
;
64
};
65
66
#endif // GAUDIKERNEL_PROPERTYLIST_H
gaudiComponentHelp.name
name
Definition:
gaudiComponentHelp.py:52
PropertyList
List of properties.
Definition:
PropertyList.h:26
PropertyList::m_propertyList
std::vector< Property * > m_propertyList
Definition:
PropertyList.h:63
getProperty
const char *PyHelper() getProperty(IInterface *p, char *name)
Definition:
Bootstrap.cpp:247
Property
Gaudi::Details::PropertyBase Property
\fixme backward compatibility hack for old Property base class
Definition:
PropertyFwd.h:35
std::string
STL class.
PropertyList::isRef
bool isRef() const
Accessor members (const)
Definition:
PropertyList.h:36
IProperty.h
std::vector< Property * >
Property.h
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
GaudiKernel
GaudiKernel
PropertyList.h
Generated on Mon Dec 16 2019 23:26:34 for The Gaudi Framework by
1.8.15