Protected Member Functions | Private Member Functions

cmtk::CannotBeCopied Class Reference
[cmtkSystem Library]

Base class to prevent copying of derived classes. More...

#include <cmtkCannotBeCopied.h>

Inheritance diagram for cmtk::CannotBeCopied:
Inheritance graph
[legend]

List of all members.

Protected Member Functions

 CannotBeCopied ()
 Default constructor.
 ~CannotBeCopied ()
 Default destructor.

Private Member Functions

 CannotBeCopied (const CannotBeCopied &)
 Undefined copy constructor.
CannotBeCopiedoperator= (const CannotBeCopied &)
 Undefined assignment operator.

Detailed Description

Base class to prevent copying of derived classes.

This class can be inherited by derived classes and will thus prevent the compiler from generating default copy constructor and assignment operator (see Effective C++, 3rd ed.)

Definition at line 48 of file cmtkCannotBeCopied.h.


Constructor & Destructor Documentation

cmtk::CannotBeCopied::CannotBeCopied (  ) [inline, protected]

Default constructor.

Definition at line 52 of file cmtkCannotBeCopied.h.


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