![]() |
The Gaudi Framework
v25r3
|
SimplePropertyRef templated class. More...
#include <GaudiKernel/Property.h>
Public Member Functions | |
SimplePropertyRef (const std::string &name, TYPE &value, VERIFIER verifier=VERIFIER()) | |
Constructor from the name, the value and the verifier. More... | |
SimplePropertyRef (const SimplePropertyRef &right) | |
copy constructor (must be!) More... | |
virtual | ~SimplePropertyRef () |
virtual Destructor More... | |
virtual SimplePropertyRef * | clone () const |
implementation of Property::clone More... | |
SimplePropertyRef & | operator= (const TYPE &value) |
assignment form the value More... | |
template<class OTHER > | |
SimplePropertyRef & | operator= (const PropertyWithValue< OTHER > &right) |
assignment form the other property type More... | |
template<class OTHER > | |
SimplePropertyRef< TYPE, VERIFIER > & | operator= (const PropertyWithValue< OTHER > &right) |
assignment form the other property type More... | |
![]() | |
VERIFIER & | verifier () |
const VERIFIER & | verifier () const |
bool | set (const TYPE &value) |
update the value of the property/check the verifier More... | |
virtual bool | setValue (const TYPE &value) |
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... | |
![]() | |
operator const TYPE & () const | |
implicit conversion to the type More... | |
const TYPE & | value () const |
explicit conversion More... | |
virtual bool | assign (const Property &source) |
get the value from another property More... | |
virtual bool | load (Property &dest) const |
set value for another property More... | |
virtual StatusCode | fromString (const std::string &s) |
string -> value More... | |
virtual std::string | toString () const |
value -> string More... | |
virtual void | toStream (std::ostream &out) const |
value -> stream More... | |
template<class OTHER > | |
PropertyWithValue< TYPE > & | operator= (const PropertyWithValue< OTHER > &right) |
![]() | |
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 Member Functions | |
SimplePropertyRef () | |
Additional Inherited Members | |
![]() | |
typedef Gaudi::Utils::PropertyTypeTraits < TYPE > | Traits |
the type-traits for properties More... | |
typedef Traits::PVal | PVal |
the actual storage type More... | |
![]() | |
PropertyWithVerifier (const std::string &name, typename Gaudi::Utils::PropertyTypeTraits< TYPE >::PVal value, const bool owner, const VERIFIER &verifier) | |
the constructor with property name and value More... | |
virtual | ~PropertyWithVerifier () |
virtual destructor More... | |
![]() | |
PropertyWithValue (const 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... | |
virtual | ~PropertyWithValue () |
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... | |
![]() | |
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 |
SimplePropertyRef templated class.
Definition at line 16 of file HistoProperty.h.
SimplePropertyRef< TYPE, VERIFIER >::SimplePropertyRef | ( | const std::string & | name, |
TYPE & | value, | ||
VERIFIER | verifier = VERIFIER() |
||
) |
Constructor from the name, the value and the verifier.
value | NB! non-const reference |
Definition at line 670 of file Property.h.
SimplePropertyRef< TYPE, VERIFIER >::SimplePropertyRef | ( | const SimplePropertyRef< TYPE, VERIFIER > & | right | ) |
copy constructor (must be!)
Definition at line 680 of file Property.h.
|
virtual |
|
private |
|
inlinevirtual |
implementation of Property::clone
Implements Property.
Definition at line 695 of file Property.h.
|
inline |
assignment form the value
assignment from the value
Definition at line 703 of file Property.h.
SimplePropertyRef& SimplePropertyRef< TYPE, VERIFIER >::operator= | ( | const PropertyWithValue< OTHER > & | right | ) |
assignment form the other property type
|
inline |
assignment form the other property type
Definition at line 716 of file Property.h.