Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygentypeinfo.h
Go to the documentation of this file.
00001 /* 00002 * Copyright (c) 1999 00003 * Boris Fomitchev 00004 * 00005 * This material is provided "as is", with absolutely no warranty expressed 00006 * or implied. Any use is at your own risk. 00007 * 00008 * Permission to use or copy this software for any purpose is hereby granted 00009 * without fee, provided the above notices are retained on all copies. 00010 * Permission to modify the code and to distribute modified code is granted, 00011 * provided the above notices are retained, and a notice that the code was 00012 * modified is included with the above copyright notice. 00013 * 00014 */ 00015 00016 // DMC has hardcoded inclusion of typeinfo.h at the begining of any translation unit. 00017 // So inclusion of this header will directly reference the native header. This is not 00018 // a problem as typeinfo.h is neither a C nor C++ Standard header, this header should 00019 // never be used in user code. 00020 #if defined (__DMC__) 00021 // We define _STLP_OUTERMOST_HEADER_ID to signal to other STLport headers that inclusion 00022 // is done from native typeinfo.h (see exception header). 00023 # define _STLP_OUTERMOST_HEADER_ID 0x874 00024 # include <../include/typeinfo.h> 00025 # undef _STLP_OUTERMOST_HEADER_ID 00026 #else 00027 # ifndef _STLP_OLDSTD_typeinfo 00028 # define _STLP_OLDSTD_typeinfo 00029 00030 # ifndef _STLP_OUTERMOST_HEADER_ID 00031 # define _STLP_OUTERMOST_HEADER_ID 0x874 00032 # include <stl/_prolog.h> 00033 # endif 00034 00035 # ifndef _STLP_NO_TYPEINFO 00036 00037 # if defined (__GNUC__) 00038 # undef _STLP_OLDSTD_typeinfo 00039 # include <typeinfo> 00040 # define _STLP_OLDSTD_typeinfo 00041 # else 00042 # if defined (_STLP_HAS_INCLUDE_NEXT) 00043 # include_next <typeinfo.h> 00044 # elif !defined (__BORLANDC__) || (__BORLANDC__ < 0x580) 00045 # include _STLP_NATIVE_CPP_RUNTIME_HEADER(typeinfo.h) 00046 # else 00047 # include _STLP_NATIVE_CPP_C_HEADER(typeinfo.h) 00048 # endif 00049 # if defined (__BORLANDC__) && (__BORLANDC__ >= 0x580) || \ 00050 defined (__DMC__) 00051 using std::type_info; 00052 using std::bad_typeid; 00053 using std::bad_cast; 00054 # endif 00055 # endif 00056 00057 // if <typeinfo> already included, do not import anything 00058 00059 # if defined (_STLP_USE_OWN_NAMESPACE) && !(defined (_STLP_TYPEINFO) && !defined (_STLP_NO_NEW_NEW_HEADER)) 00060 00061 _STLP_BEGIN_NAMESPACE 00062 00063 using /*_STLP_VENDOR_EXCEPT_STD */ :: type_info; 00064 # if !(defined(__MRC__) || (defined(__SC__) && !defined(__DMC__))) 00065 using /* _STLP_VENDOR_EXCEPT_STD */ :: bad_typeid; 00066 # endif 00067 00068 using /* _STLP_VENDOR_EXCEPT_STD */ :: bad_cast; 00069 00070 _STLP_END_NAMESPACE 00071 00072 # endif /* _STLP_OWN_NAMESPACE */ 00073 00074 # endif /* _STLP_NO_TYPEINFO */ 00075 00076 # if (_STLP_OUTERMOST_HEADER_ID == 0x874) 00077 # include <stl/_epilog.h> 00078 # undef _STLP_OUTERMOST_HEADER_ID 00079 # endif 00080 00081 # endif /* _STLP_OLDSTD_typeinfo */ 00082 00083 #endif /* __DMC__ */ 00084 00085 // Local Variables: 00086 // mode:C++ 00087 // End: Generated on Sun May 27 2012 04:29:50 for ReactOS by
1.7.6.1
|