#include <VarHandleKeyArray.h>
Inherits SG::VarHandleKeyArray, and std::vector< T >.
Inherited by SG::HandleKeyArray< ReadCondHandle< T >, CondHandleDefault::Key< ReadCondHandleKey< T > >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< WriteCondHandle< T >, CondHandleDefault::Key< WriteCondHandleKey< T > >, Gaudi::DataHandle::Writer >, SG::HandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< ThinningHandle< T >, ThinningHandleKey< T >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer >, SG::HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer >, SG::HandleKeyArray< SG::UpdateHandle< TgcPrepDataCollection_Cache >, SG::UpdateHandleKey< TgcPrepDataCollection_Cache >, Gaudi::DataHandle::Reader >, and SG::HandleKeyArray< SG::UpdateHandle< TgcCoinDataCollection_Cache >, SG::UpdateHandleKey< TgcCoinDataCollection_Cache >, Gaudi::DataHandle::Reader >.
|
| | VarHandleKeyArrayCommon () |
| | default base Constructor of mixin
|
| | VarHandleKeyArrayCommon (const std::vector< Base > &v) |
| | base Constructor that takes a vector
|
| | VarHandleKeyArrayCommon (std::initializer_list< Base > l) |
| | base Constructor that takes an initializer list of VarHandleKeys
|
| | VarHandleKeyArrayCommon (std::initializer_list< std::string > l) |
| | base Constructor that takes an initializer list of std::strings.
|
template<class T = Base>
requires T::isDecorHandleKey |
| | VarHandleKeyArrayCommon (VarHandleKey &contKey, std::initializer_list< std::string > l) |
| | base Constructor that takes an associated container and an initializer list of std::strings.
|
| StatusCode | initialize (bool used=true) |
| | forward the initialization to the member VarHandleKeys
|
| virtual StatusCode | assign (const std::vector< std::string > &vs) override |
| | Set the contents of the VarHandleKeyArray from a vector of std::strings.
|
| virtual void | push_back (const std::string &key) override |
| | Add a new key to the VarHandleKeyArray.
|
| virtual std::string | toString () const override |
| | string representation of the VarHandleKeyArray
|
| virtual std::vector< SG::VarHandleKey * > | keys () const override |
| | create array of all base VarHandleKeys in the Array
|
| virtual void | renounce () override |
| | if called, handles will not be declared in the algorithm I/O
|
| virtual bool | renounced () const override |
| | query renounced state
|
| virtual void | declare (IDataHandleHolder *) override |
| virtual void | setOwner (IDataHandleHolder *o) override |
| virtual const IDataHandleHolder * | owner () const override |
| virtual IDataHandleHolder * | owner () override |
| virtual Gaudi::DataHandle::Mode | mode () const =0 |
|
template<class T = Base>
requires T::isDecorHandleKey |
| Base | keyFromString (const std::string &s) const |
| | Create a HandleKey from a string.
|
template<class T = Base>
requires (!T::isDecorHandleKey) |
| Base | keyFromString (const std::string &s) const |
| | Create a HandleKey from a string.
|
template<class
Base>
class SG::VarHandleKeyArrayCommon< Base >
Definition at line 62 of file StoreGate/StoreGate/VarHandleKeyArray.h.
◆ VarHandleKeyArrayCommon() [1/5]
◆ VarHandleKeyArrayCommon() [2/5]
◆ VarHandleKeyArrayCommon() [3/5]
◆ VarHandleKeyArrayCommon() [4/5]
base Constructor that takes an initializer list of std::strings.
- Parameters
-
| l | initializer list of std::strings used to create the VarHandleKeys |
Definition at line 90 of file StoreGate/StoreGate/VarHandleKeyArray.h.
90 {
91 for (
const auto &
e :
l) {
93 }
94 }
◆ VarHandleKeyArrayCommon() [5/5]
template<class T = Base>
requires T::isDecorHandleKey
base Constructor that takes an associated container and an initializer list of std::strings.
- Parameters
-
| contKey | VarHandleKey of the associated container |
| l | initializer list of std::strings used to create the VarHandleKeys |
All decorations will be read from the container referenced by @contKey.
Definition at line 108 of file StoreGate/StoreGate/VarHandleKeyArray.h.
111 {
112 for (
const auto &
e :
l) {
114 }
115 }
const VarHandleKey * m_contKey
Optional container on which decorations are applied.
◆ assign()
◆ declare()
◆ initialize()
forward the initialization to the member VarHandleKeys
- Parameters
-
| used | If false, then this handle is not to be used. Instead of normal initialization, the key will be cleared. |
◆ keyFromString() [1/2]
template<class T = Base>
requires T::isDecorHandleKey
Create a HandleKey from a string.
- Parameters
-
| s | String from which to create the HandleKey. |
This is for decoration handle keys. If this array was initialized with a container key, then that will be used to for the handle keys.
◆ keyFromString() [2/2]
template<class T = Base>
requires (!T::isDecorHandleKey)
Create a HandleKey from a string.
- Parameters
-
| s | String from which to create the HandleKey. |
This is for non-decoration handle keys.
◆ keys()
◆ mode()
| virtual Gaudi::DataHandle::Mode SG::VarHandleKeyArray::mode |
( |
| ) |
const |
|
pure virtualinherited |
Implemented in SG::HandleKeyArray< T_Handle, T_HandleKey, MODE >, SG::HandleKeyArray< C >, SG::HandleKeyArray< ContainerType >, SG::HandleKeyArray< DataVector< CaloCluster_v1 > >, SG::HandleKeyArray< DataVector< IParticle > >, SG::HandleKeyArray< DataVector< TrigComposite_v1 >, std::vector< SG::sgkey_t > >, SG::HandleKeyArray< DataVector< TrigComposite_v1 >, std::vector< xAOD::TrigComposite::index_type > >, SG::HandleKeyArray< DataVector< TruthParticle_v1 > >, SG::HandleKeyArray< DataVector< TruthParticle_v1 >, float >, SG::HandleKeyArray< DataVector< TruthParticle_v1 >, std::vector< ElementLink< DataVector< TruthParticle_v1 > > > >, SG::HandleKeyArray< DataVector< TruthParticle_v1 >, std::vector< unsigned long long > >, SG::HandleKeyArray< DataVector< xAOD::DiTauJet_v1 > >, SG::HandleKeyArray< DataVector< xAOD::Egamma_v1 > >, SG::HandleKeyArray< DataVector< xAOD::Egamma_v1 >, float >, SG::HandleKeyArray< DataVector< xAOD::Electron_v1 > >, SG::HandleKeyArray< DataVector< xAOD::Electron_v1 >, char >, SG::HandleKeyArray< DataVector< xAOD::Electron_v1 >, float >, SG::HandleKeyArray< DataVector< xAOD::Electron_v1 >, unsigned int >, SG::HandleKeyArray< DataVector< xAOD::FlowElement_v1 > >, SG::HandleKeyArray< DataVector< xAOD::Jet_v1 > >, SG::HandleKeyArray< DataVector< xAOD::Jet_v1 >, int >, SG::HandleKeyArray< DataVector< xAOD::Jet_v1 >, IPLV >, SG::HandleKeyArray< DataVector< xAOD::Muon_v1 > >, SG::HandleKeyArray< DataVector< xAOD::MuonSegment_v1 > >, SG::HandleKeyArray< DataVector< xAOD::Photon_v1 > >, SG::HandleKeyArray< DataVector< xAOD::TauJet_v3 > >, SG::HandleKeyArray< DataVector< xAOD::TrackParticle_v1 > >, SG::HandleKeyArray< DataVector< xAOD::UncalibratedMeasurement_v1 > >, SG::HandleKeyArray< DataVector< xAOD::Vertex_v1 > >, SG::HandleKeyArray< ReadCondHandle< T >, CondHandleDefault::Key< ReadCondHandleKey< T > >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< SG::AuxVectorBase >, SG::HandleKeyArray< SG::UpdateHandle< TgcCoinDataCollection_Cache >, SG::UpdateHandleKey< TgcCoinDataCollection_Cache >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< SG::UpdateHandle< TgcPrepDataCollection_Cache >, SG::UpdateHandleKey< TgcPrepDataCollection_Cache >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< ThinningHandle< T >, ThinningHandleKey< T >, Gaudi::DataHandle::Reader >, SG::HandleKeyArray< WriteCondHandle< T >, CondHandleDefault::Key< WriteCondHandleKey< T > >, Gaudi::DataHandle::Writer >, SG::HandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer >, SG::HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer >, SG::HandleKeyArray< xAOD::EventInfo_v1 >, and SG::HandleKeyArray< xAOD::TruthParticleContainer >.
◆ owner() [1/2]
◆ owner() [2/2]
◆ push_back()
◆ renounce()
◆ renounced()
◆ setOwner()
◆ toString()
◆ elements
| T std::vector< T >::elements |
|
inherited |
◆ m_contKey
◆ m_isRenounced
◆ m_owner
The documentation for this class was generated from the following file: