![]() |
The Gaudi Framework
v27r0
|
SimpleProperty concrete class which implements the full Property interface. More...
#include <GaudiKernel/Property.h>


Public Member Functions | |
| SimpleProperty (VERIFIER verifier=VERIFIER()) | |
| "Almost default" constructor from verifier More... | |
| SimpleProperty (const TYPE &value, VERIFIER verifier=VERIFIER()) | |
| The constructor from the value and verifier (ATLAS needs it!) More... | |
| SimpleProperty (std::string name, const TYPE &value, VERIFIER verifier=VERIFIER()) | |
| The constructor from the name, value and verifier. More... | |
| template<class OTHER > | |
| SimpleProperty (const PropertyWithValue< OTHER > &right) | |
| constructor from other property type More... | |
| SimpleProperty (const SimpleProperty &right) | |
| copy constructor (must be!) More... | |
| ~SimpleProperty () override=default | |
| virtual Destructor More... | |
| SimpleProperty * | clone () const override |
| implementation of Property::clone More... | |
| SimpleProperty & | operator= (const TYPE &value) |
| assignment form the value More... | |
| template<class OTHER > | |
| SimpleProperty & | operator= (const PropertyWithValue< OTHER > &right) |
| assignment form the other property type More... | |
| SimpleProperty (VERIFIER verifier=VERIFIER()) | |
| "Almost default" constructor from verifier More... | |
| SimpleProperty (const TYPE &value, VERIFIER verifier=VERIFIER()) | |
| The constructor from the value and verifier (ATLAS needs it!) More... | |
| SimpleProperty (std::string name, const TYPE &value, VERIFIER verifier=VERIFIER()) | |
| The constructor from the name, value and verifier. More... | |
| template<class OTHER > | |
| SimpleProperty (const PropertyWithValue< OTHER > &right) | |
| constructor from other property type More... | |
| SimpleProperty (const SimpleProperty &right) | |
| copy constructor (must be!) More... | |
| ~SimpleProperty () override=default | |
| virtual Destructor More... | |
| SimpleProperty * | clone () const override |
| implementation of Property::clone More... | |
| SimpleProperty & | operator= (const TYPE &value) |
| assignment form the value More... | |
| template<class OTHER > | |
| SimpleProperty & | operator= (const PropertyWithValue< OTHER > &right) |
| assignment form the other property type More... | |
| template<class OTHER > | |
| SimpleProperty< TYPE, VERIFIER > & | operator= (const PropertyWithValue< OTHER > &right) |
| assignment form the other property type More... | |
Public Member Functions inherited from PropertyWithVerifier< TYPE, VERIFIER > | |
| VERIFIER & | verifier () |
| const VERIFIER & | verifier () const |
| bool | set (const TYPE &value) |
| update the value of the property/check the verifier More... | |
| bool | setValue (const TYPE &value) override |
| implementation of PropertyWithValue::setValue More... | |
| template<class OTHER , class OTHERVERIFIER > | |
| PropertyWithVerifier & | operator= (const PropertyWithVerifier< OTHER, OTHERVERIFIER > &right) |
| templated assignment More... | |
| template<class OTHER > | |
| PropertyWithVerifier & | operator= (const PropertyWithValue< OTHER > &right) |
| templated assignment More... | |
| PropertyWithVerifier & | operator= (const TYPE &right) |
| assignment More... | |
| VERIFIER & | verifier () |
| const VERIFIER & | verifier () const |
| bool | set (const TYPE &value) |
| update the value of the property/check the verifier More... | |
| bool | setValue (const TYPE &value) override |
| implementation of PropertyWithValue::setValue More... | |
| template<class OTHER , class OTHERVERIFIER > | |
| PropertyWithVerifier & | operator= (const PropertyWithVerifier< OTHER, OTHERVERIFIER > &right) |
| templated assignment More... | |
| template<class OTHER > | |
| PropertyWithVerifier & | operator= (const PropertyWithValue< OTHER > &right) |
| templated assignment More... | |
| PropertyWithVerifier & | operator= (const TYPE &right) |
| assignment More... | |
| template<class OTHER > | |
| PropertyWithVerifier< TYPE, VERIFIER > & | operator= (const PropertyWithValue< OTHER > &right) |
| template assignment More... | |
| template<class OTHER , class OTHERVERIFIER > | |
| PropertyWithVerifier< TYPE, VERIFIER > & | operator= (const PropertyWithVerifier< OTHER, OTHERVERIFIER > &right) |
| template assignment More... | |
Public Member Functions inherited from PropertyWithValue< TYPE > | |
| operator const TYPE & () const | |
| implicit conversion to the type More... | |
| const TYPE & | value () const |
| explicit conversion More... | |
| bool | assign (const Property &source) override |
| get the value from another property More... | |
| bool | load (Property &dest) const override |
| set value for another property More... | |
| StatusCode | fromString (const std::string &s) override |
| string -> value More... | |
| std::string | toString () const override |
| value -> string More... | |
| void | toStream (std::ostream &out) const override |
| value -> stream More... | |
| operator const TYPE & () const | |
| implicit conversion to the type More... | |
| const TYPE & | value () const |
| explicit conversion More... | |
| bool | assign (const Property &source) override |
| get the value from another property More... | |
| bool | load (Property &dest) const override |
| set value for another property More... | |
| StatusCode | fromString (const std::string &s) override |
| string -> value More... | |
| std::string | toString () const override |
| value -> string More... | |
| void | toStream (std::ostream &out) const override |
| value -> stream More... | |
| template<class OTHER > | |
| PropertyWithValue< TYPE > & | operator= (const PropertyWithValue< OTHER > &right) |
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... | |
Protected Types | |
| typedef Gaudi::Utils::PropertyTypeTraits< TYPE > | Traits |
| typedef Gaudi::Utils::PropertyTypeTraits< TYPE > | Traits |
Additional Inherited Members | |
Public Types inherited from PropertyWithValue< TYPE > | |
| typedef Gaudi::Utils::PropertyTypeTraits< TYPE > | Traits |
| the type-traits for properties More... | |
| typedef Traits::PVal | PVal |
| the actual storage type More... | |
| typedef Gaudi::Utils::PropertyTypeTraits< TYPE > | Traits |
| the type-traits for properties More... | |
| typedef Traits::PVal | PVal |
| the actual storage type More... | |
Protected Member Functions inherited from PropertyWithVerifier< TYPE, VERIFIER > | |
| PropertyWithVerifier (std::string name, typename Gaudi::Utils::PropertyTypeTraits< TYPE >::PVal value, const bool owner, const VERIFIER &verifier) | |
| the constructor with property name and value More... | |
| ~PropertyWithVerifier () override=default | |
| virtual destructor More... | |
| PropertyWithVerifier (std::string name, typename Gaudi::Utils::PropertyTypeTraits< TYPE >::PVal value, const bool owner, const VERIFIER &verifier) | |
| the constructor with property name and value More... | |
| ~PropertyWithVerifier () override=default | |
| virtual destructor More... | |
Protected Member Functions inherited from PropertyWithValue< TYPE > | |
| PropertyWithValue (std::string name, PVal value, const bool owner) | |
| the constructor with property name and value More... | |
| PropertyWithValue (const PropertyWithValue &rhs) | |
| copy constructor (don't let the compiler generate a buggy one) More... | |
| template<class OTHER > | |
| PropertyWithValue (const PropertyWithValue< OTHER > &right) | |
| copy constructor from any other type More... | |
| ~PropertyWithValue () override | |
| virtual destructor More... | |
| PropertyWithValue & | operator= (const TYPE &value) |
| assignment operator More... | |
| PropertyWithValue & | operator= (const PropertyWithValue &rhs) |
| template<class OTHER > | |
| PropertyWithValue & | operator= (const PropertyWithValue< OTHER > &right) |
| void | i_set (const TYPE &value) |
| set the value More... | |
| PVal | i_get () const |
| get the value More... | |
| PropertyWithValue (std::string name, PVal value, const bool owner) | |
| the constructor with property name and value More... | |
| PropertyWithValue (const PropertyWithValue &rhs) | |
| copy constructor (don't let the compiler generate a buggy one) More... | |
| template<class OTHER > | |
| PropertyWithValue (const PropertyWithValue< OTHER > &right) | |
| copy constructor from any other type More... | |
| ~PropertyWithValue () override | |
| virtual destructor More... | |
| PropertyWithValue & | operator= (const TYPE &value) |
| assignment operator More... | |
| PropertyWithValue & | operator= (const PropertyWithValue &rhs) |
| template<class OTHER > | |
| PropertyWithValue & | operator= (const PropertyWithValue< OTHER > &right) |
| void | i_set (const TYPE &value) |
| set the value More... | |
| PVal | i_get () const |
| get the value More... | |
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 |
SimpleProperty concrete class which implements the full Property interface.
Definition at line 13 of file HistoProperty.h.
|
protected |
Definition at line 495 of file Property.h.
|
protected |
Definition at line 495 of file Property.h.
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | VERIFIER | verifier = VERIFIER() | ) |
"Almost default" constructor from verifier
The constructor from verifier.
Definition at line 532 of file Property.h.
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const TYPE & | value, |
| VERIFIER | verifier = VERIFIER() |
||
| ) |
The constructor from the value and verifier (ATLAS needs it!)
The constructor from the value and verifier.
Definition at line 541 of file Property.h.
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | std::string | name, |
| const TYPE & | value, | ||
| VERIFIER | verifier = VERIFIER() |
||
| ) |
The constructor from the name, value and verifier.
Definition at line 551 of file Property.h.
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const PropertyWithValue< OTHER > & | right | ) |
constructor from other property type
Definition at line 563 of file Property.h.
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const SimpleProperty< TYPE, VERIFIER > & | right | ) |
copy constructor (must be!)
Definition at line 572 of file Property.h.
|
overridedefault |
virtual Destructor
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | VERIFIER | verifier = VERIFIER() | ) |
"Almost default" constructor from verifier
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const TYPE & | value, |
| VERIFIER | verifier = VERIFIER() |
||
| ) |
The constructor from the value and verifier (ATLAS needs it!)
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | std::string | name, |
| const TYPE & | value, | ||
| VERIFIER | verifier = VERIFIER() |
||
| ) |
The constructor from the name, value and verifier.
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const PropertyWithValue< OTHER > & | right | ) |
constructor from other property type
| SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const SimpleProperty< TYPE, VERIFIER > & | right | ) |
copy constructor (must be!)
|
overridedefault |
virtual Destructor
|
inlineoverridevirtual |
implementation of Property::clone
Implements Property.
Definition at line 582 of file Property.h.
|
overridevirtual |
implementation of Property::clone
Implements Property.
|
inline |
assignment form the value
Definition at line 590 of file Property.h.
| SimpleProperty& SimpleProperty< TYPE, VERIFIER >::operator= | ( | const TYPE & | value | ) |
assignment form the value
| SimpleProperty& SimpleProperty< TYPE, VERIFIER >::operator= | ( | const PropertyWithValue< OTHER > & | right | ) |
assignment form the other property type
| SimpleProperty& SimpleProperty< TYPE, VERIFIER >::operator= | ( | const PropertyWithValue< OTHER > & | right | ) |
assignment form the other property type
|
inline |
assignment form the other property type
Definition at line 603 of file Property.h.