SimplePropertyRef< Gaudi::DataHandle > Class Template Reference

#include </scratch/z5/marcocle/GaudiDocs/lhcb-release/996/GAUDI/GAUDI_v26r4/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiKernel/DataHandle.h>

Inheritance diagram for SimplePropertyRef< Gaudi::DataHandle >:
Collaboration diagram for SimplePropertyRef< Gaudi::DataHandle >:

Public Member Functions

 SimplePropertyRef (const std::string &name, Gaudi::DataHandle &value)
 
virtual ~SimplePropertyRef ()
 virtual Destructor More...
 
 SimplePropertyRef (const std::string &name, Gaudi::DataHandle &value)
 
virtual ~SimplePropertyRef ()
 virtual Destructor More...
 
- Public Member Functions inherited from DataHandleProperty
 DataHandleProperty (const std::string &name, Gaudi::DataHandle &ref)
 Constructor with parameters: More...
 
DataHandlePropertyoperator= (const Gaudi::DataHandle &value)
 Assignment operator: More...
 
virtual ~DataHandleProperty ()
 Destructor: More...
 
virtual DataHandlePropertyclone () 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...
 
const Gaudi::DataHandlevalue () const
 
bool setValue (const Gaudi::DataHandle &value)
 
 DataHandleProperty (const std::string &name, Gaudi::DataHandle &ref)
 Constructor with parameters: More...
 
DataHandlePropertyoperator= (const Gaudi::DataHandle &value)
 Assignment operator: More...
 
virtual ~DataHandleProperty ()
 Destructor: More...
 
virtual DataHandlePropertyclone () 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...
 
const Gaudi::DataHandlevalue () const
 
bool setValue (const Gaudi::DataHandle &value)
 
- 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 void declareReadHandler (std::function< void(Property &)> fun)
 set new callback for reading More...
 
virtual void declareUpdateHandler (std::function< void(Property &)> fun)
 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 ()=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 void declareReadHandler (std::function< void(Property &)> fun)
 set new callback for reading More...
 
virtual void declareUpdateHandler (std::function< void(Property &)> fun)
 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 ()=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...
 

Additional Inherited Members

- 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...
 
Propertyoperator= (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...
 
Propertyoperator= (const Property &)=default
 assignment operator More...
 
- Protected Attributes inherited from Property
std::function< void(Property &)> m_readCallBack
 
std::function< void(Property &)> m_updateCallBack
 

Detailed Description

template<>
class SimplePropertyRef< Gaudi::DataHandle >

Definition at line 159 of file DataHandle.h.

Constructor & Destructor Documentation

SimplePropertyRef< Gaudi::DataHandle >::SimplePropertyRef ( const std::string &  name,
Gaudi::DataHandle value 
)
inline

Definition at line 161 of file DataHandle.h.

161  :
162  ::DataHandleProperty(name, value)
163  {}
const std::string & name() const
property name
Definition: Property.h:45
DataHandleProperty(const std::string &name, Gaudi::DataHandle &ref)
Constructor with parameters:
Definition: DataHandle.cpp:42
virtual SimplePropertyRef< Gaudi::DataHandle >::~SimplePropertyRef ( )
inlinevirtual

virtual Destructor

Definition at line 166 of file DataHandle.h.

166 {}
SimplePropertyRef< Gaudi::DataHandle >::SimplePropertyRef ( const std::string &  name,
Gaudi::DataHandle value 
)
inline

Definition at line 161 of file DataHandle.h.

161  :
162  ::DataHandleProperty(name, value)
163  {}
const std::string & name() const
property name
Definition: Property.h:45
DataHandleProperty(const std::string &name, Gaudi::DataHandle &ref)
Constructor with parameters:
Definition: DataHandle.cpp:42
virtual SimplePropertyRef< Gaudi::DataHandle >::~SimplePropertyRef ( )
inlinevirtual

virtual Destructor

Definition at line 166 of file DataHandle.h.

166 {}

The documentation for this class was generated from the following file: