![]() |
The Gaudi Framework
v27r0
|
Public Member Functions | |
DataObjectDescriptorProperty (const std::string &name, DataObjectDescriptor &item) | |
DataObjectDescriptorProperty (DataObjectDescriptorProperty &other) | |
DataObjectDescriptorProperty (const DataObjectDescriptorProperty &other) | |
DataObjectDescriptorProperty & | operator= (DataObjectDescriptorProperty &value) |
DataObjectDescriptorProperty & | operator= (const DataObjectDescriptorProperty &value) |
virtual DataObjectDescriptorProperty * | clone () const |
clone: "virtual constructor" More... | |
virtual bool | load (Property &destination) const |
export the property value to the destination More... | |
virtual bool | assign (const Property &source) |
import the property value form the source More... | |
virtual std::string | toString () const |
value -> string More... | |
virtual void | toStream (std::ostream &out) const |
value -> stream More... | |
virtual StatusCode | fromString (const std::string &s) |
string -> value More... | |
virtual const DataObjectDescriptor & | value () const |
virtual bool | setValue (DataObjectDescriptor &value) |
DataObjectDescriptorProperty (const std::string &name, DataObjectDescriptor &item) | |
DataObjectDescriptorProperty (DataObjectDescriptorProperty &other) | |
DataObjectDescriptorProperty (const DataObjectDescriptorProperty &other) | |
DataObjectDescriptorProperty & | operator= (DataObjectDescriptorProperty &value) |
DataObjectDescriptorProperty & | operator= (const DataObjectDescriptorProperty &value) |
virtual DataObjectDescriptorProperty * | clone () const |
clone: "virtual constructor" More... | |
virtual bool | load (Property &destination) const |
export the property value to the destination More... | |
virtual bool | assign (const Property &source) |
import the property value form the source More... | |
virtual std::string | toString () const |
value -> string More... | |
virtual void | toStream (std::ostream &out) const |
value -> stream More... | |
virtual StatusCode | fromString (const std::string &s) |
string -> value More... | |
virtual const DataObjectDescriptor & | value () const |
virtual bool | setValue (DataObjectDescriptor &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 | |
DataObjectDescriptor * | m_item |
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 144 of file DataObjectDescriptor.h.
DataObjectDescriptorProperty::DataObjectDescriptorProperty | ( | const std::string & | name, |
DataObjectDescriptor & | item | ||
) |
Definition at line 255 of file DataObjectDescriptor.cpp.
DataObjectDescriptorProperty::DataObjectDescriptorProperty | ( | DataObjectDescriptorProperty & | other | ) |
Definition at line 261 of file DataObjectDescriptor.cpp.
DataObjectDescriptorProperty::DataObjectDescriptorProperty | ( | const DataObjectDescriptorProperty & | other | ) |
Definition at line 265 of file DataObjectDescriptor.cpp.
DataObjectDescriptorProperty::DataObjectDescriptorProperty | ( | const std::string & | name, |
DataObjectDescriptor & | item | ||
) |
DataObjectDescriptorProperty::DataObjectDescriptorProperty | ( | DataObjectDescriptorProperty & | other | ) |
DataObjectDescriptorProperty::DataObjectDescriptorProperty | ( | const DataObjectDescriptorProperty & | other | ) |
|
virtual |
import the property value form the source
Implements Property.
Definition at line 300 of file DataObjectDescriptor.cpp.
|
virtual |
import the property value form the source
Implements Property.
|
virtual |
clone: "virtual constructor"
Implements Property.
Definition at line 292 of file DataObjectDescriptor.cpp.
|
virtual |
clone: "virtual constructor"
Implements Property.
|
virtual |
string -> value
Implements Property.
Definition at line 313 of file DataObjectDescriptor.cpp.
|
virtual |
string -> value
Implements Property.
|
virtual |
export the property value to the destination
Implements Property.
Definition at line 296 of file DataObjectDescriptor.cpp.
|
virtual |
export the property value to the destination
Implements Property.
DataObjectDescriptorProperty& DataObjectDescriptorProperty::operator= | ( | DataObjectDescriptorProperty & | value | ) |
DataObjectDescriptorProperty & DataObjectDescriptorProperty::operator= | ( | DataObjectDescriptorProperty & | value | ) |
Definition at line 272 of file DataObjectDescriptor.cpp.
DataObjectDescriptorProperty & DataObjectDescriptorProperty::operator= | ( | const DataObjectDescriptorProperty & | value | ) |
Definition at line 281 of file DataObjectDescriptor.cpp.
DataObjectDescriptorProperty& DataObjectDescriptorProperty::operator= | ( | const DataObjectDescriptorProperty & | value | ) |
|
virtual |
Definition at line 324 of file DataObjectDescriptor.cpp.
|
virtual |
|
virtual |
value -> stream
Implements Property.
Definition at line 304 of file DataObjectDescriptor.cpp.
|
virtual |
value -> stream
Implements Property.
|
virtual |
value -> string
Implements Property.
|
virtual |
value -> string
Implements Property.
Definition at line 308 of file DataObjectDescriptor.cpp.
|
virtual |
Definition at line 319 of file DataObjectDescriptor.cpp.
|
virtual |
|
private |
Definition at line 173 of file DataObjectDescriptor.h.