00001 /************************************************************************** 00002 *** 00003 *** Copyright (c) 1995-2000 Regents of the University of California, 00004 *** Andrew E. Caldwell, Andrew B. Kahng and Igor L. Markov 00005 *** Copyright (c) 2000-2004 Regents of the University of Michigan, 00006 *** Saurabh N. Adya, Jarrod A. Roy and Igor L. Markov 00007 *** 00008 *** Contact author(s): abk@cs.ucsd.edu, imarkov@umich.edu 00009 *** Original Affiliation: UCLA, Computer Science Department, 00010 *** Los Angeles, CA 90095-1596 USA 00011 *** 00012 *** Permission is hereby granted, free of charge, to any person obtaining 00013 *** a copy of this software and associated documentation files (the 00014 *** "Software"), to deal in the Software without restriction, including 00015 *** without limitation 00016 *** the rights to use, copy, modify, merge, publish, distribute, sublicense, 00017 *** and/or sell copies of the Software, and to permit persons to whom the 00018 *** Software is furnished to do so, subject to the following conditions: 00019 *** 00020 *** The above copyright notice and this permission notice shall be included 00021 *** in all copies or substantial portions of the Software. 00022 *** 00023 *** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00024 *** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 00025 *** OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 00026 *** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 00027 *** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT 00028 *** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 00029 *** THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00030 *** 00031 *** 00032 ***************************************************************************/ 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00045 00046 /* This file to be included into all projects in the group 00047 00048 970723 iml Changed #include <bool.h> to #include <stl_config.h> 00049 for STL 2.01 compliance 00050 970808 mro added pragmas to get rid of MSVC++ warnings 00051 970820 ilm stl_config.h is now not included on MS VC++ 00052 */ 00053 #ifndef _ABKCOMMON_H_ 00054 #define _ABKCOMMON_H_ 00055 00056 #include <stdlib.h> 00057 00058 /* #ifdef _MSC_VER 00059 #pragma warning (disable : 4786) // will be defaulted at the end of this file 00060 #endif 00061 */ 00062 /* This has been commented out because it should go 00063 into stlcomp.h (see below) IF you use MS VC++. 00064 Add the following three lines right after the 00065 #ifndef __STLCOMP_H #define __STLCOMP_H pair: 00066 00067 #pragma warning(disable:4227) 00068 #pragma warning(disable:4804) 00069 #pragma warning(disable:4786) 00070 */ 00071 /* 00072 #ifndef _MSC_VER 00073 // Includes from STL for min/max/abs/bool/true/false/etc 00074 #include <stl_config.h> 00075 #endif 00076 */ 00077 00078 /* Added by Xiaojian 08-12-02 */ 00079 #ifdef _MSC_VER 00080 #ifndef rint 00081 #define rint(a) floor((a)+0.5) 00082 #endif 00083 #endif 00084 00085 #include <utility> 00086 00087 #include "abkstring.h" 00088 #include "abkconst.h" 00089 #include "abktypes.h" 00090 #include "abkassert.h" 00091 #include "abktempl.h" 00092 #include "infolines.h" 00093 #include "abkcpunorm.h" 00094 #include "paramproc.h" 00095 #include "abktimer.h" 00096 #include "abkrand.h" 00097 #include "abkio.h" 00098 //#include "pathDelims.h" 00099 #include "verbosity.h" 00100 #include "abkfunc.h" 00101 00102 /* #ifdef _MSC_VER 00103 #pragma warning (default : 4786) 00104 #endif 00105 */ 00106 #endif