ATLAS Offline Software
HVecCnv_v1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // $Id$
14 #include "HVecCnv_v1.h"
16 
17 
18 namespace DMTest {
19 
20 
22 {
23 }
24 
25 
27  DMTest::HVec* newObj,
28  MsgStream& /*log*/ )
29 {
30  newObj->clear();
31  for (size_t i = 0; i < oldObj->size(); i++)
32  newObj->push_back (new DMTest::H);
33 }
34 
35 
38  MsgStream& )
39 {
40  std::abort();
41 }
42 
43 
44 } // namespace DMTest
H.h
Test for xAOD schema evolution.
HVecCnv_v1.h
Test for xAOD schema evolution.
DMTest::HVecCnv_v1::persToTrans
virtual void persToTrans(const DMTest::HVec_v1 *oldObj, DMTest::HVec *newObj, MsgStream &log) override
Definition: HVecCnv_v1.cxx:26
lumiFormat.i
int i
Definition: lumiFormat.py:92
DMTest::HVecCnv_v1::HVecCnv_v1
HVecCnv_v1()
Definition: HVecCnv_v1.cxx:21
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
DataVector::clear
void clear()
Erase all the elements in the collection.
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
DMTest::HVecCnv_v1::transToPers
virtual void transToPers(const DMTest::HVec *, DMTest::HVec_v1 *, MsgStream &log) override
Definition: HVecCnv_v1.cxx:36
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
DMTest
Definition: B.h:23
DMTest::H_v2
Definition: H_v2.h:30