ATLAS Offline Software
Loading...
Searching...
No Matches
Obj1.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$
14
15
16#ifndef D3PDMAKERTEST_OBJ1_H
17#define D3PDMAKERTEST_OBJ1_H
18
19
20#include "D3PDMakerTest/Obj2.h"
24#include <string>
25#include <vector>
26
27
28namespace D3PDTest {
29
30
31
37class Obj1
38{
39public:
40 Obj1();
41 Obj1 (int x);
42
43 std::string m_str;
44 const char* m_cstr;
45 char m_c;
46 unsigned char m_uc;
47 short m_s;
48 unsigned short m_us;
49 int m_i;
50 unsigned int m_ui;
51 float m_f;
52 double m_d;
53 long long m_ll;
54 unsigned long long m_ull;
55 bool m_b;
56
58 std::vector<Obj2> m_vo2;
59 std::vector<Obj2> m_vo3;
60};
61
62
63
65 : public DataVector<Obj1>
66{
67public:
68};
69
70
71
72} // namespace D3PDTest
73
74
76
78CLASS_DEF (D3PDTest::Obj1Container, 9373, 1)
79
80
81#endif // not D3PDMAKERTEST_OBJ1_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
An STL vector of pointers that by default owns its pointed-to elements.
Test class for D3PD maker.
#define x
Test class for D3PD maker.
Definition Obj1.h:38
float m_f
Definition Obj1.h:51
std::vector< Obj2 > m_vo3
Definition Obj1.h:59
long long m_ll
Definition Obj1.h:53
unsigned char m_uc
Definition Obj1.h:46
unsigned int m_ui
Definition Obj1.h:50
bool m_b
Definition Obj1.h:55
std::string m_str
Definition Obj1.h:43
std::vector< Obj2 > m_vo2
Definition Obj1.h:58
short m_s
Definition Obj1.h:47
unsigned long long m_ull
Definition Obj1.h:54
char m_c
Definition Obj1.h:45
unsigned short m_us
Definition Obj1.h:48
Obj2 m_o2
Definition Obj1.h:57
const char * m_cstr
Definition Obj1.h:44
double m_d
Definition Obj1.h:52
Test class for D3PD maker.
Definition Obj2.h:28
Derived DataVector<T>.
Definition DataVector.h:795
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)