ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataReadCnv
src
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
"
15
#include "
DataModelTestDataRead/H.h
"
16
17
18
namespace
DMTest
{
19
20
21
HVecCnv_v1::HVecCnv_v1
()
22
{
23
}
24
25
26
void
HVecCnv_v1::persToTrans
(
const
DMTest::HVec_v1
* oldObj,
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
36
void
HVecCnv_v1::transToPers
(
const
DMTest::HVec
*,
37
DMTest::HVec_v1
*,
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
DMTest::HVecCnv_v1::HVecCnv_v1
HVecCnv_v1()
Definition
HVecCnv_v1.cxx:21
DMTest::HVecCnv_v1::transToPers
virtual void transToPers(const DMTest::HVec *, DMTest::HVec_v1 *, MsgStream &log) override
Definition
HVecCnv_v1.cxx:36
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
DataVector::clear
void clear()
Erase all the elements in the collection.
DMTest
Definition
B.h:23
DMTest::HVec
HVec_v2 HVec
Definition
DataModelTestDataRead/DataModelTestDataRead/HVec.h:26
DMTest::H
H_v2 H
Definition
DataModelTestDataRead/DataModelTestDataRead/H.h:26
DMTest::HVec_v1
DataVector< H_v1 > HVec_v1
Definition
DataModelTestDataRead/DataModelTestDataRead/versions/HVec_v1.h:27
Generated on
for ATLAS Offline Software by
1.17.0