Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
v31r0 (aeb156f0)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
PropertyList.h
Go to the documentation of this file.
1
#ifndef GAUDIKERNEL_PROPERTYLIST_H
2
#define GAUDIKERNEL_PROPERTYLIST_H
3
4
// Include Files
5
#include "
GaudiKernel/IProperty.h
"
6
#include "
Property.h
"
7
#include <vector>
8
16
class
GAUDI_API
PropertyList
:
public
Property
{
17
public
:
19
PropertyList
();
21
PropertyList
(
const
std::string
&
name
);
23
virtual
~
PropertyList
();
24
26
bool
isRef
()
const
{
return
false
; }
27
29
void
addProperty(
const
std::string
& name,
Property
& p );
31
void
addProperty(
Property
& p );
33
void
removeProperty(
const
std::string
& name );
35
void
removeProperty(
Property
& p );
36
38
bool
assign(
const
Property
& p )
override
;
40
bool
load(
Property
& p )
const override
;
41
43
bool
assign(
const
std::string
& name,
const
Property
& p );
45
bool
load(
const
std::string
& name,
Property
& p )
const
;
46
48
const
Property
&
getProperty
(
const
std::string
& name )
const
;
50
const
std::vector<Property*>
&
getProperties
()
const
;
51
52
private
:
53
std::vector<Property*>
m_propertyList
;
54
};
55
56
#endif // GAUDIKERNEL_PROPERTYLIST_H
PropertyList::isRef
bool isRef() const
Accessor members (const)
Definition:
PropertyList.h:26
gaudiComponentHelp.name
name
Definition:
gaudiComponentHelp.py:41
PropertyList
List of properties.
Definition:
PropertyList.h:16
PropertyList::m_propertyList
std::vector< Property * > m_propertyList
Definition:
PropertyList.h:53
Property
Gaudi::Details::PropertyBase Property
backward compatibility hack for old Property base class
Definition:
PropertyFwd.h:25
std::string
STL class.
IProperty.h
std::vector< Property * >
Property.h
getProperties
const std::vector< Gaudi::Details::PropertyBase * > & getProperties() const override
get all properties
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:71
Gaudi::Utils::getProperty
GAUDI_API Gaudi::Details::PropertyBase * getProperty(const IProperty *p, const std::string &name)
simple function which gets the property with given name from the component
Definition:
Property.cpp:204
GaudiKernel
GaudiKernel
PropertyList.h
Generated on Mon Feb 11 2019 17:48:15 for The Gaudi Framework by
1.8.11