![]() |
The Gaudi Framework
v26r0
|
#include <GaudiKernel/Property.h>
Public Member Functions | |
GaudiHandleProperty (const std::string &name, GaudiHandleBase &ref) | |
GaudiHandleProperty & | operator= (const GaudiHandleBase &value) |
virtual GaudiHandleProperty * | clone () const |
clone: "virtual constructor" More... | |
virtual bool | load (Property &destination) const |
export the property value to the destination More... | |
virtual bool | assign (const Property &source) |
import the property value form the source More... | |
virtual std::string | toString () const |
value -> string More... | |
virtual void | toStream (std::ostream &out) const |
value -> stream More... | |
virtual StatusCode | fromString (const std::string &s) |
string -> value More... | |
const GaudiHandleBase & | value () const |
bool | setValue (const GaudiHandleBase &value) |
![]() | |
const std::string & | name () const |
property name More... | |
const std::string & | documentation () const |
property documentation More... | |
const std::type_info * | type_info () const |
property type-info More... | |
std::string | type () const |
property type More... | |
const PropertyCallbackFunctor * | readCallBack () const |
Call-back functor at reading: the functor is owned by property! More... | |
const PropertyCallbackFunctor * | updateCallBack () const |
Call-back functor for update: the functor is owned by property! More... | |
virtual void | declareReadHandler (PropertyCallbackFunctor *pf) |
set new callback for reading More... | |
virtual void | declareUpdateHandler (PropertyCallbackFunctor *pf) |
set new callback for update More... | |
template<class HT > | |
void | declareReadHandler (void(HT::*MF)(Property &), HT *instance) |
template<class HT > | |
void | declareUpdateHandler (void(HT::*MF)(Property &), HT *instance) |
virtual void | useReadHandler () const |
use the call-back function at reading More... | |
virtual bool | useUpdateHandler () |
use the call-back function at update More... | |
virtual | ~Property () |
virtual destructor More... | |
void | setName (const std::string &value) |
set the new value for the property name More... | |
void | setDocumentation (const std::string &documentation) |
set the documentation string More... | |
virtual std::ostream & | fillStream (std::ostream &) const |
the printout of the property value More... | |
Private Attributes | |
GaudiHandleBase * | m_pValue |
Pointer to the real property. More... | |
Additional Inherited Members | |
![]() | |
Property (const std::type_info &type, const std::string &name="") | |
constructor from the property name and the type More... | |
Property (const std::string &name, const std::type_info &type) | |
constructor from the property name and the type More... | |
Property (const Property &right) | |
copy constructor More... | |
Property & | operator= (const Property &right) |
assignment operator More... | |
![]() | |
PropertyCallbackFunctor * | m_readCallBack |
PropertyCallbackFunctor * | m_updateCallBack |
Definition at line 808 of file Property.h.
GaudiHandleProperty::GaudiHandleProperty | ( | const std::string & | name, |
GaudiHandleBase & | ref | ||
) |
Definition at line 244 of file Property.cpp.
|
inlinevirtual |
import the property value form the source
Implements Property.
Definition at line 853 of file Property.h.
|
inlinevirtual |
clone: "virtual constructor"
Implements Property.
Definition at line 845 of file Property.h.
|
virtual |
string -> value
Implements Property.
Definition at line 265 of file Property.cpp.
|
inlinevirtual |
export the property value to the destination
Implements Property.
Definition at line 849 of file Property.h.
|
inline |
Definition at line 840 of file Property.h.
bool GaudiHandleProperty::setValue | ( | const GaudiHandleBase & | value | ) |
Definition at line 250 of file Property.cpp.
|
virtual |
value -> stream
Implements Property.
Definition at line 260 of file Property.cpp.
|
virtual |
value -> string
Implements Property.
Definition at line 255 of file Property.cpp.
|
inline |
Definition at line 857 of file Property.h.
|
private |
Pointer to the real property.
Reference would be better, but ROOT does not support references yet
Definition at line 833 of file Property.h.