ATLAS Offline Software
Loading...
Searching...
No Matches
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$
12
13
14#include "HVecCnv_v1.h"
16
17
18namespace DMTest {
19
20
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
Test for xAOD schema evolution.
Test for xAOD schema evolution.
virtual void persToTrans(const DMTest::HVec_v1 *oldObj, DMTest::HVec *newObj, MsgStream &log) override
virtual void transToPers(const DMTest::HVec *, DMTest::HVec_v1 *, MsgStream &log) override
value_type push_back(value_type pElem)
Add an element to the end of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
void clear()
Erase all the elements in the collection.
Definition B.h:23