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
edm
HLT enums.
Definition: AlignableModifier.h:19
TypeWithDict.h
edm::BaseWithDict::typeOf
TypeWithDict typeOf() const
Definition: BaseWithDict.cc:17
edm::BaseWithDict
Definition: BaseWithDict.h:18
edm::BaseWithDict::name
std::string name() const
Definition: BaseWithDict.cc:15
edm::TypeWithDict
Definition: TypeWithDict.h:38
edm::BaseWithDict::isPublic
bool isPublic() const
Definition: BaseWithDict.cc:13
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::BaseWithDict::offset
size_t offset() const
Definition: BaseWithDict.cc:19
edm::BaseWithDict::BaseWithDict
BaseWithDict()
Definition: BaseWithDict.cc:9
edm::BaseWithDict::baseClass_
TBaseClass * baseClass_
Definition: BaseWithDict.h:20