|
Gaudi Framework, version v23r6 |
| Home | Generated: Wed Jan 30 2013 |
Property base class allowing Property* collections to be "homogeneous". More...
#include <GaudiKernel/Property.h>


Public Member Functions | |
| const std::string & | name () const |
| property name | |
| const std::string & | documentation () const |
| property documentation | |
| const std::type_info * | type_info () const |
| property type-info | |
| std::string | type () const |
| property type | |
| virtual bool | load (Property &dest) const =0 |
| export the property value to the destination | |
| virtual bool | assign (const Property &source)=0 |
| import the property value form the source | |
| virtual std::string | toString () const =0 |
| value -> string | |
| virtual void | toStream (std::ostream &out) const =0 |
| value -> stream | |
| virtual StatusCode | fromString (const std::string &value)=0 |
| string -> value | |
| const PropertyCallbackFunctor * | readCallBack () const |
| Call-back functor at reading: the functor is owned by property! | |
| const PropertyCallbackFunctor * | updateCallBack () const |
| Call-back functor for update: the functor is owned by property! | |
| virtual void | declareReadHandler (PropertyCallbackFunctor *pf) |
| set new callback for reading | |
| virtual void | declareUpdateHandler (PropertyCallbackFunctor *pf) |
| set new callback for update | |
| 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 | |
| virtual bool | useUpdateHandler () |
| use the call-back function at update | |
| virtual | ~Property () |
| virtual destructor | |
| virtual Property * | clone () const =0 |
| clone: "virtual constructor" | |
| void | setName (const std::string &value) |
| set the new value for the property name | |
| void | setDocumentation (const std::string &documentation) |
| set the documentation string | |
| virtual std::ostream & | fillStream (std::ostream &) const |
| the printout of the property value | |
Protected Member Functions | |
| Property (const std::type_info &type, const std::string &name="") | |
| constructor from the property name and the type | |
| Property (const std::string &name, const std::type_info &type) | |
| constructor from the property name and the type | |
| Property (const Property &right) | |
| copy constructor | |
| Property & | operator= (const Property &right) |
| assignment operator | |
Protected Attributes | |
| PropertyCallbackFunctor * | m_readCallBack |
| PropertyCallbackFunctor * | m_updateCallBack |
Private Member Functions | |
| Property () | |
Private Attributes | |
| std::string | m_name |
| std::string | m_documentation |
| const std::type_info * | m_typeinfo |
Property base class allowing Property* collections to be "homogeneous".
Definition at line 43 of file Property.h.
|
virtual |
virtual destructor
Definition at line 112 of file Property.cpp.
|
protected |
constructor from the property name and the type
Definition at line 48 of file Property.cpp.
|
protected |
constructor from the property name and the type
Definition at line 63 of file Property.cpp.
|
protected |
copy constructor
Definition at line 75 of file Property.cpp.
|
private |
|
pure virtual |
import the property value form the source
Implemented in GaudiHandleArrayProperty, GaudiHandleProperty, PropertyWithValue< TYPE >, PropertyWithValue< double >, PropertyWithValue< std::string >, PropertyWithValue< std::vector< std::string > >, PropertyWithValue< int >, PropertyWithValue< unsigned int >, PropertyWithValue< bool >, and PropertyList.
|
pure virtual |
clone: "virtual constructor"
Implemented in GaudiHandleArrayProperty, GaudiHandleProperty, SimplePropertyRef< TYPE, VERIFIER >, SimpleProperty< TYPE, VERIFIER >, SimpleProperty< double >, SimpleProperty< std::string >, SimpleProperty< std::vector< std::string > >, SimpleProperty< int >, SimpleProperty< unsigned int >, and SimpleProperty< bool >.
|
virtual |
set new callback for reading
Definition at line 132 of file Property.cpp.
|
inline |
Definition at line 130 of file Property.h.
|
virtual |
set new callback for update
Definition at line 141 of file Property.cpp.
|
inline |
Definition at line 135 of file Property.h.
|
inline |
|
virtual |
the printout of the property value
Definition at line 182 of file Property.cpp.
|
pure virtual |
string -> value
Implemented in GaudiHandleArrayProperty, GaudiHandleProperty, PropertyWithValue< TYPE >, PropertyWithValue< double >, PropertyWithValue< std::string >, PropertyWithValue< std::vector< std::string > >, PropertyWithValue< int >, PropertyWithValue< unsigned int >, and PropertyWithValue< bool >.
|
pure virtual |
export the property value to the destination
Implemented in GaudiHandleArrayProperty, GaudiHandleProperty, PropertyWithValue< TYPE >, PropertyWithValue< double >, PropertyWithValue< std::string >, PropertyWithValue< std::vector< std::string > >, PropertyWithValue< int >, PropertyWithValue< unsigned int >, PropertyWithValue< bool >, and PropertyList.
|
inline |
assignment operator
Definition at line 90 of file Property.cpp.
| const PropertyCallbackFunctor * Property::readCallBack | ( | ) | const |
Call-back functor at reading: the functor is owned by property!
Definition at line 122 of file Property.cpp.
|
inline |
|
inline |
set the new value for the property name
Definition at line 90 of file Property.h.
|
pure virtual |
value -> stream
Implemented in GaudiHandleArrayProperty, GaudiHandleProperty, PropertyWithValue< TYPE >, PropertyWithValue< double >, PropertyWithValue< std::string >, PropertyWithValue< std::vector< std::string > >, PropertyWithValue< int >, PropertyWithValue< unsigned int >, and PropertyWithValue< bool >.
|
pure virtual |
value -> string
Implemented in GaudiHandleArrayProperty, GaudiHandleProperty, PropertyWithValue< TYPE >, PropertyWithValue< double >, PropertyWithValue< std::string >, PropertyWithValue< std::vector< std::string > >, PropertyWithValue< int >, PropertyWithValue< unsigned int >, and PropertyWithValue< bool >.
|
inline |
|
inline |
| const PropertyCallbackFunctor * Property::updateCallBack | ( | ) | const |
Call-back functor for update: the functor is owned by property!
Definition at line 127 of file Property.cpp.
|
virtual |
use the call-back function at reading
Definition at line 150 of file Property.cpp.
|
virtual |
use the call-back function at update
Definition at line 163 of file Property.cpp.
|
private |
Definition at line 116 of file Property.h.
|
private |
Definition at line 114 of file Property.h.
|
mutableprotected |
Definition at line 121 of file Property.h.
|
private |
Definition at line 118 of file Property.h.
|
protected |
Definition at line 123 of file Property.h.