#include <GaudiKernel/PropertyMgr.h>
Inheritance diagram for PropertyMgr:

Public Methods | |
| PropertyMgr () | |
| Constructors and destructors. More... | |
| virtual | ~PropertyMgr () |
| template<classValueType> void | declareProperty ( const std::string& name, ValueType& referencedVariable ) |
| Declare a property (templated). More... | |
| DECLARESIMPLEPROPERTY (Boolean) DECLARESIMPLEPROPERTY(Char) DECLARESIMPLEPROPERTY(SignedChar) DECLARESIMPLEPROPERTY(UnsignedChar) DECLARESIMPLEPROPERTY(Short) DECLARESIMPLEPROPERTY(UnsignedShort) DECLARESIMPLEPROPERTY(Integer) DECLARESIMPLEPROPERTY(UnsignedInteger) DECLARESIMPLEPROPERTY(Long) DECLARESIMPLEPROPERTY(UnsignedLong) DECLARESIMPLEPROPERTY(Float) DECLARESIMPLEPROPERTY(Double) DECLARESIMPLEPROPERTY(LongDouble) DECLARESIMPLEPROPERTY(String) DECLARESIMPLEPROPERTY(BooleanArray) DECLARESIMPLEPROPERTY(CharArray) DECLARESIMPLEPROPERTY(SignedCharArray) DECLARESIMPLEPROPERTY(UnsignedCharArray) DECLARESIMPLEPROPERTY(ShortArray) DECLARESIMPLEPROPERTY(UnsignedShortArray) DECLARESIMPLEPROPERTY(IntegerArray) DECLARESIMPLEPROPERTY(UnsignedIntegerArray) DECLARESIMPLEPROPERTY(LongArray) DECLARESIMPLEPROPERTY(UnsignedLongArray) DECLARESIMPLEPROPERTY(FloatArray) DECLARESIMPLEPROPERTY(DoubleArray) DECLARESIMPLEPROPERTY(LongDoubleArray) DECLARESIMPLEPROPERTY(StringArray) StatusCode setProperty( const Property& p) | |
| StatusCode | setProperty ( std::istream& s ) |
| Set the property by istream. More... | |
| StatusCode | setProperty ( const std::string& n, const std::string& v) |
| Set the property by std::string. More... | |
| StatusCode | getProperty (Property* p) const |
| Get the property by property. More... | |
| const Property& | getProperty ( const std::string& name) const |
| Get the property by name. More... | |
| StatusCode | getProperty ( const std::string& n, std::string& v ) const |
| Get the property by std::string. More... | |
| const std::vector<Property*>& | getProperties ( ) const |
| Get list of properties. More... | |
| StatusCode | queryInterface (const IID& riid, void** ppvInterface) |
| unsigned long | addRef () |
| Increment the reference count of Interface instance. More... | |
| unsigned long | release () |
| Release Interface instance. More... | |
Private Types | |
| typedef std::vector< PropertyRef* > | PropertyCollectionType |
Private Attributes | |
| PropertyCollectionType | m_properties |
| std::vector<bool> | m_isOwned |
This class is used by algorithms and services for helping to manage its own set of properties. It implements the IProperty interface.
Definition at line 20 of file PropertyMgr.h.
|
|
Definition at line 112 of file PropertyMgr.h. |
|
|
Constructors and destructors.
Definition at line 18 of file PropertyMgr.cpp. |
|
|
Definition at line 20 of file PropertyMgr.cpp. |
|
|
|
|
|
Increment the reference count of Interface instance.
Reimplemented from IInterface. Definition at line 142 of file PropertyMgr.cpp. |
|
||||||
|
Declare a property (templated).
Definition at line 28 of file PropertyMgr.h. Referenced by Service::declareProperty(), Auditor::declareProperty(), AlgTool::declareProperty(), and Algorithm::declareProperty(). |
|
|
Get list of properties.
Reimplemented from IProperty. Definition at line 135 of file PropertyMgr.cpp. Referenced by Service::getProperties(), Auditor::getProperties(), AlgTool::getProperties(), and Algorithm::getProperties(). |
|
|
Get the property by std::string.
Reimplemented from IProperty. Definition at line 119 of file PropertyMgr.cpp. |
|
|
Get the property by name.
Reimplemented from IProperty. Definition at line 106 of file PropertyMgr.cpp. |
|
|
Get the property by property.
Reimplemented from IProperty. Definition at line 94 of file PropertyMgr.cpp. Referenced by Service::getProperty(), getProperty(), Auditor::getProperty(), AlgTool::getProperty(), Algorithm::getProperty(), and setProperty(). |
|
|
Definition at line 141 of file PropertyMgr.cpp. |
|
|
Release Interface instance.
Reimplemented from IInterface. Definition at line 143 of file PropertyMgr.cpp. |
|
|
Set the property by std::string.
Reimplemented from IProperty. Definition at line 78 of file PropertyMgr.cpp. |
|
|
Set the property by istream.
Reimplemented from IProperty. Definition at line 61 of file PropertyMgr.cpp. Referenced by Service::setProperty(), Auditor::setProperty(), AlgTool::setProperty(), and Algorithm::setProperty(). |
|
|
Definition at line 114 of file PropertyMgr.h. |
|
|
Definition at line 113 of file PropertyMgr.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000