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 18 of file BaseWithDict.h.

Constructor & Destructor Documentation

edm::BaseWithDict::BaseWithDict ( )

Definition at line 9 of file BaseWithDict.cc.

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

Definition at line 11 of file BaseWithDict.cc.

11 : baseClass_(baseClass) {}
TBaseClass * baseClass_
Definition: BaseWithDict.h:20

Member Function Documentation

bool edm::BaseWithDict::isPublic ( ) const

Definition at line 13 of file BaseWithDict.cc.

References baseClass_.

Referenced by edm::public_base_classes().

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

Definition at line 15 of file BaseWithDict.cc.

References baseClass_.

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

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

Definition at line 19 of file BaseWithDict.cc.

References baseClass_.

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

Definition at line 17 of file BaseWithDict.cc.

References baseClass_.

Referenced by edm::public_base_classes().

17 { return TypeWithDict(baseClass_->GetClassPointer()); }
TBaseClass * baseClass_
Definition: BaseWithDict.h:20

Member Data Documentation

TBaseClass* edm::BaseWithDict::baseClass_
private

Definition at line 20 of file BaseWithDict.h.

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