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

◆ BaseWithDict() [1/2]

edm::BaseWithDict::BaseWithDict ( )

Definition at line 9 of file BaseWithDict.cc.

9 : baseClass_(nullptr) {}

◆ BaseWithDict() [2/2]

edm::BaseWithDict::BaseWithDict ( TBaseClass *  baseClass)
explicit

Definition at line 11 of file BaseWithDict.cc.

11 : baseClass_(baseClass) {}

Member Function Documentation

◆ isPublic()

bool edm::BaseWithDict::isPublic ( ) const

Definition at line 13 of file BaseWithDict.cc.

13 { return baseClass_->Property() & kIsPublic; }

References baseClass_.

◆ name()

std::string edm::BaseWithDict::name ( void  ) const

Definition at line 15 of file BaseWithDict.cc.

15 { return baseClass_->GetName(); }

References baseClass_.

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

◆ offset()

size_t edm::BaseWithDict::offset ( ) const

Definition at line 19 of file BaseWithDict.cc.

19 { return static_cast<size_t>(baseClass_->GetDelta()); }

References baseClass_.

◆ typeOf()

TypeWithDict edm::BaseWithDict::typeOf ( ) const

Definition at line 17 of file BaseWithDict.cc.

17 { return TypeWithDict(baseClass_->GetClassPointer()); }

References baseClass_.

Member Data Documentation

◆ baseClass_

TBaseClass* edm::BaseWithDict::baseClass_
private

Definition at line 20 of file BaseWithDict.h.

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

edm::BaseWithDict::baseClass_
TBaseClass * baseClass_
Definition: BaseWithDict.h:20