|
||||
File indexing completed on 2024-04-06 12:03:50
0001 #ifndef DataFormats_Common_CMS_CLASS_VERSION_h 0002 #define DataFormats_Common_CMS_CLASS_VERSION_h 0003 // -*- C++ -*- 0004 // 0005 // Package: Common 0006 // Class : CMS_CLASS_VERSION 0007 // 0008 /**\class CMS_CLASS_VERSION CMS_CLASS_VERSION.h DataFormats/Common/interface/CMS_CLASS_VERSION.h 0009 0010 Description: Macro used to add versioning info needed by ROOT to a CMS templated class 0011 0012 Usage: 0013 Add the following line to a template class' public declaration area 0014 CMS_CLASS_VERSION(<number>) 0015 0016 For classes that have been stored into ROOT files before the addition of the macro, we suggest starting the <number> at 10. This was chosen to be larger than any known number of stored changes to a templated class. 0017 For new classes that have never been stored, we suggest starting the <number> at 2 (0 and 1 have special meanings to ROOT). 0018 0019 */ 0020 // 0021 // Original Author: Chris Jones 0022 // Created: Thu Mar 3 14:25:29 CST 2011 0023 // 0024 0025 // system include files 0026 0027 // user include files 0028 0029 // forward declarations 0030 #define CMS_CLASS_VERSION(_version_) \ 0031 static short Class_Version() { return _version_; } 0032 0033 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |