|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef STOREGATE_VARHANDLEKEYARRAY_H
6 #define STOREGATE_VARHANDLEKEYARRAY_H 1
15 #include "GaudiKernel/DataHandle.h"
16 #include "GaudiKernel/IDataHandleHolder.h"
36 virtual std::vector<SG::VarHandleKey*>
keys()
const = 0;
40 virtual void declare(IDataHandleHolder*) = 0;
42 virtual void setOwner( IDataHandleHolder* o ) = 0;
43 virtual const IDataHandleHolder*
owner()
const = 0;
44 virtual IDataHandleHolder*
owner() = 0;
62 public std::vector<Base> {
93 this->push_back(
Base{
e} );
119 virtual std::vector<SG::VarHandleKey*>
keys()
const override;
132 virtual void declare( IDataHandleHolder* )
override;
135 virtual const IDataHandleHolder*
owner()
const override {
return m_owner; }
virtual StatusCode assign(const std::vector< std::string > &vs)=0
VarHandleKeyArrayCommon(std::initializer_list< std::string > l)
base Constructor from a VarHandleKeyArray that takes an initializer list of std::strings.
virtual std::string toString() const =0
A property holding a SG store/key/clid from which a VarHandle is made.
virtual IDataHandleHolder * owner()=0
VarHandleKeyArrayCommon(const std::vector< Base > &v)
base Constructor from a VarHandleKeyArray that takes a vector
virtual std::vector< SG::VarHandleKey * > keys() const =0
virtual std::string toString() const override
string representation of the VarHandleKeyArray
virtual bool renounced() const override
query renounced state
virtual void setOwner(IDataHandleHolder *o)=0
virtual void declare(IDataHandleHolder *) override
virtual void setOwner(IDataHandleHolder *o) override
virtual bool renounced() const =0
virtual const IDataHandleHolder * owner() const override
virtual const IDataHandleHolder * owner() const =0
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode assign(const std::vector< std::string > &vs) override
Set the contents of the VarHandleKeyArray from a vector of std::strings.
virtual std::vector< SG::VarHandleKey * > keys() const override
create array of all base VarHandleKeys in the Array
virtual ~VarHandleKeyArray()=default
virtual void declare(IDataHandleHolder *)=0
virtual void renounce()=0
virtual void renounce() override
if called, handles will not be declared in the algorithm I/O
StatusCode initialize(bool used=true)
forward the initialization to the member VarHandleKeys
VarHandleKeyArrayCommon(std::initializer_list< Base > l)
base Constructor from a VarHandleKeyArray that takes an initializer list of VarHandleKeys
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
IDataHandleHolder * m_owner
virtual IDataHandleHolder * owner() override
VarHandleKeyArrayCommon()
default base Constructor of mixin
virtual Gaudi::DataHandle::Mode mode() const =0