noncopyable Class Reference

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

#include <cobject.h>

Inheritance diagram for noncopyable:
cGate cHasher cModelChangeNotification cNoncopyableOwnedObject cRegistrationList cSimulation cPathChangeNotification cPostDisplayStringChangeNotification cPostGateAddNotification cPostGateConnectNotification cPostGateDeleteNotification cPostGateDisconnectNotification cPostGateVectorResizeNotification cPostModuleAddNotification cPostModuleDeleteNotification cPostModuleReparentNotification cPostParameterChangeNotification cPreDisplayStringChangeNotification cPreGateAddNotification cPreGateConnectNotification cPreGateDeleteNotification cPreGateDisconnectNotification cPreGateVectorResizeNotification cPreModuleAddNotification cPreModuleDeleteNotification cPreModuleReparentNotification cPreParameterChangeNotification cClassDescriptor cComponentType cConfigOption cDefaultList cMessagePrinter cNEDFunction cNEDMathFunction cObjectFactory cOutVector cResultFilterDescriptor cResultRecorderDescriptor cWatchBase

List of all members.


Detailed 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 NULL;} in classes directly subclassing from noncopyable, but this is not needed in classes derived from them. For example, cDefaultList 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-2003. 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.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:30 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3