CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::MemberWithDict Class Reference

#include <MemberWithDict.h>

List of all members.

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_

Detailed Description

Definition at line 19 of file MemberWithDict.h.


Constructor & Destructor Documentation

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) {
  }

Member Function Documentation

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

Member Data Documentation

TDataMember* edm::MemberWithDict::dataMember_ [private]