1 /* 2 * Copyright (c) 1999 3 * Silicon Graphics Computer Systems, Inc. 4 * 5 * Copyright (c) 1999 6 * Boris Fomitchev 7 * 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 10 * 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. 16 * 17 */ 18 // This header defines classes basic_stringbuf, basic_istringstream, 19 // basic_ostringstream, and basic_stringstream. These classes 20 // represent streamsbufs and streams whose sources or destinations are 21 // C++ strings. 22 23 #ifndef _STLP_SSTREAM 24 25 #ifndef _STLP_OUTERMOST_HEADER_ID 26 # define _STLP_OUTERMOST_HEADER_ID 0x1059 27 # include <stl/_prolog.h> 28 # define _STLP_SSTREAM 29 #endif 30 31 #if (_STLP_OUTERMOST_HEADER_ID == 0x1059) && \ 32 !(defined (_STLP_NO_IOSTREAMS) && defined (_STLP_IMPORT_VENDOR_STD)) 33 # include <stl/_ioserr.h> 34 35 # ifndef _STLP_INTERNAL_SSTREAM 36 # include <stl/_sstream.h> 37 # endif 38 #endif 39 40 #if (_STLP_OUTERMOST_HEADER_ID != 0x1059) || defined (_STLP_IMPORT_VENDOR_STD) 41 # if defined (_STLP_HAS_INCLUDE_NEXT) 42 # include_next <sstream> 43 # else 44 # include _STLP_NATIVE_HEADER(sstream) 45 # endif 46 #endif 47 48 #if (_STLP_OUTERMOST_HEADER_ID == 0x1059) 49 # include <stl/_epilog.h> 50 # undef _STLP_OUTERMOST_HEADER_ID 51 #endif 52 53 #endif /* _STLP_SSTREAM */ 54 55 // Local Variables: 56 // mode:C++ 57 // End: 58