ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataWrite
DataModelTestDataWrite
DataModelTestDataWrite/DataModelTestDataWrite/BDer.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: BDer.h,v 1.4 2007-10-17 00:54:36 ssnyder Exp $
8
18
19
#ifndef DATAMODELTESTDATAWRITE_BDER_H
20
#define DATAMODELTESTDATAWRITE_BDER_H
21
22
23
#include "
DataModelTestDataWrite/BVec.h
"
24
#include "AthLinks/ElementLink.h"
25
#include "
AthenaKernel/BaseInfo.h
"
26
#include "
AthenaKernel/CLASS_DEF.h
"
27
28
29
namespace
DMTest
{
30
31
35
struct
BDer
36
:
public
BVec
37
{
38
BDer
() {}
39
40
private
:
41
ElementLink<BVec>
m_el
;
42
};
43
44
45
}
46
47
48
CLASS_DEF
(
DMTest::BDer
, 9631, 1)
49
50
// Tell StoreGate that BDer derives from BVec.
51
SG_BASE
(
DMTest
::BDer,
DMTest
::BVec);
52
53
#endif
// not DATAMODELTESTDATAWRITE_BDER_H
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
BVec.h
Class used for testing the new DataVector inheritance scheme.
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
DMTest
Definition
B.h:23
DMTest::BVec
DataVector< DMTest::B > BVec
A DataVector containing the base class, B.
Definition
DataModelTestDataRead/DataModelTestDataRead/BVec.h:35
DMTest::BDer
A class deriving from DataVector containing the base class, B.
Definition
DataModelTestDataRead/DataModelTestDataRead/BDer.h:38
DMTest::BDer::m_el
ElementLink< BVec > m_el
Definition
DataModelTestDataRead/DataModelTestDataRead/BDer.h:40
DMTest::BDer::BDer
BDer()
Definition
DataModelTestDataWrite/DataModelTestDataWrite/BDer.h:38
Generated on
for ATLAS Offline Software by
1.17.0