Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/DataType/Const.hpp

Go to the documentation of this file.
00001 #ifndef __J2K__CONST_HPP__
00002 #define __J2K__CONST_HPP__
00003 
00004 #include <assert.h>
00005 
00006 #include <iostream.h>       // Standard C++ Input/Output Stream library
00007 
00008 #include <stdio.h>          // Standard C Input/Output library
00009 #include <stdlib.h>         // Standard C library
00010 #include <string.h>         // Standard C String library
00011 
00012 #include <math.h>           // Math function library
00013 
00014 #include <time.h>           // Time library
00015 #include <sys/timeb.h>
00016 
00017 #ifdef DOS
00018     typedef int bool;       // If bool type doesn't exist
00019     #define false  0 
00020     #define true   1 
00021 #endif
00022 
00023     #define FALSE  false    // Define CAPITAL bool constant
00024     #define TRUE   true 
00025 
00026     typedef  unsigned long  ulong;
00027     typedef  unsigned int   uint;
00028 
00029     typedef  long           Elem;
00030       
00031 
00032 // Required error message:
00033 // Constant pointer pointing to some constant data:
00034 const char* const msgS_IDFound    = "This was the element found when searching on its ID.";
00035 const char* const msgS_IDnotFound = "No element with this ID was found.";
00036 const char* const msgC_IDnotFound = "No change was made because no element with this ID was found.";
00037 const char* const msgI_IDexist    = "This record was not inserted because an element with the same ID already existed";
00038 const char* const msgD_IDnotFound = "The ID of no element matched the ID of this record, so nothing was deleted.";
00039 const char* const msgInvalidOp    = "This record contains an impermissible operation code.";
00040 const char* const msgCompare      = "The average number of ID comparisons for ";
00041 
00042 const char* const msgTotalCmp     = "The total number of ID comparisons for";
00043 const char* const msgAvgCmp       = "The average number of ID comparisons for";
00044 
00045 const int LINE_SIZE = 79;
00046 
00047 // Required error message:
00048 // Constant pointer pointing to some constant data:
00049 const char* const msg_OK  = 
00050    "The parentheses in the above expression are balanced and properly nested.\n\n";
00051 
00052 const char* const msg_BAD = 
00053    "The offending parenthesis in the above expression is above the question mark.\n\n\n";
00054 
00055 #endif  // Const.hpp

Generated on Sun Oct 14 18:46:17 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001