CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions
edm::ViewBase Class Referenceabstract

#include <View.h>

Inheritance diagram for edm::ViewBase:
edm::View< T > edm::View< reco::Candidate > edm::View< reco::Jet > edm::View< reco::PFCandidate > edm::View< reco::PFTau >

Public Member Functions

std::unique_ptr< ViewBaseclone () const
 
virtual ~ViewBase ()
 

Protected Member Functions

virtual std::unique_ptr< ViewBasedoClone () const =0
 
ViewBaseoperator= (ViewBase const &)
 
void swap (ViewBase &)
 
 ViewBase ()
 
 ViewBase (ViewBase const &)
 

Detailed Description

Definition at line 38 of file View.h.

Constructor & Destructor Documentation

edm::ViewBase::~ViewBase ( )
virtual

Definition at line 10 of file View.cc.

10 { }
edm::ViewBase::ViewBase ( )
protected

Definition at line 20 of file View.cc.

20 {}
edm::ViewBase::ViewBase ( ViewBase const &  )
protected

Definition at line 22 of file View.cc.

22 { }

Member Function Documentation

std::unique_ptr< ViewBase > edm::ViewBase::clone ( void  ) const

Definition at line 13 of file View.cc.

References assert(), doClone(), and AlCaHLTBitMon_ParallelJobs::p.

Referenced by MuonsFromRefitTracksProducer::produce().

14  {
15  auto p = doClone();
16  assert(typeid(*p)==typeid(*this) && "doClone() incorrectly overriden");
17  return p;
18  }
assert(m_qm.get())
virtual std::unique_ptr< ViewBase > doClone() const =0
virtual std::unique_ptr<ViewBase> edm::ViewBase::doClone ( ) const
protectedpure virtual
ViewBase& edm::ViewBase::operator= ( ViewBase const &  )
protected
void edm::ViewBase::swap ( ViewBase )
inlineprotected

Definition at line 48 of file View.h.

48 {} // Nothing to swap