CMS 3D CMS Logo

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 43 of file View.h.

Constructor & Destructor Documentation

edm::ViewBase::~ViewBase ( )
virtual

Definition at line 11 of file View.cc.

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

Definition at line 21 of file View.cc.

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

Definition at line 23 of file View.cc.

23 { }

Member Function Documentation

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

Definition at line 14 of file View.cc.

References doClone(), and AlCaHLTBitMon_ParallelJobs::p.

Referenced by MuonsFromRefitTracksProducer::produce().

15  {
16  auto p = doClone();
17  assert(typeid(*(p.get()))==typeid(*this) && "doClone() incorrectly overriden");
18  return p;
19  }
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 53 of file View.h.

53 {} // Nothing to swap