5#ifndef STOREGATE_VARHANDLEKEYARRAYPROPERTY
6#define STOREGATE_VARHANDLEKEYARRAYPROPERTY 1
18#include "Gaudi/Property.h"
27 std::ostream&
toStream(
const SG::VarHandleKeyArray& v, std::ostream& o);
34 :
public ::PropertyWithHandlers <>
45 bool load( Gaudi::Details::PropertyBase& destination )
const override;
47 bool assign(
const Gaudi::Details::PropertyBase& source )
override;
49 std::string
toString()
const override;
51 void toStream(std::ostream& out)
const override;
53 StatusCode
fromString(
const std::string& s)
override;
const boost::regex ref(r_ef)
Base class for VarHandleKeyArray for reading from StoreGate.
Property(const std::string &name, SG::ReadHandleKeyArray< T > &value)
Property(const std::string &name, SG::VarHandleKeyArray &value)
Property(const std::string &name, SG::WriteHandleKeyArray< T > &value)
std::string toString() const override
Return a string representation of the value object.
SG::VarHandleKeyArray * m_pValue
Pointer to the real property.
VarHandleKeyArrayProperty(const std::string &name, SG::VarHandleKeyArray &ref)
Constructor with parameters.
bool setValue(const SG::VarHandleKeyArray &value)
Set the value object for this Property.
void toStream(std::ostream &out) const override
Write a string representation of the value object to a stream.
VarHandleKeyArrayProperty * clone() const override
Return a new copy of this Property object.
bool load(Gaudi::Details::PropertyBase &destination) const override
Set the value of another Property.
StatusCode fromString(const std::string &s) override
Set this value object from a string.
const SG::VarHandleKeyArray & value() const
Return the value object for this Property.
bool assign(const Gaudi::Details::PropertyBase &source) override
Set the value of this Property from another.
VarHandleKeyArrayProperty & operator=(const SG::VarHandleKeyArray &value)
Assignment operator.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode parse(std::tuple< Tup... > &tup, const Gaudi::Parsers::InputData &input)
std::ostream & toStream(const SG::VarHandleKeyArray &v, std::ostream &o)
Gaudi function used to convert a property to a string.
=============================================================================
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray