OpenMesh::Utils::Noncopyable Class Reference

#include <Noncopyable.hh>

Inheritance diagram for OpenMesh::Utils::Noncopyable:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Noncopyable ()

Private Member Functions

 Noncopyable (const Noncopyable &)
 Prevent access to copy constructor.
const Noncopyableoperator= (const Noncopyable &)
 Prevent access to assignment operator.

Detailed Description

This class demonstrates the non copyable idiom. In some cases it is important an object can't be copied. Deriving from Noncopyable makes sure all relevant constructor and operators are made inaccessable, for public AND derived classes.

Definition at line 69 of file Noncopyable.hh.


Constructor & Destructor Documentation

OpenMesh::Utils::Noncopyable::Noncopyable (  )  [inline]

Definition at line 72 of file Noncopyable.hh.

OpenMesh::Utils::Noncopyable::Noncopyable ( const Noncopyable  )  [private]

Prevent access to copy constructor.


Member Function Documentation

const Noncopyable& OpenMesh::Utils::Noncopyable::operator= ( const Noncopyable  )  [private]

Prevent access to assignment operator.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:21 2013