1 #ifndef GAUDIKERNEL_DATAOBJIDPROPERTY_H
2 #define GAUDIKERNEL_DATAOBJIDPROPERTY_H 1
4 #include "GaudiKernel/StatusCode.h"
5 #include "GaudiKernel/Parsers.h"
6 #include "GaudiKernel/Property.h"
7 #include "GaudiKernel/PropertyMgr.h"
8 #include "GaudiKernel/ToStream.h"
9 #include "GaudiKernel/DataObjID.h"
38 virtual std::string
toString()
const;
39 virtual void toStream(std::ostream& out)
const;
84 return destination.
assign( *
this );
114 virtual std::string
toString()
const;
115 virtual void toStream(std::ostream& out)
const;
160 return destination.
assign( *
this );
virtual StatusCode fromString(const std::string &s)
string -> value
virtual void useReadHandler() const
use the call-back function at reading
DataObjIDProperty(const std::string &name, DataObjID &ref)
virtual bool assign(const Property &source)=0
import the property value form the source
virtual std::string toString() const =0
value -> string
SimplePropertyRef templated class.
const std::string & name() const
property name
virtual bool assign(const Property &source)
import the property value form the source
virtual bool load(Property &destination) const
export the property value to the destination
bool setValue(const DataObjID &value)
virtual bool load(Property &dest) const =0
export the property value to the destination
virtual bool load(Property &destination) const
export the property value to the destination
virtual DataObjIDProperty * clone() const
clone: "virtual constructor"
DataObjIDCollProperty & operator=(const DataObjIDColl &value)
virtual ~SimplePropertyRef()
virtual Destructor
bool setValue(const DataObjIDColl &value)
This class is used for returning status codes from appropriate routines.
DataObjIDProperty & operator=(const DataObjID &value)
const DataObjID & value() const
const TYPE & value() const
explicit conversion
Property & operator=(const Property &)=default
assignment operator
virtual DataObjIDCollProperty * clone() const
clone: "virtual constructor"
DataObjIDColl * m_pValue
Pointer to the real property.
Property base class allowing Property* collections to be "homogeneous".
virtual StatusCode fromString(const std::string &s)
string -> value
SimplePropertyRef(const std::string &name, DataObjIDColl &value)
DataObjIDProperty.h GaudiKernel/DataObjProperty.h.
SimplePropertyRef(const std::string &name, DataObjID &value)
virtual ~SimplePropertyRef()
virtual Destructor
DataObjID * m_pValue
Pointer to the real property.
const DataObjIDColl & value() const
virtual bool assign(const Property &source)
import the property value form the source
DataObjIDCollProperty(const std::string &name, DataObjIDColl &ref)
virtual Property * clone() const =0
clone: "virtual constructor"
virtual void toStream(std::ostream &out) const =0
value -> stream
std::unordered_set< DataObjID, DataObjID_Hasher > DataObjIDColl
virtual StatusCode fromString(const std::string &value)=0
string -> value