Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

hyp.def.h

00001 /*
00002 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00003  Hyperion Pattern.
00004  Hyperion Pattern is a part of the Hyperion Project.
00005 ----------------------------------------------------------
00006  Copyright (c) 2001 Pierre Rebours.
00007 
00008  This library is free software; you can redistribute it and/or
00009  modify it under the terms of the GNU Lesser General Public
00010  License as published by the Free Software Foundation; either
00011  version 2.1 of the License, or (at your option) any later version.
00012 
00013  This library is distributed in the hope that it will be useful,
00014  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  
00017  See hyp.license.txt file for more information about the license.
00018  
00019  Web: http://lagrandeporte.multimania.com/hyperion
00020  Email: amtycho@yahoo.fr
00021 ----------------------------------------------------------
00022  CVS
00023  $Log$
00024 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00025 */
00026 
00027 #ifndef _hyp_ker_def_h
00028 #define _hyp_ker_def_h
00029 
00030 
00036 #ifdef WIN32
00037 
00041         #define hyp_WIN32
00042 
00043         #ifdef _DEBUG
00044                 #define hyp_DEBUG
00045         #else
00046 
00050                 #define hyp_RELEASE
00051         #endif
00052 #else
00053         #error Only Win32 Plateform is supported. Portage on Linux should be easy ;-)
00054 #endif
00055 
00056 
00062 #ifdef _MSC_VER
00063 
00066         #define hyp_VC _MSC_VER    
00067 #else
00068         #error Only Visual C++ 6.0 is available.
00069 #endif
00070 
00071 
00080 #ifdef hyp_NO_CALL_CONV
00081         #define hyp_CALL_CONV
00082         #pragma message( "hyp_NO_CALL_CONV activated" )
00083 #else
00084         #define hyp_CALL_CONV __stdcall
00085 #endif
00086 
00087 
00093 
00094 #define hyp_NAMESPACE_BEGIN( n )                    \
00095         namespace n {
00096 
00097 #define hyp_NAMESPACE_END( n )                      \
00098         }
00099 
00101 #define hyp_NAMESPACE_BEGIN_HYP                     \
00102         hyp_NAMESPACE_BEGIN(hyp)
00103 
00104 #define hyp_NAMESPACE_END_HYP                       \
00105         hyp_NAMESPACE_END(hyp)
00106 
00107 
00108 
00114 #ifdef hyp_WIN32
00115 
00116         #define hyp_EXPORT_DLL __declspec( dllexport )
00117 
00118         #define hyp_IMPORT_DLL __declspec( dllimport )
00119 #endif
00120 
00121 
00122 //-------------------------------------------------------
00123 // Inclusion of the standard libraries
00124 //-------------------------------------------------------
00125 
00126 #include<vector>
00127 #include<list>
00128 #include<iomanip>
00129 #include<string>
00130 #include<sstream>
00131 #include<fstream>
00132 #include<map>
00133 #include<cassert>
00134 #include<set>
00135 #include<memory>
00136 
00137 
00138 #ifdef hyp_USE_VALARRAY
00139 #include<valarray>
00140 #endif
00141 
00142 
00143 #ifndef hyp_NO_INCLUDE_SYS_HEADER
00144 
00145 //-------------------------------------------------------
00146 // Inclusion of the system libraries
00147 //-------------------------------------------------------
00148         #ifdef hyp_WIN32
00149                 #define WIN32_LEAN_AND_MEAN // exclude rarely-used stuff from Windows headers
00150                 #include<windows.h>
00151                 #include<winnt.h>
00152                 #include<windef.h>
00153                 #include<winbase.h>
00154         #endif
00155 
00156 #endif
00157 
00158 
00159 #endif

Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.