CMS 3D CMS Logo

BaseWithDict.cc
Go to the documentation of this file.
2 
4 
5 #include "TBaseClass.h"
6 
7 namespace edm {
8 
9  BaseWithDict::BaseWithDict() : baseClass_(nullptr) {}
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
std::string name() const
Definition: BaseWithDict.cc:15
size_t offset() const
Definition: BaseWithDict.cc:19
bool isPublic() const
Definition: BaseWithDict.cc:13
HLT enums.
TypeWithDict typeOf() const
Definition: BaseWithDict.cc:17
TBaseClass * baseClass_
Definition: BaseWithDict.h:20