![]() |
The Gaudi Framework
v27r0
|


Public Member Functions | |
| GaudiHandleProperty (std::string name, GaudiHandleBase &ref) | |
| GaudiHandleProperty & | operator= (const GaudiHandleBase &value) |
| GaudiHandleProperty * | clone () const override |
| clone: "virtual constructor" More... | |
| bool | load (Property &destination) const override |
| export the property value to the destination More... | |
| bool | assign (const Property &source) override |
| import the property value form the source More... | |
| std::string | toString () const override |
| value -> string More... | |
| void | toStream (std::ostream &out) const override |
| value -> stream More... | |
| StatusCode | fromString (const std::string &s) override |
| string -> value More... | |
| const GaudiHandleBase & | value () const |
| bool | setValue (const GaudiHandleBase &value) |
| GaudiHandleProperty (std::string name, GaudiHandleBase &ref) | |
| GaudiHandleProperty & | operator= (const GaudiHandleBase &value) |
| GaudiHandleProperty * | clone () const override |
| clone: "virtual constructor" More... | |
| bool | load (Property &destination) const override |
| export the property value to the destination More... | |
| bool | assign (const Property &source) override |
| import the property value form the source More... | |
| std::string | toString () const override |
| value -> string More... | |
| void | toStream (std::ostream &out) const override |
| value -> stream More... | |
| StatusCode | fromString (const std::string &s) override |
| string -> value More... | |
| const GaudiHandleBase & | value () const |
| bool | setValue (const GaudiHandleBase &value) |
Public Member Functions inherited from Property | |
| 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 std::function< void(Property &)> & | readCallBack () const |
| get a reference to the readCallBack More... | |
| const std::function< void(Property &)> & | updateCallBack () const |
| get a reference to the updateCallBack More... | |
| virtual Property & | declareReadHandler (std::function< void(Property &)> fun) |
| set new callback for reading More... | |
| virtual Property & | declareUpdateHandler (std::function< void(Property &)> fun) |
| set new callback for update More... | |
| template<class HT > | |
| Property & | declareReadHandler (void(HT::*MF)(Property &), HT *instance) |
| template<class HT > | |
| Property & | 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 ()=default |
| virtual destructor More... | |
| void | setName (std::string value) |
| set the new value for the property name More... | |
| void | setDocumentation (std::string documentation) |
| set the documentation string More... | |
| virtual std::ostream & | fillStream (std::ostream &) const |
| the printout of the property value More... | |
| 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 std::function< void(Property &)> & | readCallBack () const |
| get a reference to the readCallBack More... | |
| const std::function< void(Property &)> & | updateCallBack () const |
| get a reference to the updateCallBack More... | |
| virtual Property & | declareReadHandler (std::function< void(Property &)> fun) |
| set new callback for reading More... | |
| virtual Property & | declareUpdateHandler (std::function< void(Property &)> fun) |
| set new callback for update More... | |
| template<class HT > | |
| Property & | declareReadHandler (void(HT::*MF)(Property &), HT *instance) |
| template<class HT > | |
| Property & | 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 ()=default |
| virtual destructor More... | |
| void | setName (std::string value) |
| set the new value for the property name More... | |
| void | setDocumentation (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 | |
Protected Member Functions inherited from Property | |
| Property (const std::type_info &type, std::string name="") | |
| constructor from the property name and the type More... | |
| Property (std::string name, const std::type_info &type) | |
| constructor from the property name and the type More... | |
| Property (const Property &)=default | |
| copy constructor More... | |
| Property & | operator= (const Property &)=default |
| assignment operator More... | |
| Property (const std::type_info &type, std::string name="") | |
| constructor from the property name and the type More... | |
| Property (std::string name, const std::type_info &type) | |
| constructor from the property name and the type More... | |
| Property (const Property &)=default | |
| copy constructor More... | |
| Property & | operator= (const Property &)=default |
| assignment operator More... | |
Protected Attributes inherited from Property | |
| std::function< void(Property &)> | m_readCallBack |
| std::function< void(Property &)> | m_updateCallBack |
Definition at line 783 of file Property.h.
| GaudiHandleProperty::GaudiHandleProperty | ( | std::string | name, |
| GaudiHandleBase & | ref | ||
| ) |
Definition at line 170 of file Property.cpp.
| GaudiHandleProperty::GaudiHandleProperty | ( | std::string | name, |
| GaudiHandleBase & | ref | ||
| ) |
|
inlineoverridevirtual |
import the property value form the source
Implements Property.
Definition at line 828 of file Property.h.
|
overridevirtual |
import the property value form the source
Implements Property.
|
inlineoverridevirtual |
clone: "virtual constructor"
Implements Property.
Definition at line 820 of file Property.h.
|
overridevirtual |
clone: "virtual constructor"
Implements Property.
|
overridevirtual |
string -> value
Implements Property.
|
overridevirtual |
string -> value
Implements Property.
Definition at line 191 of file Property.cpp.
|
overridevirtual |
export the property value to the destination
Implements Property.
|
inlineoverridevirtual |
export the property value to the destination
Implements Property.
Definition at line 824 of file Property.h.
|
inline |
Definition at line 815 of file Property.h.
| GaudiHandleProperty& GaudiHandleProperty::operator= | ( | const GaudiHandleBase & | value | ) |
| bool GaudiHandleProperty::setValue | ( | const GaudiHandleBase & | value | ) |
Definition at line 176 of file Property.cpp.
| bool GaudiHandleProperty::setValue | ( | const GaudiHandleBase & | value | ) |
|
overridevirtual |
value -> stream
Implements Property.
|
overridevirtual |
value -> stream
Implements Property.
Definition at line 186 of file Property.cpp.
|
overridevirtual |
value -> string
Implements Property.
Definition at line 181 of file Property.cpp.
|
overridevirtual |
value -> string
Implements Property.
|
inline |
Definition at line 832 of file Property.h.
| const GaudiHandleBase& GaudiHandleProperty::value | ( | ) | const |
|
private |
Pointer to the real property.
Reference would be better, but ROOT does not support references yet
Definition at line 808 of file Property.h.