CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::MemberWithDict Class Reference

#include <MemberWithDict.h>

Public Member Functions

TypeWithDict declaringType () const
 
ObjectWithDict get () const
 
ObjectWithDict get (ObjectWithDict const &obj) const
 
bool isConst () const
 
bool isPublic () const
 
bool isStatic () const
 
bool isTransient () const
 
 MemberWithDict ()
 
 MemberWithDict (TDataMember *dataMember)
 
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.

8  :
9  dataMember_() {
10  }
TDataMember * dataMember_
edm::MemberWithDict::MemberWithDict ( TDataMember *  dataMember)
explicit

Definition at line 12 of file MemberWithDict.cc.

12  :
13  dataMember_(dataMember) {
14  }
TDataMember * dataMember_

Member Function Documentation

TypeWithDict edm::MemberWithDict::declaringType ( ) const

Definition at line 37 of file MemberWithDict.cc.

References dataMember_.

37  {
38  return TypeWithDict(dataMember_->GetClass(), dataMember_->Property());
39  }
TDataMember * dataMember_
ObjectWithDict edm::MemberWithDict::get ( void  ) const
ObjectWithDict edm::MemberWithDict::get ( ObjectWithDict const &  obj) const
bool edm::MemberWithDict::isConst ( ) const

Definition at line 42 of file MemberWithDict.cc.

References dataMember_.

Referenced by FWTableViewManager::tableFormats().

42  {
43  return (dataMember_->Property() & kIsConstant);
44  }
TDataMember * dataMember_
bool edm::MemberWithDict::isPublic ( ) const

Definition at line 47 of file MemberWithDict.cc.

References dataMember_.

Referenced by reco::findDataMember(), and FWTableViewManager::tableFormats().

47  {
48  return (dataMember_->Property() & kIsPublic);
49  }
TDataMember * dataMember_
bool edm::MemberWithDict::isStatic ( ) const

Definition at line 52 of file MemberWithDict.cc.

References dataMember_, and reco::parser::kIsStatic.

52  {
53  return (dataMember_->Property() & kIsStatic);
54  }
TDataMember * dataMember_
bool edm::MemberWithDict::isTransient ( ) const

Definition at line 57 of file MemberWithDict.cc.

References dataMember_.

57  {
58  return !dataMember_->IsPersistent();
59  }
TDataMember * dataMember_
std::string edm::MemberWithDict::name ( void  ) const
size_t edm::MemberWithDict::offset ( ) const

Definition at line 62 of file MemberWithDict.cc.

References dataMember_.

62  {
63  return (dataMember_->GetOffset());
64  }
TDataMember * dataMember_
edm::MemberWithDict::operator bool ( ) const
explicit

Definition at line 66 of file MemberWithDict.cc.

66  {
67  return (dataMember_ != nullptr);
68  }
TDataMember * dataMember_
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(), reco::parser::MethodSetter::push(), reco::parser::MethodInvoker::returnTypeName(), and FWTableViewManager::tableFormats().

32  {
33  return TypeWithDict::byName(dataMember_->GetTypeName(), dataMember_->Property());
34  }
static TypeWithDict byName(std::string const &className)
TDataMember * dataMember_

Member Data Documentation

TDataMember* edm::MemberWithDict::dataMember_
private