Base class to prevent copying of derived classes. More...
#include <cmtkCannotBeCopied.h>
Protected Member Functions | |
CannotBeCopied () | |
Default constructor. | |
~CannotBeCopied () | |
Default destructor. | |
Private Member Functions | |
CannotBeCopied (const CannotBeCopied &) | |
Undefined copy constructor. | |
CannotBeCopied & | operator= (const CannotBeCopied &) |
Undefined assignment operator. |
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.
cmtk::CannotBeCopied::CannotBeCopied | ( | ) | [inline, protected] |
Default constructor.
Definition at line 52 of file cmtkCannotBeCopied.h.