Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

utility.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define PRIVATE_COPY(thisclass)   private: thisclass (const thisclass & copy)
#define PRIVATE_ASSIGN(thisclass)   private: const thisclass& operator=( const thisclass & assign)
#define NO_COPY(thisclass)   PRIVATE_COPY( thisclass ); PRIVATE_ASSIGN( thisclass)


Detailed Description

Various macro's to ease programming

Definition in file utility.h.


Define Documentation

#define NO_COPY( thisclass )   PRIVATE_COPY( thisclass ); PRIVATE_ASSIGN( thisclass)
 

Makes sure nothing can be copied. The functions are not defined and not public.

Definition at line 37 of file utility.h.

#define PRIVATE_ASSIGN( thisclass )   private: const thisclass& operator=( const thisclass & assign)
 

Adds a private assignment operator. This way, we avoid idiotic default assignments

Definition at line 33 of file utility.h.

#define PRIVATE_COPY( thisclass )   private: thisclass (const thisclass & copy)
 

Adds a private copy constructor. This way, we avoid idiotic default copiers

Definition at line 28 of file utility.h.


To get the sources or tarballs, please go to SourceForge or you can use the CVS repository.

More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be

Last update: June 2002.


Looking for Open Source? Check out SourceForge Logo !