CMS 3D CMS Logo

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

#include <BaseWithDict.h>

Public Member Functions

 BaseWithDict ()
 
 BaseWithDict (TBaseClass *)
 
bool isPublic () const
 
std::string name () const
 
size_t offset () const
 
TypeWithDict typeOf () const
 

Private Attributes

TBaseClass * baseClass_
 

Detailed Description

Definition at line 19 of file BaseWithDict.h.

Constructor & Destructor Documentation

edm::BaseWithDict::BaseWithDict ( )

Definition at line 9 of file BaseWithDict.cc.

9  : baseClass_(nullptr) {
10  }
TBaseClass * baseClass_
Definition: BaseWithDict.h:21
edm::BaseWithDict::BaseWithDict ( TBaseClass *  baseClass)
explicit

Definition at line 12 of file BaseWithDict.cc.

12  : baseClass_(baseClass) {
13  }
TBaseClass * baseClass_
Definition: BaseWithDict.h:21

Member Function Documentation

bool edm::BaseWithDict::isPublic ( ) const

Definition at line 16 of file BaseWithDict.cc.

References baseClass_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by edm::public_base_classes().

16  {
17  return baseClass_->Property() & kIsPublic;
18  }
TBaseClass * baseClass_
Definition: BaseWithDict.h:21
std::string edm::BaseWithDict::name ( void  ) const

Definition at line 21 of file BaseWithDict.cc.

References baseClass_.

Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().

21  {
22  return baseClass_->GetName();
23  }
TBaseClass * baseClass_
Definition: BaseWithDict.h:21
size_t edm::BaseWithDict::offset ( ) const

Definition at line 31 of file BaseWithDict.cc.

References baseClass_.

31  {
32  return static_cast<size_t>(baseClass_->GetDelta());
33  }
TBaseClass * baseClass_
Definition: BaseWithDict.h:21
TypeWithDict edm::BaseWithDict::typeOf ( ) const

Definition at line 26 of file BaseWithDict.cc.

References baseClass_.

Referenced by edm::public_base_classes().

26  {
27  return TypeWithDict(baseClass_->GetClassPointer());
28  }
TBaseClass * baseClass_
Definition: BaseWithDict.h:21

Member Data Documentation

TBaseClass* edm::BaseWithDict::baseClass_
private

Definition at line 21 of file BaseWithDict.h.

Referenced by isPublic(), name(), offset(), and typeOf().