ATLAS Offline Software
Tutorial_ClassDEF.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TUTORIAL_CLASSDEF_H
6 #define TUTORIAL_CLASSDEF_H
7 //Put here the CLASS_DEF macros for the STL containers you put in StoreGate
8 
9 #include <vector>
10 #include "MyElement.h"
11 
12 #include "AthenaKernel/CLASS_DEF.h"
13 
14 CLASS_DEF(std::vector<SGTutorial::MyElement>, 9903, 1)
15  //the third field is the version which is currently ignored
16 #endif
MyElement.h
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