CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/FWCore/Utilities/interface/UseReflex.h

Go to the documentation of this file.
00001 #ifndef FWCore_Utilities_UseReflex_h
00002 #define FWCore_Utilities_UseReflex_h
00003 
00004 // The original purpose of this header was to isolate the changes that need to be made 
00005 // when migrating from ROOT 5.18 to ROOT 5.21 due to the fact that the 
00006 // namespace ROOT::Reflex in 5.18 is simply Reflex: in 5.21.
00007 
00008 // However, the conditional code for ROOT 5.19 and prior releases (now obsolete in CMSSW)
00009 // has been removed, so this header is just a convenience for files that use reflex.
00010 
00011 #include "Reflex/Type.h"
00012 #include "Reflex/TypeTemplate.h"
00013 
00014 namespace Reflex {
00015   class Base;
00016   class Member;
00017   class Object;
00018   class PropertyList;
00019   class SharedLibrary;
00020   class Type;
00021   class TypeTemplate;
00022   inline
00023   std::ostream& operator<<(std::ostream& os, Type const& t) {
00024     os << t.Name();
00025     return os;
00026   } 
00027   inline
00028   std::ostream& operator<<(std::ostream& os, TypeTemplate const& tt) {
00029     os << tt.Name();
00030     return os;
00031   }
00032 }
00033 #endif