![]() |
The Gaudi Framework
v26r3
|
Helper intermediate class which represent partly implemented property with value of concrete type. More...
Public Types | |
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... | |
Public Member Functions | |
operator const TYPE & () const | |
implicit conversion to the type More... | |
const TYPE & | value () const |
explicit conversion More... | |
virtual bool | setValue (const TYPE &value)=0 |
NB: abstract : to be implemented when verifier is available. 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... | |
operator const TYPE & () const | |
implicit conversion to the type More... | |
const TYPE & | value () const |
explicit conversion More... | |
virtual bool | setValue (const TYPE &value)=0 |
NB: abstract : to be implemented when verifier is available. 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... | |
virtual Property * | clone () const =0 |
clone: "virtual constructor" 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... | |
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... | |
virtual Property * | clone () const =0 |
clone: "virtual constructor" 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... | |
Protected Member Functions | |
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... | |
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... | |
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... | |
Private Attributes | |
PVal | m_value |
the actual property value More... | |
bool | m_own |
owner of the storage More... | |
Additional Inherited Members | |
![]() | |
PropertyCallbackFunctor * | m_readCallBack |
PropertyCallbackFunctor * | m_updateCallBack |
Helper intermediate class which represent partly implemented property with value of concrete type.
Definition at line 147 of file Property.h.
typedef Traits::PVal PropertyWithValue< TYPE >::PVal |
the actual storage type
Definition at line 154 of file Property.h.
typedef Traits::PVal PropertyWithValue< TYPE >::PVal |
the actual storage type
Definition at line 154 of file Property.h.
typedef Gaudi::Utils::PropertyTypeTraits<TYPE> PropertyWithValue< TYPE >::Traits |
the type-traits for properties
Definition at line 152 of file Property.h.
typedef Gaudi::Utils::PropertyTypeTraits<TYPE> PropertyWithValue< TYPE >::Traits |
the type-traits for properties
Definition at line 152 of file Property.h.
|
inlineprotected |
|
inlineprotected |
copy constructor (don't let the compiler generate a buggy one)
Definition at line 238 of file Property.h.
|
inlineprotected |
|
inlineprotectedvirtual |
|
inlineprotected |
the constructor with property name and value
|
inlineprotected |
copy constructor (don't let the compiler generate a buggy one)
|
inlineprotected |
copy constructor from any other type
|
inlineprotectedvirtual |
virtual destructor
|
inlinevirtual |
get the value from another property
implementation of Property::assign
Implements Property.
Definition at line 283 of file Property.h.
|
virtual |
get the value from another property
Implements Property.
|
inlinevirtual |
string -> value
Implementation of PropertyWithValue::fromString.
Implements Property.
Definition at line 327 of file Property.h.
|
virtual |
string -> value
Implements Property.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
set value for another property
implementation of Property::load
Implements Property.
Definition at line 297 of file Property.h.
|
virtual |
set value for another property
Implements Property.
|
inline |
|
inline |
|
inlineprotected |
assignment operator
Definition at line 272 of file Property.h.
|
protected |
assignment operator
|
protected |
Definition at line 362 of file Property.h.
|
protected |
|
protected |
|
protected |
PropertyWithValue< TYPE > & PropertyWithValue< TYPE >::operator= | ( | const PropertyWithValue< OTHER > & | right | ) |
Definition at line 376 of file Property.h.
|
pure virtual |
NB: abstract : to be implemented when verifier is available.
Implemented in PropertyWithVerifier< TYPE, VERIFIER >, PropertyWithVerifier< TYPE, VERIFIER >, PropertyWithVerifier< int, BoundedVerifier< int > >, PropertyWithVerifier< int, BoundedVerifier< int > >, PropertyWithVerifier< double, BoundedVerifier< double > >, PropertyWithVerifier< double, BoundedVerifier< double > >, PropertyWithVerifier< unsigned int, BoundedVerifier< unsigned int > >, PropertyWithVerifier< unsigned int, BoundedVerifier< unsigned int > >, PropertyWithVerifier< bool, BoundedVerifier< bool > >, PropertyWithVerifier< bool, BoundedVerifier< bool > >, PropertyWithVerifier< std::string, BoundedVerifier< std::string > >, PropertyWithVerifier< std::string, BoundedVerifier< std::string > >, PropertyWithVerifier< std::vector< std::string >, BoundedVerifier< std::vector< std::string > > >, and PropertyWithVerifier< std::vector< std::string >, BoundedVerifier< std::vector< std::string > > >.
|
pure virtual |
NB: abstract : to be implemented when verifier is available.
Implemented in PropertyWithVerifier< TYPE, VERIFIER >, PropertyWithVerifier< TYPE, VERIFIER >, PropertyWithVerifier< int, BoundedVerifier< int > >, PropertyWithVerifier< int, BoundedVerifier< int > >, PropertyWithVerifier< double, BoundedVerifier< double > >, PropertyWithVerifier< double, BoundedVerifier< double > >, PropertyWithVerifier< unsigned int, BoundedVerifier< unsigned int > >, PropertyWithVerifier< unsigned int, BoundedVerifier< unsigned int > >, PropertyWithVerifier< bool, BoundedVerifier< bool > >, PropertyWithVerifier< bool, BoundedVerifier< bool > >, PropertyWithVerifier< std::string, BoundedVerifier< std::string > >, PropertyWithVerifier< std::string, BoundedVerifier< std::string > >, PropertyWithVerifier< std::vector< std::string >, BoundedVerifier< std::vector< std::string > > >, and PropertyWithVerifier< std::vector< std::string >, BoundedVerifier< std::vector< std::string > > >.
|
inlinevirtual |
value -> stream
Implementation of PropertyWithValue::toStream.
Implements Property.
Definition at line 317 of file Property.h.
|
virtual |
value -> stream
Implements Property.
|
inlinevirtual |
value -> string
Implementation of PropertyWithValue::toString.
Implements Property.
Definition at line 307 of file Property.h.
|
virtual |
value -> string
Implements Property.
|
inline |
explicit conversion
|
inline |
explicit conversion
get the access to the storage
Definition at line 355 of file Property.h.
|
private |
owner of the storage
Definition at line 216 of file Property.h.
|
private |
the actual property value
Definition at line 214 of file Property.h.