16#include <boost/tokenizer.hpp>
63 o <<
"'" << v.storeHandle().name() <<
storeSeparator << v.key() <<
"'";
82 : DataHandleProperty( name,
ref ),
126 return destination.assign( *
this );
141 return fromString( source.toString() ).isSuccess();
152 std::ostringstream o;
180 return StatusCode::FAILURE;
182 return useUpdateHandler()
183 ? StatusCode::SUCCESS
184 : StatusCode::FAILURE;
209 return useUpdateHandler();
const boost::regex ref(r_ef)
constexpr char const storeSeparator
Handle Gaudi property setting for VarHandleKey.
VarHandleKeyProperty(const std::string &name, SG::VarHandleKey &ref)
Constructor with parameters.
VarHandleKeyProperty is the class which wraps a SG::VarHandleKey.
bool setValue(const SG::VarHandleKey &value)
Set the value object for this Property.
VarHandleKeyProperty(const std::string &name, SG::VarHandleKey &ref)
Constructor with parameters.
virtual VarHandleKeyProperty * clone() const override
Return a new copy of this Property object.
VarHandleKeyProperty & operator=(const SG::VarHandleKey &value)
Assignment operator.
const SG::VarHandleKey & value() const
Return the value object for this Property.
virtual bool load(Gaudi::Details::PropertyBase &destination) const override
Set the value of another Property.
virtual StatusCode fromString(const std::string &s) override
Set this value object from a string.
virtual void toStream(std::ostream &out) const override
Write a string representation of the value object to a stream.
virtual bool assign(const Gaudi::Details::PropertyBase &source) override
Set the value of this Property from another.
SG::VarHandleKey * m_pValue
Pointer to the real property.
virtual std::string toString() const override
Return a string representation of the value object.
A property holding a SG store/key/clid from which a VarHandle is made.
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.
=============================================================================