CMS 3D CMS Logo

ViewTypeChecker.h
Go to the documentation of this file.
1 #ifndef DataFormats_Provenance_ViewTypeChecker_h
2 #define DataFormats_Provenance_ViewTypeChecker_h
3 
4 /*----------------------------------------------------------------------
5 
6 Checks for "value_type" and "member_type" typedefs inside T (of Wrapper<T>).
7 
8 ----------------------------------------------------------------------*/
9 
10 #include <typeinfo>
11 
12 namespace edm {
14  public:
16  virtual ~ViewTypeChecker();
17 
18  std::type_info const& valueTypeInfo() const {return valueTypeInfo_();}
19  std::type_info const& memberTypeInfo() const {return memberTypeInfo_();}
20 
21  private:
22  virtual std::type_info const& valueTypeInfo_() const = 0;
23  virtual std::type_info const& memberTypeInfo_() const = 0;
24  };
25 }
26 #endif
std::type_info const & valueTypeInfo() const
virtual std::type_info const & memberTypeInfo_() const =0
HLT enums.
virtual std::type_info const & valueTypeInfo_() const =0
std::type_info const & memberTypeInfo() const