CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BaseWithDict.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_BaseWithDict_h
2 #define FWCore_Utilities_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  public:
20  BaseWithDict();
21 
22  explicit BaseWithDict(TBaseClass* baseClass);
23 
24  std::string name() const;
25 
26  TypeWithDict typeOf() const;
27 
28  bool isPublic() const;
29 
30  private:
31 
32  TBaseClass* baseClass_;
33  };
34 
35 }
36 #endif
TypeWithDict typeOf() const
Definition: BaseWithDict.cc:15
std::string name() const
Definition: BaseWithDict.cc:20
bool isPublic() const
Definition: BaseWithDict.cc:25
TBaseClass * baseClass_
Definition: BaseWithDict.h:32