Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DataObjectHandleProperty.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_DATAOBJECTHANDLEPROPERTY_H
2 #define GAUDIKERNEL_DATAOBJECTHANDLEPROPERTY_H 1
3 
4 #include "GaudiKernel/Property.h"
6 
7 #include <iostream>
8 
10 
11 //---------------------------------------------------------------------------
12 
21 //---------------------------------------------------------------------------
22 
24 public:
27 
28  DataObjectHandleProperty* clone() const override;
29  bool load( Property& destination ) const override;
30  bool assign( const Property& source ) override;
31  std::string toString() const override;
32  void toStream( std::ostream& out ) const override;
33  StatusCode fromString( const std::string& s ) override;
34  const DataObjectHandleBase& value() const;
35  bool setValue( const DataObjectHandleBase& value );
36 
37 private:
42 };
43 
44 #endif
virtual bool load(PropertyBase &dest) const =0
export the property value to the destination
DataObjectHandleBase * m_pValue
Pointer to the real property.
virtual bool assign(const PropertyBase &source)=0
import the property value form the source
virtual std::string toString() const =0
value -> string
Gaudi::Details::PropertyBase Property
backward compatibility hack for old Property base class
Definition: PropertyFwd.h:25
virtual void toStream(std::ostream &out) const =0
value -> stream
virtual StatusCode fromString(const std::string &value)=0
string -> value
DataObjectHandleProperty.h GaudiKernel/DataObjectHandleProperty.h.
Helper class to simplify the migration old properties deriving directly from PropertyBase.
Definition: Property.h:805
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
virtual PropertyBase * clone() const =0
clones the current property
DataObjectHandleBase GaudiKernel/DataObjectHandleBase.h.
string s
Definition: gaudirun.py:312
#define GAUDI_API
Definition: Kernel.h:71
STL class.
PropertyBase & operator=(const PropertyBase &)=default
assignment operator