Main Page
Namespaces
Classes
Package Documentation
FWCore
Utilities
src
BaseWithDict.cc
Go to the documentation of this file.
1
#include "
FWCore/Utilities/interface/BaseWithDict.h
"
2
3
#include "
FWCore/Utilities/interface/TypeWithDict.h
"
4
5
#include "TBaseClass.h"
6
7
namespace
edm
{
8
9
BaseWithDict::BaseWithDict
() : baseClass_(
nullptr
) {
10
}
11
12
BaseWithDict::BaseWithDict
(TBaseClass* baseClass) :
baseClass_
(baseClass) {
13
}
14
15
bool
16
BaseWithDict::isPublic
()
const
{
17
return
baseClass_
->Property() & kIsPublic;
18
}
19
20
std::string
21
BaseWithDict::name
()
const
{
22
return
baseClass_
->GetName();
23
}
24
25
TypeWithDict
26
BaseWithDict::typeOf
()
const
{
27
return
TypeWithDict
(
baseClass_
->GetClassPointer());
28
}
29
30
size_t
31
BaseWithDict::offset
()
const
{
32
return
static_cast<
size_t
>
(
baseClass_
->GetDelta());
33
}
34
35
}
// namespace edm
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
nullptr
#define nullptr
edm::BaseWithDict::offset
size_t offset() const
Definition:
BaseWithDict.cc:31
edm::BaseWithDict::BaseWithDict
BaseWithDict()
Definition:
BaseWithDict.cc:9
TypeWithDict.h
edm::BaseWithDict::typeOf
TypeWithDict typeOf() const
Definition:
BaseWithDict.cc:26
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::TypeWithDict
Definition:
TypeWithDict.h:38
BaseWithDict.h
edm::BaseWithDict::name
std::string name() const
Definition:
BaseWithDict.cc:21
edm::BaseWithDict::isPublic
bool isPublic() const
Definition:
BaseWithDict.cc:16
edm::BaseWithDict::baseClass_
TBaseClass * baseClass_
Definition:
BaseWithDict.h:21
Generated for CMSSW Reference Manual by
1.8.11