CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::TypeFunctionMembers Class Reference

#include <TypeWithDict.h>

Public Member Functions

IterWithDict< TMethod > begin () const
 
IterWithDict< TMethod > end () const
 
size_t size () const
 
 TypeFunctionMembers (TypeWithDict const &)
 

Private Attributes

TClass * class_
 

Detailed Description

Definition at line 175 of file TypeWithDict.h.

Constructor & Destructor Documentation

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

Definition at line 880 of file TypeWithDict.cc.

880 : class_(type.getClass()) {}
type
Definition: HCALResponse.h:21

Member Function Documentation

IterWithDict< TMethod > edm::TypeFunctionMembers::begin ( void  ) const

Definition at line 882 of file TypeWithDict.cc.

References class_.

882  {
883  if (class_ == nullptr) {
884  return IterWithDict<TMethod>();
885  }
886  return IterWithDict<TMethod>(class_->GetListOfMethods());
887  }
IterWithDict< TMethod > edm::TypeFunctionMembers::end ( void  ) const

Definition at line 889 of file TypeWithDict.cc.

889 { return IterWithDict<TMethod>(); }
size_t edm::TypeFunctionMembers::size ( void  ) const

Definition at line 891 of file TypeWithDict.cc.

References class_.

Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and fireworks::OptionNode::fillOptionForType().

891  {
892  if (class_ == nullptr) {
893  return 0;
894  }
895  return class_->GetListOfMethods(kFALSE)->GetSize();
896  }

Member Data Documentation

TClass* edm::TypeFunctionMembers::class_
private

Definition at line 177 of file TypeWithDict.h.

Referenced by begin(), and size().