|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GaudiKernel/MsgStream.h"
12 persObj->resize(transObj->
size());
14 for (
unsigned int i=0;
i<transObj->
size(); ++
i) {
26 transObj->
reserve(persObj->size());
28 for (
unsigned int i=0;
i<persObj->size(); ++
i) {
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
virtual void persToTrans(const ZdcDigitsCollection_p1 *persObj, ZdcDigitsCollection *transObj, MsgStream &log) const override
value_type push_back(value_type pElem)
Add an element to the end of the collection.
virtual void transToPers(const ZdcDigitsCollection *transObj, ZdcDigitsCollection_p1 *persObj, MsgStream &log) const override
virtual void transToPers(const ZdcDigits *transObj, ZdcDigits_p1 *persObj, MsgStream &log) const override
Method creating the persistent representation ZdcDigits_p1 from its transient representation ZdcDigit...
size_type size() const noexcept
Returns the number of elements in the collection.
virtual TRANS * createTransientConst(const PERS *persObj, MsgStream &log) const