CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
UseReflex.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_UseReflex_h
2 #define FWCore_Utilities_UseReflex_h
3 
4 // The original purpose of this header was to isolate the changes that need to be made
5 // when migrating from ROOT 5.18 to ROOT 5.21 due to the fact that the
6 // namespace ROOT::Reflex in 5.18 is simply Reflex: in 5.21.
7 
8 // However, the conditional code for ROOT 5.19 and prior releases (now obsolete in CMSSW)
9 // has been removed, so this header is just a convenience for files that use reflex.
10 
11 #include "Reflex/Type.h"
12 #include "Reflex/TypeTemplate.h"
13 
14 namespace Reflex {
15  class Base;
16  class Member;
17  class Object;
18  class PropertyList;
19  class SharedLibrary;
20  class Type;
21  class TypeTemplate;
22  inline
23  std::ostream& operator<<(std::ostream& os, Type const& t) {
24  os << t.Name();
25  return os;
26  }
27  inline
28  std::ostream& operator<<(std::ostream& os, TypeTemplate const& tt) {
29  os << tt.Name();
30  return os;
31  }
32 }
33 #endif
std::ostream & operator<<(std::ostream &os, Type const &t)
Definition: UseReflex.h:23