Main Page
Namespaces
Classes
Package Documentation
DataFormats
Common
src
View.cc
Go to the documentation of this file.
1
#include "
DataFormats/Common/interface/View.h
"
2
#include <typeinfo>
3
4
namespace
edm
5
{
6
//------------------------------------------------------------------
7
// Implementation of ViewBase.
8
//------------------------------------------------------------------
9
10
11
ViewBase::~ViewBase
() { }
12
13
std::unique_ptr<ViewBase>
14
ViewBase::clone
()
const
15
{
16
auto
p
=
doClone
();
17
assert(
typeid
(*(
p
.get()))==
typeid
(*this) &&
"doClone() incorrectly overriden"
);
18
return
p
;
19
}
20
21
ViewBase::ViewBase
() {}
22
23
ViewBase::ViewBase
(
ViewBase
const
&) { }
24
25
}
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::ViewBase::doClone
virtual std::unique_ptr< ViewBase > doClone() const =0
edm::ViewBase::clone
std::unique_ptr< ViewBase > clone() const
Definition:
View.cc:14
View.h
edm::ViewBase::ViewBase
ViewBase()
Definition:
View.cc:21
edm::ViewBase::~ViewBase
virtual ~ViewBase()
Definition:
View.cc:11
edm::ViewBase
Definition:
View.h:43
edm
HLT enums.
Definition:
AlignableModifier.h:17
Generated for CMSSW Reference Manual by
1.8.11