3 * Silicon Graphics Computer Systems, Inc.
8 * This material is provided "as is", with absolutely no warranty expressed
9 * or implied. Any use is at your own risk.
11 * Permission to use or copy this software for any purpose is hereby granted
12 * without fee, provided the above notices are retained on all copies.
13 * Permission to modify the code and to distribute modified code is granted,
14 * provided the above notices are retained, and a notice that the code was
15 * modified is included with the above copyright notice.
20 // This header defines classes basic_filebuf, basic_ifstream,
21 // basic_ofstream, and basic_fstream. These classes represent
22 // streambufs and streams whose sources or destinations are files.
26 #ifndef _STLP_OUTERMOST_HEADER_ID
27 # define _STLP_OUTERMOST_HEADER_ID 0x1025
28 # include <stl/_prolog.h>
29 # define _STLP_FSTREAM
30 # if defined (__DMC__) && defined (_DLL)
31 # define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
35 #if (_STLP_OUTERMOST_HEADER_ID == 0x1025) && \
36 !(defined (_STLP_NO_IOSTREAMS) && defined (_STLP_IMPORT_VENDOR_STD))
37 # include <stl/_ioserr.h>
39 # ifndef _STLP_INTERNAL_FSTREAM_H
40 # include <stl/_fstream.h>
44 #if (_STLP_OUTERMOST_HEADER_ID != 0x1025) || defined (_STLP_IMPORT_VENDOR_STD)
45 # if defined (_STLP_HAS_INCLUDE_NEXT)
46 # include_next <fstream>
48 # include _STLP_NATIVE_HEADER(fstream)
52 #if (_STLP_OUTERMOST_HEADER_ID == 0x1025)
53 # include <stl/_epilog.h>
54 # undef _STLP_OUTERMOST_HEADER_ID
55 # if defined (__DMC__) && defined (_DLL)
56 # undef _STLP_CLASS_IMPORT_DECLSPEC
57 # define _STLP_CLASS_IMPORT_DECLSPEC
61 #endif /* _STLP_FSTREAM */