15#ifndef ASG_DATA_HANDLES_VAR_HANDLE_KEY_H
16#define ASG_DATA_HANDLES_VAR_HANDLE_KEY_H
18#ifndef XAOD_STANDALONE
103 virtual StatusCode
assign (const std::
string& sgkey);
132 const std::
string&
key() const;
181 ostream&
operator<<(ostream& s,
const SG::VarHandleKey& m);
A property holding a SG store/key/clid from which a VarHandle is made.
Base class for VarHandle types.
A property holding a SG store/key/clid from which a VarHandle is made.
bool isEventStore() const
Does this key reference the primary event store?
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual StatusCode assign(const std::string &sgkey)
Change the key of the object to which we're referring.
std::string m_sgKey
StoreGate key, that doesn't include the storename.
bool m_isEventStore
Cache test for whether we're referencing the event store.
VarHandleKey(CLID clid, const std::string &sgkey, Gaudi::DataHandle::Mode a, const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE), bool isCond=false)
Constructor.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
bool empty() const
Test if the key is blank.
std::ostream & operator<<(std::ostream &os, const ArenaAllocatorBase::Stats::Stat &stat)
Format a statistic structure.