|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef ATHCONTAINERS_VIEWVECTORBASE_H
15 #define ATHCONTAINERS_VIEWVECTORBASE_H
20 #include "AthLinks/ElementLinkBase.h"
26 class ViewVectorBaseTest;
159 #ifdef XAOD_STANDALONE
169 friend class ::ViewVectorBaseTest;
186 #endif // not ATHCONTAINERS_VIEWVECTORBASE_H
virtual void toTransient()=0
Convert the vector to transient form.
void doToTransient1(DV &v, const std::true_type &)
Convert to persistent form.
void doToTransient1(DV &, const std::false_type &)
Convert to transient form.
void doToTransient2(DV &v, const std::true_type &)
Convert to transient form.
void doToTransient2(DV &, const std::false_type &)
Convert to transient form.
void clearPersistent()
Clear the persistent data.
void doToPersistent1(DV &, const std::false_type &)
Convert to persistent form.
void doToPersistent1(DV &v, const std::true_type &)
Convert to persistent form.
Default, invalid implementation of ClassID_traits.
Hold the persistent representation for a ViewVector.
virtual ~ViewVectorBase()=default
Destructor.
Helper to make a vector<EL> from a DataVector.
void doToPersistent(DV &v)
Convert to persistent form.
void doToTransient(DV &v)
Convert to persistent form.
virtual void toPersistent()=0
Convert the vector to persistent form.
Define the type used for hashed StoreGate key+CLID pairs.
void setClearOnPersistent()
Set a flag to declare that the vector should be cleared on the next call to toPersistent().
std::vector< unsigned int > m_persIndex
std::vector< sgkey_t > m_persKey
The persistent form. (sgkey, index)
bool m_clearOnPersistent
If true, the vector should be cleared when doPersistent is called.