ATLAS Offline Software
|
pimpl-style holder for component properties. More...
#include <AthProperties.h>
Public Types | |
typedef AthProperties | base_class |
Public Member Functions | |
AthProperties (PARENT *parent) | |
PARENT * | parent () |
Private Attributes | |
PARENT * | m_parent |
pimpl-style holder for component properties.
A wart on Gaudi properties has been that that you needed to declare the property member in a different place than the declareProperty. This has been addressed by the new-style Property constructors that can implicitly declare the properties. The good news is that all the declarations are now in one place. The bad news is that it often seems to be the wrong place: when one is reading the implementation for a class, it is frequently jarring to have to go back to the header file in order to see if some member is a property or not.
However, using a variant of the pimpl idiom, we can move all the property declarations into the implementation file. Then we can see them easily, while still having everying in one place.
This class is intended to be used like this:
Definition at line 59 of file AthProperties.h.
typedef AthProperties AthProperties< PARENT >::base_class |
Definition at line 62 of file AthProperties.h.
|
inline |
Definition at line 63 of file AthProperties.h.
|
inline |
Definition at line 64 of file AthProperties.h.
|
private |
Definition at line 68 of file AthProperties.h.