Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

jAPIdefinitions.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------
00002 #ifndef jAPIdefinitionsH
00003 #define jAPIdefinitionsH
00004 //---------------------------------------------------------------------------
00005 
00006 #define TRY    try {
00007 #define CATCH  } catch(...)
00008 #define jDELETE(a) if (a) { delete (a); a = NULL; }
00009 
00010 #define jMIN(a, b)  (((a) < (b)) ? (a) : (b))
00011 #define jMAX(a, b)  (((a) > (b)) ? (a) : (b))
00012 #define jXOR(a, b)  (((~(a))|(~(b)))&((a)|(b)));
00013 
00014 #define jPI_SYMBOL 3.141592654
00015 
00016 
00017 #endif

Generated on Sat Nov 15 10:52:34 2003 for JAPI by doxygen 1.3.4