/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Reflection/src/BaseWithDict.cc
21 строка
667 B
Chris Jones
Moved code to new FWCore/Reflection package
20 июн 2019, 15:10
20 июн 2019, 15:10
a88734e
Код
Авторство
О чём код?
#include "FWCore/Reflection/interface/BaseWithDict.h" #include "FWCore/Reflection/interface/TypeWithDict.h" #include "TBaseClass.h" namespace edm { BaseWithDict::BaseWithDict() : baseClass_(nullptr) {} BaseWithDict::BaseWithDict(TBaseClass* baseClass) : baseClass_(baseClass) {} bool BaseWithDict::isPublic() const { return baseClass_->Property() & kIsPublic; } std::string BaseWithDict::name() const { return baseClass_->GetName(); } TypeWithDict BaseWithDict::typeOf() const { return TypeWithDict(baseClass_->GetClassPointer()); } size_t BaseWithDict::offset() const { return static_cast<size_t>(baseClass_->GetDelta()); } } // namespace edm