CMS 3D CMS Logo

edm::ViewBase Class Reference

#include <DataFormats/Common/interface/View.h>

Inheritance diagram for edm::ViewBase:

edm::View< T >

List of all members.

Public Member Functions

ViewBaseclone () const
virtual ~ViewBase ()

Protected Member Functions

virtual ViewBasedoClone () const =0
void swap (ViewBase &other)
 ViewBase (ViewBase const &)
 ViewBase ()


Detailed Description

Definition at line 42 of file View.h.


Constructor & Destructor Documentation

edm::ViewBase::~ViewBase (  )  [virtual]

Definition at line 10 of file View.cc.

00010 { }

edm::ViewBase::ViewBase (  )  [protected]

Definition at line 20 of file View.cc.

00020 {}

edm::ViewBase::ViewBase ( ViewBase const &   )  [protected]

Definition at line 22 of file View.cc.

00022 { }


Member Function Documentation

ViewBase * edm::ViewBase::clone ( void   )  const

Definition at line 13 of file View.cc.

References doClone(), and p.

00014   {
00015     ViewBase* p = doClone();
00016     assert(typeid(*p)==typeid(*this) && "doClone() incorrectly overriden");
00017     return p;
00018   }

virtual ViewBase* edm::ViewBase::doClone (  )  const [protected, pure virtual]

Implemented in edm::View< T >, edm::View< reco::Jet >, edm::View< reco::RecoCandidate >, edm::View< reco::Track >, edm::View< RefType::value_type >, and edm::View< reco::CaloCluster >.

Referenced by clone().

void edm::ViewBase::swap ( ViewBase other  )  [inline, protected]

Definition at line 52 of file View.h.

00052 {} // Nothing to swap


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:44:47 2009 for CMSSW by  doxygen 1.5.4