test
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 
11 #include <string>
12 
13 class TBaseClass;
14 
15 namespace edm {
16 
17 class TypeWithDict;
18 
19 class BaseWithDict {
20 private:
21  TBaseClass* baseClass_;
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_Utilities_BaseWithDict_h
size_t offset() const
Definition: BaseWithDict.cc:31
TypeWithDict typeOf() const
Definition: BaseWithDict.cc:26
std::string name() const
Definition: BaseWithDict.cc:21
bool isPublic() const
Definition: BaseWithDict.cc:16
TBaseClass * baseClass_
Definition: BaseWithDict.h:21