Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members  

C:/marty/b3/wxTest/include/wxTest/guards.h

Go to the documentation of this file.
00001 
00002 // Name:        guards.h
00003 // Purpose:     Prevent copy construction and assignment.
00004 // Author:      Marty Saxton
00005 // Modified by:
00006 // Created:     10/27/2001
00007 // RCS-ID:      $Id: guards.h,v 1.2 2001/11/09 02:18:32 marty Exp $
00008 // Copyright:   (c) Marty Saxton, Thundercow Software
00009 // Licence:     wxWindows license
00011 
00012 
00013 #ifndef WXTEST_GUARDS_H
00014 #define WXTEST_GUARDS_H
00015 
00016 // Prevent copy construction and assignment for a class
00017 #define REFERENCEOBJECT(className) \
00018 private: \
00019                className (const className& other); \
00020     className& operator= (const className& other); 
00021 
00022 #endif

ThunderCow Software (c) 2001 Marty Saxton, ThunderCow Software. Generated on Sat Nov 17 14:08:31 2001 for wxTest by Doxygen 1.2.11