ATLAS Offline Software
Loading...
Searching...
No Matches
DataModelTestDataWrite/DataModelTestDataWrite/DDer.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: DDer.h,v 1.3 2007-01-31 03:06:38 ssnyder Exp $
8
18
19#ifndef DATAMODELTESTDATAWRITE_DDER_H
20#define DATAMODELTESTDATAWRITE_DDER_H
21
22
26
27
28namespace DMTest {
29
30
35struct DDer
36 : public DVec
37{
38 DDer() {}
39};
40
41
42}
43
44
45CLASS_DEF (DMTest::DDer, 9632, 1)
46
47// Tell StoreGate that DDer derives from DVec.
48SG_BASE(DMTest::DDer, DMTest::DVec);
49
50#endif // not DATAMODELTESTDATAWRITE_DDER_H
Provide an interface for finding inheritance information at run time.
#define SG_BASE(D, B)
Declare that class D derives from class B.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Class used for testing the new DataVector inheritance scheme.
Definition B.h:23
DataVector< D > DVec
A DataVector containing the derived class, B.
A class deriving from DataVector containing the derived class, D.