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