ftkstl.h

00001 //***************************************************************************************
00002 //
00003 // File supervisor: Softimage 3D Games & 3D Bridge team
00004 //
00005 // (c) Copyright 2001-2002 Avid Technology, Inc. . All rights reserved.
00006 //
00007 //***************************************************************************************
00008 
00009 /****************************************************************************************
00010 THIS CODE IS PUBLISHED AS A SAMPLE ONLY AND IS PROVIDED "AS IS".
00011 IN NO EVENT SHALL SOFTIMAGE, AVID TECHNOLOGY, INC. AND/OR THEIR RESPECTIVE
00012 SUPPLIERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
00013 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
00014 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
00015 CONNECTION WITH THE USE OR PERFORMANCE OF THIS CODE .
00016 
00017 COPYRIGHT NOTICE. Copyright © 1999-2002 Avid Technology Inc. . All rights reserved. 
00018 
00019 SOFTIMAGE is a registered trademark of Avid Technology Inc. or its subsidiaries 
00020 or divisions. Windows NT is a registered trademark of Microsoft Corp. All other
00021 trademarks contained herein are the property of their respective owners. 
00022 ****************************************************************************************/
00023 
00024 
00025 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00026 #pragma once
00027 #endif
00028 
00029 //*********************************************************************************************
00030 //
00031 //
00032 //*********************************************************************************************
00033 
00034 #ifndef __DSSTLMFC_H__
00035 #define __DSSTLMFC_H__
00036 
00037 // resolve min/max conflict between windef.h and STL
00038 #ifdef min
00039     #undef min
00040     #define MIN_WAS_DEFINED
00041 #endif
00042 #ifdef max
00043     #undef max
00044     #define MAX_WAS_DEFINED
00045 #endif
00046 
00047 // To avoid including <bool.h>
00048 #ifndef _BOOL
00049 #define _BOOL
00050 #endif
00051 
00052 // C++ header files
00053 #include <new.h>
00054 #include <iostream.h>
00055 #include <fstream.h>
00056 
00057 
00058 //******************************************************************************
00059 //
00060 // Use the SGI Adapted Port STL Implementation
00061 //
00062 //******************************************************************************
00063 
00064 #include <algorithm>
00065 #include <deque>
00066 #include <functional>
00067 #include <iterator>
00068 #include <list>
00069 #include <map>
00070 #include <queue>
00071 #include <set>
00072 #include <stack>
00073 #include <vector>
00074 
00075 // some backwards compatibility
00076 #define __BEGIN_STL_NAMESPACE   __STL_BEGIN_NAMESPACE 
00077 #define __END_STL_NAMESPACE     __STL_END_NAMESPACE 
00078 
00079 // use only with the unix STL
00080 #ifdef sgi
00081 // A more user friendly define for the namespace name
00082 # define _STL             std
00083 // They changed the namespace define from std to __STD
00084 # define __STL            __STD
00085 # define std  __STD
00086 #endif
00087 
00088 // warning, an "#include <math.h>" unref the macros min and max
00089 #define max(a,b)        (((a) > (b)) ? (a) : (b))
00090 #define min(a,b)        (((a) < (b)) ? (a) : (b))
00091 
00092 // Done include STL headers
00093 #define __STL_OUTERMOST_HEADER_ID 0
00094 
00095 #endif /* __DSSTLMFC_H__ */