CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
View.cc
Go to the documentation of this file.
2 
3 namespace edm
4 {
5  //------------------------------------------------------------------
6  // Implementation of ViewBase.
7  //------------------------------------------------------------------
8 
9 
11 
12  std::unique_ptr<ViewBase>
14  {
15  auto p = doClone();
16  assert(typeid(*p)==typeid(*this) && "doClone() incorrectly overriden");
17  return p;
18  }
19 
21 
23 
24 }
assert(m_qm.get())
virtual std::unique_ptr< ViewBase > doClone() const =0
std::unique_ptr< ViewBase > clone() const
Definition: View.cc:13
ViewBase()
Definition: View.cc:20
virtual ~ViewBase()
Definition: View.cc:10