![]() |
The Gaudi Framework
v27r0
|
Public Member Functions | |
GaudiHandleArrayProperty (std::string name, GaudiHandleArrayBase &ref) | |
GaudiHandleArrayProperty & | operator= (const GaudiHandleArrayBase &value) |
GaudiHandleArrayProperty * | 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 GaudiHandleArrayBase & | value () const |
bool | setValue (const GaudiHandleArrayBase &value) |
GaudiHandleArrayProperty (std::string name, GaudiHandleArrayBase &ref) | |
GaudiHandleArrayProperty & | operator= (const GaudiHandleArrayBase &value) |
GaudiHandleArrayProperty * | 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 GaudiHandleArrayBase & | value () const |
bool | setValue (const GaudiHandleArrayBase &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 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 | |
GaudiHandleArrayBase * | m_pValue |
Pointer to the real property. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
std::function< void(Property &)> | m_readCallBack |
std::function< void(Property &)> | m_updateCallBack |
Definition at line 841 of file Property.h.
GaudiHandleArrayProperty::GaudiHandleArrayProperty | ( | std::string | name, |
GaudiHandleArrayBase & | ref | ||
) |
Definition at line 200 of file Property.cpp.
GaudiHandleArrayProperty::GaudiHandleArrayProperty | ( | std::string | name, |
GaudiHandleArrayBase & | ref | ||
) |
|
inlineoverridevirtual |
import the property value form the source
Implements Property.
Definition at line 888 of file Property.h.
|
overridevirtual |
import the property value form the source
Implements Property.
|
inlineoverridevirtual |
clone: "virtual constructor"
Implements Property.
Definition at line 880 of file Property.h.
|
overridevirtual |
clone: "virtual constructor"
Implements Property.
|
overridevirtual |
string -> value
Implements Property.
|
overridevirtual |
string -> value
Implements Property.
Definition at line 223 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 884 of file Property.h.
|
inline |
Definition at line 875 of file Property.h.
GaudiHandleArrayProperty& GaudiHandleArrayProperty::operator= | ( | const GaudiHandleArrayBase & | value | ) |
bool GaudiHandleArrayProperty::setValue | ( | const GaudiHandleArrayBase & | value | ) |
Definition at line 206 of file Property.cpp.
bool GaudiHandleArrayProperty::setValue | ( | const GaudiHandleArrayBase & | value | ) |
|
overridevirtual |
value -> stream
Implements Property.
|
overridevirtual |
value -> stream
Implements Property.
Definition at line 217 of file Property.cpp.
|
overridevirtual |
value -> string
Implements Property.
Definition at line 211 of file Property.cpp.
|
overridevirtual |
value -> string
Implements Property.
|
inline |
Definition at line 892 of file Property.h.
const GaudiHandleArrayBase& GaudiHandleArrayProperty::value | ( | ) | const |
|
private |
Pointer to the real property.
Reference would be better, but ROOT does not support references yet
Definition at line 867 of file Property.h.