ATLAS Offline Software
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 
19 #ifndef DATAMODELTESTDATAWRITE_BDER_H
20 #define DATAMODELTESTDATAWRITE_BDER_H
21 
22 
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:
42 };
43 
44 
45 }
46 
47 
48 CLASS_DEF (DMTest::BDer, 9631, 1)
49 
50 // Tell StoreGate that BDer derives from BVec.
52 
53 #endif // not DATAMODELTESTDATAWRITE_BDER_H
BVec.h
Class used for testing the new DataVector inheritance scheme.
DMTest::BDer::BDer
BDer()
Definition: DataModelTestDataWrite/DataModelTestDataWrite/BDer.h:38
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
SG_BASE(DMTest::BDer, DMTest::BVec)
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
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:64
CLASS_DEF.h
macros to associate a CLID to a type
DMTest
Definition: B.h:23