CMS 3D CMS Logo

BaseWithDict.h
Go to the documentation of this file.
1 #ifndef FWCore_Reflection_BaseWithDict_h
2 #define FWCore_Reflection_BaseWithDict_h
3 
4 /*----------------------------------------------------------------------
5 
6 BaseWithDict: A holder for a base class
7 
8 ----------------------------------------------------------------------*/
9 
10 #include <string>
11 
12 class TBaseClass;
13 
14 namespace edm {
15 
16  class TypeWithDict;
17 
18  class BaseWithDict {
19  private:
20  TBaseClass* baseClass_;
21 
22  public:
23  BaseWithDict();
24  explicit BaseWithDict(TBaseClass*);
25  bool isPublic() const;
26  std::string name() const;
27  TypeWithDict typeOf() const;
28  size_t offset() const;
29  };
30 
31 } // namespace edm
32 
34 
35 #endif // FWCore_Reflection_BaseWithDict_h
size_t offset() const
Definition: BaseWithDict.cc:19
TypeWithDict typeOf() const
Definition: BaseWithDict.cc:17
HLT enums.
std::string name() const
Definition: BaseWithDict.cc:15
bool isPublic() const
Definition: BaseWithDict.cc:13
TBaseClass * baseClass_
Definition: BaseWithDict.h:20