CMS 3D CMS Logo

BaseWithDict.cc
Go to the documentation of this file.
2 
4 
5 #include "TBaseClass.h"
6 
7 namespace edm {
8 
10 
11  BaseWithDict::BaseWithDict(TBaseClass* baseClass) : baseClass_(baseClass) {}
12 
13  bool BaseWithDict::isPublic() const { return baseClass_->Property() & kIsPublic; }
14 
15  std::string BaseWithDict::name() const { return baseClass_->GetName(); }
16 
17  TypeWithDict BaseWithDict::typeOf() const { return TypeWithDict(baseClass_->GetClassPointer()); }
18 
19  size_t BaseWithDict::offset() const { return static_cast<size_t>(baseClass_->GetDelta()); }
20 
21 } // namespace edm
#define nullptr
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