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::TypeDataMembers Class Reference

#include <TypeWithDict.h>

Public Member Functions

IterWithDict< TDataMember > begin () const
 
IterWithDict< TDataMember > end () const
 
size_t size () const
 
 TypeDataMembers (TypeWithDict const &)
 

Private Attributes

TClass * class_
 

Detailed Description

Definition at line 164 of file TypeWithDict.h.

Constructor & Destructor Documentation

edm::TypeDataMembers::TypeDataMembers ( TypeWithDict const &  type)
explicit

Definition at line 958 of file TypeWithDict.cc.

958  :
959  class_(type.getClass()) {
960  }
type
Definition: HCALResponse.h:21

Member Function Documentation

IterWithDict< TDataMember > edm::TypeDataMembers::begin ( void  ) const

Definition at line 963 of file TypeWithDict.cc.

References class_.

Referenced by FWItemAccessorFactory::hasMemberTVirtualCollectionProxy().

963  {
964  if (class_ == nullptr) {
965  return IterWithDict<TDataMember>();
966  }
967  return IterWithDict<TDataMember>(class_->GetListOfDataMembers());
968  }
IterWithDict< TDataMember > edm::TypeDataMembers::end ( void  ) const

Definition at line 971 of file TypeWithDict.cc.

971  {
972  return IterWithDict<TDataMember>();
973  }
size_t edm::TypeDataMembers::size ( void  ) const

Definition at line 976 of file TypeWithDict.cc.

References class_.

Referenced by FWItemAccessorFactory::hasMemberTVirtualCollectionProxy().

976  {
977  if (class_ == nullptr) {
978  return 0;
979  }
980  return class_->GetListOfDataMembers()->GetSize();
981  }

Member Data Documentation

TClass* edm::TypeDataMembers::class_
private

Definition at line 166 of file TypeWithDict.h.

Referenced by begin(), and size().