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

D:/new/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_8h-source.html,v 1.1.1.1 2001/11/10 19:00:33 thundercow 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 10 12:07:18 2001 for wxTest by Doxygen 1.2.11