CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
size_t offset() const
Definition: BaseWithDict.cc:19
TypeWithDict typeOf() const
Definition: BaseWithDict.cc:17
std::string name() const
Definition: BaseWithDict.cc:15
bool isPublic() const
Definition: BaseWithDict.cc:13
TBaseClass * baseClass_
Definition: BaseWithDict.h:20