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

typedefs.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 *       FILE:     TYPEDEFS.H
00003 *       AUTHOR:   CAL
00004 *       DATE:     18 April 1993
00005 *       MODIFIED: 30 April 1993 (4:30 pm) -Otis
00006 *       PURPOSE:
00007 *         Useful type definitions
00008 ***********************************************************************/
00009 
00010 #ifndef _TYPEDEFS_H
00011 #define _TYPEDEFS_H
00012 
00013 typedef unsigned int    word;
00014 typedef unsigned short  vect;
00015 typedef unsigned char   byte;
00016 
00017 enum bool { False, True, No=0, Yes, Off=0, On };
00018 enum mode { Taxi, Bus, Subway };
00019 
00020 inline bool between(int node, int min, int max)
00021   { return ( (node >= min) && (node <= max) ) ? True : False; }
00022 
00023 inline int max (int a, int b)
00024 {
00025   return (a>b)? a : b;
00026 }
00027 
00028 #endif

Generated on Sun Jul 6 23:07:16 2003 for Scotland Yard by doxygen1.2.15