gccxml_gem 0.9.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +84 -0
- data/bin/gccxml.exe +0 -0
- data/bin/gccxml_cc1plus.exe +0 -0
- data/bin/gccxml_vcconfig.bat +52 -0
- data/bin/gccxml_vcconfig.exe +0 -0
- data/gccxml.rb +57 -0
- data/share/doc/gccxml-0.9/Copyright.txt +55 -0
- data/share/doc/gccxml-0.9/gccxml.html +168 -0
- data/share/doc/gccxml-0.9/gccxml.txt +293 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cfloat +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/climits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cmath +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/complex +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/complex.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstddef +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdio +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdlib +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ctime +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cwchar +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/cwctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/deque +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/deque.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/exception +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/exception.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/function +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/function.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/functional +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/gccxml_typeinfo.h +146 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ios +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ios.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/istream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/istream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/limits +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/limits.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/list +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/list.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/locale +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/locale.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/map +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/map.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/memory +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/memory.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/new +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/new.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/queue +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/queue.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/codecvt +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/collate +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/ctype +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iosbase +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iotraits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iterator +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/lochelp +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locimpl +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locvector +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/messages +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/money +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numbrw +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numeral +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwdispatch.h +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwlocale +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwstderr_macros.h +64 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/string_ref +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/time +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/traits +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/tree +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/usefacet +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/valimp +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/vendor +1 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/set +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/set.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stack +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stack.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/string +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/string.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/utility +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/utility.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/vector +7 -0
- data/share/gccxml-0.9/Borland/5.5/Wrappers/vector.h +7 -0
- data/share/gccxml-0.9/Borland/5.5/except.h +154 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_fstream.h +431 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_new.h +166 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_valarray.h +786 -0
- data/share/gccxml-0.9/Borland/5.5/gccxml_vector.h +1457 -0
- data/share/gccxml-0.9/Borland/5.5/io.h +352 -0
- data/share/gccxml-0.9/Borland/5.5/oaidl.h +7006 -0
- data/share/gccxml-0.9/Borland/5.5/propidl.h +1477 -0
- data/share/gccxml-0.9/Borland/5.5/rw/locimpl.h +477 -0
- data/share/gccxml-0.9/Borland/5.5/rw/rwlocale.h +619 -0
- data/share/gccxml-0.9/Borland/5.5/stdarg.h +55 -0
- data/share/gccxml-0.9/Borland/5.5/valarray.cc +2883 -0
- data/share/gccxml-0.9/GCC/2.95/algorithm +76 -0
- data/share/gccxml-0.9/GCC/2.95/bitset +17 -0
- data/share/gccxml-0.9/GCC/2.95/cctype +24 -0
- data/share/gccxml-0.9/GCC/2.95/clocale +14 -0
- data/share/gccxml-0.9/GCC/2.95/cmath +33 -0
- data/share/gccxml-0.9/GCC/2.95/complex +38 -0
- data/share/gccxml-0.9/GCC/2.95/csetjmp +13 -0
- data/share/gccxml-0.9/GCC/2.95/csignal +14 -0
- data/share/gccxml-0.9/GCC/2.95/cstdarg +12 -0
- data/share/gccxml-0.9/GCC/2.95/cstddef +13 -0
- data/share/gccxml-0.9/GCC/2.95/cstdio +55 -0
- data/share/gccxml-0.9/GCC/2.95/cstdlib +66 -0
- data/share/gccxml-0.9/GCC/2.95/cstring +34 -0
- data/share/gccxml-0.9/GCC/2.95/ctime +24 -0
- data/share/gccxml-0.9/GCC/2.95/cwchar +65 -0
- data/share/gccxml-0.9/GCC/2.95/cwctype +31 -0
- data/share/gccxml-0.9/GCC/2.95/deque +19 -0
- data/share/gccxml-0.9/GCC/2.95/exception +20 -0
- data/share/gccxml-0.9/GCC/2.95/fstream +23 -0
- data/share/gccxml-0.9/GCC/2.95/functional +64 -0
- data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +1066 -0
- data/share/gccxml-0.9/GCC/2.95/iomanip +20 -0
- data/share/gccxml-0.9/GCC/2.95/iosfwd +20 -0
- data/share/gccxml-0.9/GCC/2.95/iostream +27 -0
- data/share/gccxml-0.9/GCC/2.95/iterator +39 -0
- data/share/gccxml-0.9/GCC/2.95/list +19 -0
- data/share/gccxml-0.9/GCC/2.95/map +20 -0
- data/share/gccxml-0.9/GCC/2.95/memory +21 -0
- data/share/gccxml-0.9/GCC/2.95/new +13 -0
- data/share/gccxml-0.9/GCC/2.95/numeric +15 -0
- data/share/gccxml-0.9/GCC/2.95/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/2.95/queue +20 -0
- data/share/gccxml-0.9/GCC/2.95/set +20 -0
- data/share/gccxml-0.9/GCC/2.95/sstream +24 -0
- data/share/gccxml-0.9/GCC/2.95/stack +19 -0
- data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +524 -0
- data/share/gccxml-0.9/GCC/2.95/std/complext.h +397 -0
- data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +92 -0
- data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +88 -0
- data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +170 -0
- data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +157 -0
- data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +96 -0
- data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +154 -0
- data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +156 -0
- data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +728 -0
- data/share/gccxml-0.9/GCC/2.95/std/straits.h +162 -0
- data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +1035 -0
- data/share/gccxml-0.9/GCC/2.95/stdexcept +17 -0
- data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +1057 -0
- data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +836 -0
- data/share/gccxml-0.9/GCC/2.95/stl_deque.h +1699 -0
- data/share/gccxml-0.9/GCC/2.95/stl_list.h +843 -0
- data/share/gccxml-0.9/GCC/2.95/stl_tree.h +1331 -0
- data/share/gccxml-0.9/GCC/2.95/stl_vector.h +828 -0
- data/share/gccxml-0.9/GCC/2.95/string +26 -0
- data/share/gccxml-0.9/GCC/2.95/strstream +23 -0
- data/share/gccxml-0.9/GCC/2.95/typeinfo +11 -0
- data/share/gccxml-0.9/GCC/2.95/utility +25 -0
- data/share/gccxml-0.9/GCC/2.95/valarray +52 -0
- data/share/gccxml-0.9/GCC/2.95/vector +19 -0
- data/share/gccxml-0.9/GCC/2.96/sstream +305 -0
- data/share/gccxml-0.9/GCC/3.0/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.1/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +500 -0
- data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +581 -0
- data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +1207 -0
- data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
- data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
- data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
- data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
- data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
- data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
- data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
- data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
- data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
- data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
- data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
- data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
- data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
- data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
- data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
- data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
- data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
- data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
- data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
- data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
- data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +664 -0
- data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
- data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
- data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +618 -0
- data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
- data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
- data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +182 -0
- data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
- data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
- data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
- data/share/gccxml-0.9/IBM/README +8 -0
- data/share/gccxml-0.9/IBM/find_flags +51 -0
- data/share/gccxml-0.9/IBM/find_flags_common +48 -0
- data/share/gccxml-0.9/Intel/find_flags +56 -0
- data/share/gccxml-0.9/Intel/pthread.h +16 -0
- data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
- data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
- data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
- data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
- data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
- data/share/gccxml-0.9/MIPSpro/find_flags +70 -0
- data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
- data/share/gccxml-0.9/Sun/5.8/Cstd.patch +156 -0
- data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
- data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
- data/share/gccxml-0.9/Sun/README +8 -0
- data/share/gccxml-0.9/Sun/find_flags +51 -0
- data/share/gccxml-0.9/Sun/find_flags_common +42 -0
- data/share/gccxml-0.9/VcInstall/vc6Include.patch +4560 -0
- data/share/gccxml-0.9/VcInstall/vc71Include.patch +921 -0
- data/share/gccxml-0.9/VcInstall/vc71PlatformSDK.patch +146 -0
- data/share/gccxml-0.9/VcInstall/vc7Include.patch +1139 -0
- data/share/gccxml-0.9/VcInstall/vc7PlatformSDK.patch +146 -0
- data/share/gccxml-0.9/VcInstall/vc8ExpressInclude.patch +1887 -0
- data/share/gccxml-0.9/VcInstall/vc8ExpressPlatformSDK.patch +252 -0
- data/share/gccxml-0.9/VcInstall/vc8Include.patch +1887 -0
- data/share/gccxml-0.9/VcInstall/vc8PlatformSDK.patch +252 -0
- data/share/gccxml-0.9/VcInstall/vc8sp1ExpressInclude.patch +1941 -0
- data/share/gccxml-0.9/VcInstall/vc8sp1Include.patch +1970 -0
- data/share/gccxml-0.9/VcInstall/vc8sp1PlatformSDK.patch +252 -0
- data/share/gccxml-0.9/VcInstall/vc9Include.patch +2047 -0
- data/share/gccxml-0.9/VcInstall/vc9PlatformSDK.patch +383 -0
- data/share/gccxml-0.9/VcInstall/vc9sp1Include.patch +2565 -0
- data/share/gccxml-0.9/VcInstall/vcCat.exe +0 -0
- data/share/gccxml-0.9/VcInstall/vcCat.readme.txt +3 -0
- data/share/gccxml-0.9/VcInstall/vcPatch.exe +0 -0
- data/share/gccxml-0.9/VcInstall/vcPatch.readme.txt +27 -0
- data/share/gccxml-0.9/VcInstall/vc_helper +1 -0
- data/share/gccxml-0.9/gccxml_config +2 -0
- data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
- data/share/man/man1/gccxml.1 +246 -0
- metadata +331 -0
@@ -0,0 +1,154 @@
|
|
1
|
+
/* except.h
|
2
|
+
|
3
|
+
Definitions for exception handling
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
/*
|
8
|
+
* C/C++ Run Time Library - Version 10.0
|
9
|
+
*
|
10
|
+
* Copyright (c) 1992, 2000 by Inprise Corporation
|
11
|
+
* All Rights Reserved.
|
12
|
+
*
|
13
|
+
*/
|
14
|
+
|
15
|
+
/* $Revision: 1.1 $ */
|
16
|
+
|
17
|
+
|
18
|
+
#ifndef __EXCEPT_H
|
19
|
+
#define __EXCEPT_H
|
20
|
+
#pragma option push -b -a8 -pc -Vx- -Ve- -w-inl -w-aus -w-sig
|
21
|
+
|
22
|
+
#ifndef __cplusplus
|
23
|
+
# error Must use C++ for except.h
|
24
|
+
#endif
|
25
|
+
|
26
|
+
#if !defined(___STDLIB_H)
|
27
|
+
# include <stdlib.h>
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#if !defined(__STD_EXCEPTION)
|
31
|
+
# include <exception>
|
32
|
+
#endif
|
33
|
+
|
34
|
+
// forward declare string
|
35
|
+
namespace std {
|
36
|
+
|
37
|
+
template<class charT> struct _RWSTDExportTemplate char_traits;
|
38
|
+
template<class T> class _RWSTDExportTemplate allocator;
|
39
|
+
|
40
|
+
template<class charT, class traits, class Allocator> class _RWSTDExportTemplate
|
41
|
+
basic_string;
|
42
|
+
|
43
|
+
typedef basic_string<char, char_traits<char>, allocator<char> > string;
|
44
|
+
|
45
|
+
}
|
46
|
+
|
47
|
+
#if !defined(RC_INVOKED)
|
48
|
+
|
49
|
+
#pragma pack(push, 1)
|
50
|
+
#pragma option push -Vo- // set standard C++ options
|
51
|
+
|
52
|
+
#if defined(__STDC__)
|
53
|
+
#pragma warn -nak
|
54
|
+
#endif
|
55
|
+
|
56
|
+
#endif /* !RC_INVOKED */
|
57
|
+
|
58
|
+
|
59
|
+
namespace std {
|
60
|
+
typedef void (_RTLENTRY *terminate_handler)();
|
61
|
+
typedef void (_RTLENTRY *unexpected_handler)();
|
62
|
+
|
63
|
+
|
64
|
+
terminate_handler _RTLENTRY set_terminate(terminate_handler);
|
65
|
+
unexpected_handler _RTLENTRY set_unexpected(unexpected_handler);
|
66
|
+
|
67
|
+
void _RTLENTRY terminate();
|
68
|
+
void _RTLENTRY unexpected();
|
69
|
+
bool _RTLENTRY uncaught_exception();
|
70
|
+
} // std
|
71
|
+
|
72
|
+
#ifndef __STDC__
|
73
|
+
// For backwards compatibility ...
|
74
|
+
typedef std::unexpected_handler unexpected_function;
|
75
|
+
typedef std::terminate_handler terminate_function;
|
76
|
+
#pragma obsolete terminate_function
|
77
|
+
#pragma obsolete unexpected_function
|
78
|
+
#endif // !__STDC__
|
79
|
+
|
80
|
+
|
81
|
+
extern char * _RTLENTRY __ThrowFileName();
|
82
|
+
extern unsigned _RTLENTRY __ThrowLineNumber();
|
83
|
+
extern char * _RTLENTRY __ThrowExceptionName();
|
84
|
+
|
85
|
+
#define __throwFileName __ThrowFileName()
|
86
|
+
#define __throwLineNumber __ThrowLineNumber()
|
87
|
+
#define __throwExceptionName __ThrowExceptionName()
|
88
|
+
|
89
|
+
class _EXPCLASS xmsg : public std::exception
|
90
|
+
{
|
91
|
+
public:
|
92
|
+
xmsg(const std::string &msg);
|
93
|
+
xmsg(const xmsg &);
|
94
|
+
virtual ~xmsg() throw();
|
95
|
+
xmsg & operator=(const xmsg &);
|
96
|
+
|
97
|
+
virtual const char * what() const throw();
|
98
|
+
const std::string & why() const;
|
99
|
+
void raise();// throw(xmsg);
|
100
|
+
|
101
|
+
private:
|
102
|
+
std::string *str;
|
103
|
+
};
|
104
|
+
|
105
|
+
inline const std::string & xmsg::why() const
|
106
|
+
{
|
107
|
+
return *str;
|
108
|
+
};
|
109
|
+
|
110
|
+
/* The xalloc class is here for backwards compatibility ONLY! Operator new
|
111
|
+
will not throw one of these anymore. Operator new now throws a bad_alloc
|
112
|
+
instead.
|
113
|
+
*/
|
114
|
+
|
115
|
+
class _EXPCLASS xalloc : public xmsg
|
116
|
+
{
|
117
|
+
public:
|
118
|
+
xalloc(const std::string &msg, _SIZE_T size);
|
119
|
+
|
120
|
+
_SIZE_T requested() const;
|
121
|
+
void raise();// throw(xalloc);
|
122
|
+
|
123
|
+
private:
|
124
|
+
_SIZE_T siz;
|
125
|
+
};
|
126
|
+
|
127
|
+
|
128
|
+
inline xalloc::xalloc(const std::string &msg, _SIZE_T size)
|
129
|
+
: xmsg(msg), siz(size)
|
130
|
+
{
|
131
|
+
}
|
132
|
+
|
133
|
+
inline _SIZE_T xalloc::requested() const
|
134
|
+
{
|
135
|
+
return siz;
|
136
|
+
}
|
137
|
+
|
138
|
+
#pragma obsolete xalloc
|
139
|
+
#pragma obsolete xmsg
|
140
|
+
|
141
|
+
#if !defined(RC_INVOKED)
|
142
|
+
|
143
|
+
#if defined(__STDC__)
|
144
|
+
#pragma warn .nak
|
145
|
+
#endif
|
146
|
+
|
147
|
+
#pragma option pop // restore user C++ options
|
148
|
+
/* restore default packing */
|
149
|
+
#pragma pack(pop)
|
150
|
+
|
151
|
+
#endif /* !RC_INVOKED */
|
152
|
+
|
153
|
+
#pragma option pop
|
154
|
+
#endif // __EXCEPT_H
|
@@ -0,0 +1,431 @@
|
|
1
|
+
#ifndef __FSTREAM_H
|
2
|
+
#define __FSTREAM_H
|
3
|
+
#pragma option push -b -a8 -pc -Vx- -Ve- -w-inl -w-aus -w-sig
|
4
|
+
// -*- C++ -*-
|
5
|
+
#ifndef __STD_FSTREAM__
|
6
|
+
#define __STD_FSTREAM__
|
7
|
+
|
8
|
+
/***************************************************************************
|
9
|
+
*
|
10
|
+
* fstream -- Declarations for the Standard Library file bufs and streams
|
11
|
+
*
|
12
|
+
***************************************************************************
|
13
|
+
*
|
14
|
+
* Copyright (c) 1994-1999 Rogue Wave Software, Inc. All Rights Reserved.
|
15
|
+
*
|
16
|
+
* This computer software is owned by Rogue Wave Software, Inc. and is
|
17
|
+
* protected by U.S. copyright laws and other laws and by international
|
18
|
+
* treaties. This computer software is furnished by Rogue Wave Software,
|
19
|
+
* Inc. pursuant to a written license agreement and may be used, copied,
|
20
|
+
* transmitted, and stored only in accordance with the terms of such
|
21
|
+
* license and with the inclusion of the above copyright notice. This
|
22
|
+
* computer software or any other copies thereof may not be provided or
|
23
|
+
* otherwise made available to any other person.
|
24
|
+
*
|
25
|
+
* U.S. Government Restricted Rights. This computer software is provided
|
26
|
+
* with Restricted Rights. Use, duplication, or disclosure by the
|
27
|
+
* Government is subject to restrictions as set forth in subparagraph (c)
|
28
|
+
* (1) (ii) of The Rights in Technical Data and Computer Software clause
|
29
|
+
* at DFARS 252.227-7013 or subparagraphs (c) (1) and (2) of the
|
30
|
+
* Commercial Computer Software � Restricted Rights at 48 CFR 52.227-19,
|
31
|
+
* as applicable. Manufacturer is Rogue Wave Software, Inc., 5500
|
32
|
+
* Flatiron Parkway, Boulder, Colorado 80301 USA.
|
33
|
+
*
|
34
|
+
**************************************************************************/
|
35
|
+
|
36
|
+
#include <stdcomp.h>
|
37
|
+
|
38
|
+
#include <istream>
|
39
|
+
#include <ostream>
|
40
|
+
#include <streambuf>
|
41
|
+
|
42
|
+
#ifndef _RWSTD_NO_NEW_HEADER
|
43
|
+
#include <cstdlib>
|
44
|
+
#else
|
45
|
+
#include <stdlib.h>
|
46
|
+
#endif
|
47
|
+
|
48
|
+
#ifndef _RWSTD_STRICT_ANSI
|
49
|
+
# if defined (_MSC_VER) || defined (__TURBOC__)
|
50
|
+
# include <io.h>
|
51
|
+
# else
|
52
|
+
#ifdef _HPACC_
|
53
|
+
using std::off_t;
|
54
|
+
using std::ssize_t;
|
55
|
+
using std::pid_t;
|
56
|
+
using std::useconds_t;
|
57
|
+
using std::mode_t;
|
58
|
+
#endif
|
59
|
+
# include <unistd.h>
|
60
|
+
# endif // defined (_MSC_VER) || defined (__TURBOC__)
|
61
|
+
# include <fcntl.h>
|
62
|
+
#else
|
63
|
+
# ifndef _RWSTD_NO_EXTENSION
|
64
|
+
# define _RWSTD_NO_EXTENSION 1
|
65
|
+
# endif
|
66
|
+
#endif // _RWSTD_STRICT_ANSI
|
67
|
+
|
68
|
+
#ifndef _RWSTD_NO_NAMESPACE
|
69
|
+
namespace __rwstd {
|
70
|
+
#endif
|
71
|
+
|
72
|
+
#ifndef _RWSTD_STRICT_ANSI
|
73
|
+
extern const int _RWSTDExport __rwOpenTable[32];
|
74
|
+
#else
|
75
|
+
extern const char _RWSTDExportFunc(*) __rwOpenTable[32];
|
76
|
+
#endif
|
77
|
+
|
78
|
+
#ifndef _RWSTD_NO_NAMESPACE
|
79
|
+
} namespace std {
|
80
|
+
#endif
|
81
|
+
|
82
|
+
/*
|
83
|
+
* Class basic_filebuf
|
84
|
+
*/
|
85
|
+
|
86
|
+
template<class charT, class traits>
|
87
|
+
class _RWSTDExportTemplate basic_filebuf : public basic_streambuf<charT, traits> {
|
88
|
+
|
89
|
+
#ifndef _RWSTD_STRICT_ANSI
|
90
|
+
typedef int __file_type;
|
91
|
+
#else
|
92
|
+
typedef FILE* __file_type;
|
93
|
+
#endif
|
94
|
+
|
95
|
+
typedef basic_ios<charT, traits> ios_type;
|
96
|
+
typedef _TYPENAME traits::state_type state_t;
|
97
|
+
|
98
|
+
public:
|
99
|
+
//
|
100
|
+
// Types:
|
101
|
+
//
|
102
|
+
typedef charT char_type;
|
103
|
+
typedef _TYPENAME traits::int_type int_type;
|
104
|
+
typedef _TYPENAME traits::pos_type pos_type;
|
105
|
+
typedef _TYPENAME traits::off_type off_type;
|
106
|
+
typedef traits traits_type;
|
107
|
+
|
108
|
+
basic_filebuf();
|
109
|
+
virtual ~basic_filebuf();
|
110
|
+
|
111
|
+
bool is_open() const;
|
112
|
+
basic_filebuf<charT, traits> *
|
113
|
+
open(const char *s, ios_base::openmode, long protection = 0666 );
|
114
|
+
basic_filebuf<charT, traits> *close();
|
115
|
+
basic_filebuf(__file_type fd);
|
116
|
+
|
117
|
+
#ifndef _RWSTD_NO_EXTENSION
|
118
|
+
basic_filebuf<charT, traits> *open(int fd);
|
119
|
+
int fd() const { return __file;}
|
120
|
+
#endif //_RWSTD_NO_EXTENSION
|
121
|
+
|
122
|
+
protected:
|
123
|
+
|
124
|
+
virtual streamsize showmanyc();
|
125
|
+
virtual int_type underflow();
|
126
|
+
virtual int_type overflow(int_type c = traits::eof());
|
127
|
+
virtual int_type pbackfail(int_type c = traits::eof());
|
128
|
+
|
129
|
+
virtual basic_streambuf<charT,traits>*
|
130
|
+
setbuf(char_type *s,streamsize n);
|
131
|
+
|
132
|
+
virtual pos_type seekoff(off_type off,
|
133
|
+
ios_base::seekdir way,
|
134
|
+
ios_base::openmode which =
|
135
|
+
ios_base::in | ios_base::out);
|
136
|
+
virtual pos_type seekpos(pos_type sp,
|
137
|
+
ios_base::openmode which =
|
138
|
+
ios_base::in | ios_base::out);
|
139
|
+
|
140
|
+
virtual int sync( );
|
141
|
+
virtual streamsize xsputn(const char_type *s, streamsize n);
|
142
|
+
|
143
|
+
private:
|
144
|
+
|
145
|
+
// Deal with CR/LF translation on win32
|
146
|
+
off_type __get_chars(charT* start, charT* finish)
|
147
|
+
{
|
148
|
+
#ifndef __WIN32__
|
149
|
+
return finish-start;
|
150
|
+
#else
|
151
|
+
if (this->mode_ & ios_base::binary)
|
152
|
+
return finish-start;
|
153
|
+
|
154
|
+
#ifndef _RWSTD_NO_TEMPLATE_ON_RETURN_TYPE
|
155
|
+
charT eol = use_facet< ctype<charT> >(this->getloc()).widen('\n');
|
156
|
+
#else
|
157
|
+
charT eol = use_facet( this->getloc(), (ctype<charT>* )0).widen('\n');
|
158
|
+
#endif
|
159
|
+
|
160
|
+
off_type n=0;
|
161
|
+
while (start != finish)
|
162
|
+
{
|
163
|
+
if (*start++ == eol)
|
164
|
+
n+=2;
|
165
|
+
else
|
166
|
+
++n;
|
167
|
+
}
|
168
|
+
return n;
|
169
|
+
#endif // __WIN32__
|
170
|
+
}
|
171
|
+
|
172
|
+
|
173
|
+
off_type __file_seek(__file_type f, long offset, int origin)
|
174
|
+
{
|
175
|
+
#ifndef _RWSTD_STRICT_ANSI
|
176
|
+
return lseek(f, offset, origin);
|
177
|
+
#else
|
178
|
+
fseek(f, offset, origin);
|
179
|
+
return ftell(f);
|
180
|
+
#endif // _RWSTD_STRICT_ANSI
|
181
|
+
}
|
182
|
+
|
183
|
+
int __file_close(__file_type f)
|
184
|
+
{
|
185
|
+
#ifndef _RWSTD_STRICT_ANSI
|
186
|
+
return ::close(f);
|
187
|
+
#else
|
188
|
+
return fclose(f);
|
189
|
+
#endif // _RWSTD_STRICT_ANSI
|
190
|
+
}
|
191
|
+
|
192
|
+
bool __file_write(__file_type f, const char* buffer, size_t size, size_t count)
|
193
|
+
{
|
194
|
+
#ifndef _RWSTD_STRICT_ANSI
|
195
|
+
return (size_t) ::write(f,buffer,size*count) == size*count ? true : false;
|
196
|
+
#else
|
197
|
+
return fwrite(buffer,size,count,f) == count ? true : false;
|
198
|
+
#endif // _RWSTD_STRICT_ANSI
|
199
|
+
}
|
200
|
+
|
201
|
+
size_t __file_read(__file_type f, char* buffer, size_t size, size_t count)
|
202
|
+
{
|
203
|
+
#ifndef _RWSTD_STRICT_ANSI
|
204
|
+
int n = ::read(f,buffer,size*count);
|
205
|
+
return n < 0 ? 0 : (size_t)n;
|
206
|
+
#else
|
207
|
+
return fread(buffer,size,count,f)*size;
|
208
|
+
#endif
|
209
|
+
}
|
210
|
+
|
211
|
+
__file_type __closed()
|
212
|
+
{
|
213
|
+
#ifndef _RWSTD_STRICT_ANSI
|
214
|
+
return -1;
|
215
|
+
#else
|
216
|
+
return 0;
|
217
|
+
#endif
|
218
|
+
}
|
219
|
+
|
220
|
+
bool __file_is_std(__file_type f)
|
221
|
+
{
|
222
|
+
#ifndef _RWSTD_STRICT_ANSI
|
223
|
+
return f < 3;
|
224
|
+
#else
|
225
|
+
return (f == stdin || f == stdout || f == stderr);
|
226
|
+
#endif
|
227
|
+
}
|
228
|
+
|
229
|
+
__file_type __file;
|
230
|
+
bool __read_buff;
|
231
|
+
bool __write_buff;
|
232
|
+
streamsize __last_numb_read;
|
233
|
+
streamsize __rwBufferSize;
|
234
|
+
streamsize __absolute_pos;
|
235
|
+
state_t *__state_beg;
|
236
|
+
state_t *__state_end;
|
237
|
+
char_type *__data;
|
238
|
+
};
|
239
|
+
template<class charT, class traits>
|
240
|
+
class _RWSTDExportTemplate basic_ifstream : public basic_istream<charT, traits> {
|
241
|
+
|
242
|
+
public:
|
243
|
+
//
|
244
|
+
// Types:
|
245
|
+
//
|
246
|
+
typedef charT char_type;
|
247
|
+
typedef _TYPENAME traits::int_type int_type;
|
248
|
+
typedef _TYPENAME traits::pos_type pos_type;
|
249
|
+
typedef _TYPENAME traits::off_type off_type;
|
250
|
+
typedef traits traits_type;
|
251
|
+
typedef basic_ios<charT, traits> ios_type;
|
252
|
+
|
253
|
+
public:
|
254
|
+
|
255
|
+
basic_ifstream();
|
256
|
+
_EXPLICIT basic_ifstream(const char *s,
|
257
|
+
ios_base::openmode mode = ios_base::in,
|
258
|
+
long protection = 0666 );
|
259
|
+
|
260
|
+
#ifndef _RWSTD_NO_EXTENSION
|
261
|
+
_EXPLICIT basic_ifstream(int fd);
|
262
|
+
basic_ifstream(int fd, char_type *buf, int len);
|
263
|
+
#endif //_RWSTD_NO_EXTENSION
|
264
|
+
|
265
|
+
virtual ~basic_ifstream();
|
266
|
+
basic_filebuf<charT, traits> *rdbuf() const;
|
267
|
+
bool is_open();
|
268
|
+
void open(const char *s, ios_base::openmode mode = ios_base::in,
|
269
|
+
long protection = 0666 );
|
270
|
+
|
271
|
+
void close();
|
272
|
+
protected:
|
273
|
+
|
274
|
+
private:
|
275
|
+
basic_filebuf<charT, traits> __fb;
|
276
|
+
};
|
277
|
+
template<class charT, class traits>
|
278
|
+
class _RWSTDExportTemplate basic_ofstream : public basic_ostream<charT, traits> {
|
279
|
+
|
280
|
+
public:
|
281
|
+
//
|
282
|
+
//Types:
|
283
|
+
//
|
284
|
+
typedef charT char_type;
|
285
|
+
typedef _TYPENAME traits::int_type int_type;
|
286
|
+
typedef _TYPENAME traits::pos_type pos_type;
|
287
|
+
typedef _TYPENAME traits::off_type off_type;
|
288
|
+
typedef traits traits_type;
|
289
|
+
|
290
|
+
typedef basic_ios<charT, traits> ios_type;
|
291
|
+
|
292
|
+
public:
|
293
|
+
|
294
|
+
basic_ofstream();
|
295
|
+
_EXPLICIT basic_ofstream(const char *s, ios_base::openmode mode =
|
296
|
+
ios_base::out,
|
297
|
+
long protection = 0666 );
|
298
|
+
|
299
|
+
#ifndef _RWSTD_NO_EXTENSION
|
300
|
+
_EXPLICIT basic_ofstream(int fd);
|
301
|
+
basic_ofstream(int fd, char_type *buf, int len);
|
302
|
+
#endif //_RWSTD_NO_EXTENSION
|
303
|
+
|
304
|
+
virtual ~basic_ofstream();
|
305
|
+
|
306
|
+
basic_filebuf<charT, traits> *rdbuf() const;
|
307
|
+
bool is_open();
|
308
|
+
|
309
|
+
void open(const char *s, ios_base::openmode mode =
|
310
|
+
ios_base::out,
|
311
|
+
long protection = 0666 );
|
312
|
+
|
313
|
+
void close();
|
314
|
+
protected:
|
315
|
+
|
316
|
+
private:
|
317
|
+
basic_filebuf<charT, traits> __fb;
|
318
|
+
};
|
319
|
+
|
320
|
+
/*
|
321
|
+
* Class basic_fstream
|
322
|
+
*/
|
323
|
+
|
324
|
+
template<class charT, class traits>
|
325
|
+
class _RWSTDExportTemplate basic_fstream : public basic_iostream<charT, traits> {
|
326
|
+
|
327
|
+
public:
|
328
|
+
//
|
329
|
+
// Types:
|
330
|
+
//
|
331
|
+
typedef charT char_type;
|
332
|
+
typedef _TYPENAME traits::int_type int_type;
|
333
|
+
typedef _TYPENAME traits::pos_type pos_type;
|
334
|
+
typedef _TYPENAME traits::off_type off_type;
|
335
|
+
typedef traits traits_type;
|
336
|
+
typedef basic_ios<charT, traits> ios_type;
|
337
|
+
|
338
|
+
basic_fstream();
|
339
|
+
_EXPLICIT basic_fstream(const char *s, ios_base::openmode mode =
|
340
|
+
ios_base::in | ios_base::out,
|
341
|
+
long protection= 0666 );
|
342
|
+
|
343
|
+
#ifndef _RWSTD_NO_EXTENSION
|
344
|
+
_EXPLICIT basic_fstream(int fd);
|
345
|
+
basic_fstream(int fd, char_type *buf, int len);
|
346
|
+
#endif //_RWSTD_NO_EXTENSION
|
347
|
+
|
348
|
+
virtual ~basic_fstream();
|
349
|
+
|
350
|
+
basic_filebuf<charT, traits> *rdbuf() const;
|
351
|
+
bool is_open();
|
352
|
+
void open(const char *s, ios_base::openmode mode =
|
353
|
+
ios_base::in | ios_base::out,
|
354
|
+
long protection = 0666 );
|
355
|
+
|
356
|
+
void close();
|
357
|
+
protected:
|
358
|
+
|
359
|
+
private:
|
360
|
+
basic_filebuf<charT, traits> __fb;
|
361
|
+
};
|
362
|
+
#ifndef _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
363
|
+
typedef basic_filebuf<char> filebuf;
|
364
|
+
#else
|
365
|
+
typedef basic_filebuf<char, char_traits<char> > filebuf;
|
366
|
+
#endif // _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
367
|
+
|
368
|
+
#ifndef _RWSTD_NO_WIDE_CHAR
|
369
|
+
#ifndef _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
370
|
+
typedef basic_filebuf<wchar_t> wfilebuf;
|
371
|
+
#else
|
372
|
+
typedef basic_filebuf<wchar_t, char_traits<wchar_t> > wfilebuf;
|
373
|
+
#endif // _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
374
|
+
#endif // _RWSTD_NO_WIDE_CHAR
|
375
|
+
#ifndef _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
376
|
+
typedef basic_ifstream<char> ifstream;
|
377
|
+
#else
|
378
|
+
typedef basic_ifstream<char, char_traits<char> > ifstream;
|
379
|
+
#endif // _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
380
|
+
|
381
|
+
#ifndef _RWSTD_NO_WIDE_CHAR
|
382
|
+
#ifndef _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
383
|
+
typedef basic_ifstream<wchar_t> wifstream;
|
384
|
+
#else
|
385
|
+
typedef basic_ifstream<wchar_t, char_traits<wchar_t> > wifstream;
|
386
|
+
#endif // _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
387
|
+
#endif // _RWSTD_NO_WIDE_CHAR
|
388
|
+
#ifndef _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
389
|
+
typedef basic_ofstream<char> ofstream;
|
390
|
+
#else
|
391
|
+
typedef basic_ofstream<char, char_traits<char> > ofstream;
|
392
|
+
#endif // _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
393
|
+
|
394
|
+
#ifndef _RWSTD_NO_WIDE_CHAR
|
395
|
+
#ifndef _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
396
|
+
typedef basic_ofstream<wchar_t> wofstream;
|
397
|
+
#else
|
398
|
+
typedef basic_ofstream<wchar_t, char_traits<wchar_t> > wofstream;
|
399
|
+
#endif // _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
|
400
|
+
#endif // _RWSTD_NO_WIDE_CHAR
|
401
|
+
|
402
|
+
#ifndef _RWSTD_NO_DEFAULT_TEMPLATES
|
403
|
+
typedef basic_fstream<char> fstream;
|
404
|
+
#else
|
405
|
+
typedef basic_fstream<char, char_traits<char> > fstream;
|
406
|
+
#endif // _RWSTD_NO_DEFAULT_TEMPLATES
|
407
|
+
|
408
|
+
#ifndef _RWSTD_NO_WIDE_CHAR
|
409
|
+
#ifndef _RWSTD_NO_DEFAULT_TEMPLATES
|
410
|
+
typedef basic_fstream<wchar_t> wfstream;
|
411
|
+
#else
|
412
|
+
typedef basic_fstream<wchar_t, char_traits<wchar_t> > wfstream;
|
413
|
+
#endif // _RWSTD_NO_DEFAULT_TEMPLATES
|
414
|
+
#endif // _RWSTD_NO_WIDE_CHAR
|
415
|
+
|
416
|
+
#ifndef _RWSTD_NO_NAMESPACE
|
417
|
+
}
|
418
|
+
#endif
|
419
|
+
|
420
|
+
#ifdef _RWSTD_COMPILE_INSTANTIATE
|
421
|
+
#include <fstream.cc>
|
422
|
+
#endif
|
423
|
+
|
424
|
+
#endif //__STD_FSTREAM__
|
425
|
+
|
426
|
+
#ifndef __USING_STD_NAMES__
|
427
|
+
using namespace std;
|
428
|
+
#endif
|
429
|
+
|
430
|
+
#pragma option pop
|
431
|
+
#endif /* __FSTREAM_H */
|