#include <MemberWithDict.h>
Public Member Functions | |
TypeWithDict | declaringType () const |
ObjectWithDict | get (ObjectWithDict const &obj) const |
ObjectWithDict | get () const |
bool | isConst () const |
bool | isPublic () const |
bool | isStatic () const |
bool | isTransient () const |
MemberWithDict (TDataMember *dataMember) | |
MemberWithDict () | |
std::string | name () const |
size_t | offset () const |
operator bool () const | |
TypeWithDict | typeOf () const |
Private Attributes | |
TDataMember * | dataMember_ |
Definition at line 19 of file MemberWithDict.h.
edm::MemberWithDict::MemberWithDict | ( | ) |
Definition at line 8 of file MemberWithDict.cc.
: dataMember_() { }
edm::MemberWithDict::MemberWithDict | ( | TDataMember * | dataMember | ) | [explicit] |
Definition at line 12 of file MemberWithDict.cc.
: dataMember_(dataMember) { }
TypeWithDict edm::MemberWithDict::declaringType | ( | ) | const |
Definition at line 37 of file MemberWithDict.cc.
References dataMember_.
{ return TypeWithDict(dataMember_->GetClass(), dataMember_->Property()); }
ObjectWithDict edm::MemberWithDict::get | ( | void | ) | const |
Definition at line 22 of file MemberWithDict.cc.
References dataMember_, and typeOf().
Referenced by edm::ObjectWithDict::get(), and reco::parser::MethodInvoker::invoke().
{ return (ObjectWithDict(typeOf(), reinterpret_cast<void*>(dataMember_->GetOffset()))); }
ObjectWithDict edm::MemberWithDict::get | ( | ObjectWithDict const & | obj | ) | const |
Definition at line 27 of file MemberWithDict.cc.
References edm::ObjectWithDict::address(), dataMember_, and typeOf().
{ return (ObjectWithDict(typeOf(), static_cast<char*>(obj.address()) + dataMember_->GetOffset())); }
bool edm::MemberWithDict::isConst | ( | ) | const |
Definition at line 42 of file MemberWithDict.cc.
References dataMember_.
Referenced by FWTableViewManager::tableFormats().
{ return (dataMember_->Property() & kIsConstant); }
bool edm::MemberWithDict::isPublic | ( | ) | const |
Definition at line 47 of file MemberWithDict.cc.
References dataMember_.
Referenced by reco::findDataMember(), and FWTableViewManager::tableFormats().
{ return (dataMember_->Property() & kIsPublic); }
bool edm::MemberWithDict::isStatic | ( | ) | const |
Definition at line 52 of file MemberWithDict.cc.
References dataMember_, and reco::parser::kIsStatic.
{ return (dataMember_->Property() & kIsStatic); }
bool edm::MemberWithDict::isTransient | ( | ) | const |
Definition at line 57 of file MemberWithDict.cc.
References dataMember_.
{ return !dataMember_->IsPersistent(); }
std::string edm::MemberWithDict::name | ( | void | ) | const |
Definition at line 17 of file MemberWithDict.cc.
References dataMember_.
Referenced by reco::parser::MethodInvoker::methodName(), and FWTableViewManager::tableFormats().
{ return dataMember_->GetName(); }
size_t edm::MemberWithDict::offset | ( | ) | const |
Definition at line 62 of file MemberWithDict.cc.
References dataMember_.
{ return (dataMember_->GetOffset()); }
edm::MemberWithDict::operator bool | ( | ) | const [explicit] |
Definition at line 66 of file MemberWithDict.cc.
References dataMember_.
{ return (dataMember_ != nullptr); }
TypeWithDict edm::MemberWithDict::typeOf | ( | ) | const |
Definition at line 32 of file MemberWithDict.cc.
References edm::TypeWithDict::byName(), and dataMember_.
Referenced by get(), reco::parser::MethodInvoker::invoke(), TimerStack::push(), reco::parser::MethodInvoker::returnTypeName(), and FWTableViewManager::tableFormats().
{ return TypeWithDict::byName(dataMember_->GetTypeName(), dataMember_->Property()); }
TDataMember* edm::MemberWithDict::dataMember_ [private] |
Definition at line 51 of file MemberWithDict.h.
Referenced by declaringType(), get(), isConst(), isPublic(), isStatic(), isTransient(), name(), offset(), operator bool(), and typeOf().