OMNeT++ Simulation Library  6.0.3
noncopyable Class Reference

#include <cobject.h>

Description

Utility class, to make it impossible to call the operator= and copy constructor of any class derived from it.

NOTE: dup() must be redefined as {copyNotSupported(); return nullptr;} in classes directly subclassing from noncopyable, but this is not needed in classes derived from them. For example, cSoftOwner is noncopyable, so cModule and cSimpleModule no longer need to redefine dup().

This class is from boost, which bears the following copyright:

(C) Copyright Boost.org 1999-2015. Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.

Inheritance diagram for noncopyable:
cFingerprintCalculator cGate cHasher cIEventlogManager cIOutputScalarManager cIOutputVectorManager cISnapshotManager cMatchExpression cModelChangeNotification cNoncopyableOwnedObject cRegistrationList cSimulation cXMLElement

The documentation for this class was generated from the following file: