ATLAS Offline Software
|
#include <HandleKeyArray.h>
Public Member Functions | |
HandleKeyArray () | |
default Constructor from a HandleKeyArray More... | |
HandleKeyArray (const std::vector< T_HandleKey > &v) | |
Constructor from a HandleKeyArray that takes a vector of ReadHandleKeys. More... | |
HandleKeyArray (std::initializer_list< T_HandleKey > l) | |
Constructor from a HandleKeyArray that takes an initializer list of HandleKeys. More... | |
HandleKeyArray (std::initializer_list< std::string > key_names) | |
Constructor from a HandleKeyArray that takes an initializer list of std::strings. More... | |
template<class OWNER , typename = typename std::enable_if<std::is_base_of<IProperty, OWNER>::value>::type> | |
HandleKeyArray (OWNER *owner, std::string name, std::initializer_list< std::string > l, std::string doc="") | |
auto-declaring Property Constructor from a HandleKeyArray that takes an initializer list of std::strings, and associates the WHKA with the specified Property name More... | |
Gaudi::DataHandle::Mode | mode () const |
return the type (Read/Write/Update) of handle More... | |
std::vector< T_Handle > | makeHandles () const |
create a vector of Handles from the HandleKeys in the array More... | |
std::vector< T_Handle > | makeHandles (const EventContext &ctx) const |
create a vector of Handles from the HandleKeys in the array, with explicit EventContext. More... | |
StatusCode | initialize (bool used=true) |
forward the initialization to the member VarHandleKeys More... | |
virtual StatusCode | assign (const std::vector< std::string > &vs) override |
Set the contents of the VarHandleKeyArray from a vector of std::strings. More... | |
virtual std::string | toString () const override |
string representation of the VarHandleKeyArray More... | |
virtual std::string | toString () const =0 |
virtual std::vector< SG::VarHandleKey * > | keys () const override |
create array of all base VarHandleKeys in the Array More... | |
virtual std::vector< SG::VarHandleKey * > | keys () const =0 |
virtual void | renounce () override |
if called, handles will not be declared in the algorithm I/O More... | |
virtual bool | renounced () const override |
query renounced state More... | |
virtual bool | renounced () const =0 |
virtual void | declare (IDataHandleHolder *) override |
virtual void | setOwner (IDataHandleHolder *o) override |
virtual const IDataHandleHolder * | owner () const override |
virtual IDataHandleHolder * | owner () override |
virtual const IDataHandleHolder * | owner () const =0 |
Public Attributes | |
T | elements |
STL member. More... | |
Private Attributes | |
bool | m_isRenounced |
IDataHandleHolder * | m_owner |
Definition at line 38 of file StoreGate/StoreGate/HandleKeyArray.h.
|
inline |
default Constructor from a HandleKeyArray
Definition at line 43 of file StoreGate/StoreGate/HandleKeyArray.h.
|
inline |
Constructor from a HandleKeyArray that takes a vector of ReadHandleKeys.
v | vector of HandleKey |
Definition at line 50 of file StoreGate/StoreGate/HandleKeyArray.h.
|
inline |
Constructor from a HandleKeyArray that takes an initializer list of HandleKeys.
l | initializer list of HandleKey |
Definition at line 58 of file StoreGate/StoreGate/HandleKeyArray.h.
|
inline |
Constructor from a HandleKeyArray that takes an initializer list of std::strings.
l | initializer list of std::strings used to create the HandleKeys |
Definition at line 67 of file StoreGate/StoreGate/HandleKeyArray.h.
|
inline |
auto-declaring Property Constructor from a HandleKeyArray that takes an initializer list of std::strings, and associates the WHKA with the specified Property name
name | name of Property |
l | initializer list of std::strings used to create the HandleKeys |
doc | documentation string |
Definition at line 81 of file StoreGate/StoreGate/HandleKeyArray.h.
|
overridevirtualinherited |
Set the contents of the VarHandleKeyArray from a vector of std::strings.
vs | vector of initializer strings |
Implements SG::VarHandleKeyArray.
|
overridevirtualinherited |
Implements SG::VarHandleKeyArray.
|
inherited |
forward the initialization to the member VarHandleKeys
used | If false, then this handle is not to be used. Instead of normal initialization, the key will be cleared. |
|
pure virtualinherited |
Implemented in SG::VarHandleKeyArrayCommon< Base >.
|
overridevirtualinherited |
create array of all base VarHandleKeys in the Array
|
inline |
create a vector of Handles from the HandleKeys in the array
Definition at line 100 of file StoreGate/StoreGate/HandleKeyArray.h.
|
inline |
create a vector of Handles from the HandleKeys in the array, with explicit EventContext.
Definition at line 113 of file StoreGate/StoreGate/HandleKeyArray.h.
|
inlinevirtual |
return the type (Read/Write/Update) of handle
Implements SG::VarHandleKeyArray.
Definition at line 94 of file StoreGate/StoreGate/HandleKeyArray.h.
|
pure virtualinherited |
Implemented in SG::VarHandleKeyArrayCommon< Base >.
|
inlineoverridevirtualinherited |
Implements SG::VarHandleKeyArray.
Definition at line 135 of file StoreGate/StoreGate/VarHandleKeyArray.h.
|
inlineoverridevirtualinherited |
Implements SG::VarHandleKeyArray.
Definition at line 136 of file StoreGate/StoreGate/VarHandleKeyArray.h.
|
inlineoverridevirtualinherited |
if called, handles will not be declared in the algorithm I/O
Implements SG::VarHandleKeyArray.
Definition at line 125 of file StoreGate/StoreGate/VarHandleKeyArray.h.
|
pure virtualinherited |
Implemented in SG::VarHandleKeyArrayCommon< Base >.
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
Implements SG::VarHandleKeyArray.
Definition at line 134 of file StoreGate/StoreGate/VarHandleKeyArray.h.
|
pure virtualinherited |
Implemented in SG::VarHandleKeyArrayCommon< Base >.
|
overridevirtualinherited |
string representation of the VarHandleKeyArray
|
inherited |
STL member.
|
privateinherited |
Definition at line 140 of file StoreGate/StoreGate/VarHandleKeyArray.h.
|
privateinherited |
Definition at line 141 of file StoreGate/StoreGate/VarHandleKeyArray.h.