ATLAS Offline Software
Loading...
Searching...
No Matches
D.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-2021 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: D.h,v 1.2 2005-12-01 19:07:54 ssnyder Exp $
8
18
20
21#ifndef DMTESTCLASSES_D_H
22#define DMTESTCLASSES_D_H
23
24namespace DMTest {
25
26
34struct D
35 : public /*virtual*/ B
36{
37 D (int d = 0) : B (d+1), m_x (d) {}
38 // cppcheck-suppress duplInheritedMember
39 int m_x;
40};
41
42
43} // namespace DMTest
44
45
46#endif // not DMTESTCLASSES_D_H
Class used for testing the new DataVector inheritance scheme.
Definition B.h:23
B(int b=0)
Definition B.h:35
int m_x
Definition D.h:39
D(int d=0)
Definition D.h:37