|
1 /* |
|
2 * Copyright (c) 1999 |
|
3 * Boris Fomitchev |
|
4 * |
|
5 * This material is provided "as is", with absolutely no warranty expressed |
|
6 * or implied. Any use is at your own risk. |
|
7 * |
|
8 * Permission to use or copy this software for any purpose is hereby granted |
|
9 * without fee, provided the above notices are retained on all copies. |
|
10 * Permission to modify the code and to distribute modified code is granted, |
|
11 * provided the above notices are retained, and a notice that the code was |
|
12 * modified is included with the above copyright notice. |
|
13 * |
|
14 */ |
|
15 |
|
16 #ifndef _STLP_STRSTREAM_H |
|
17 # define _STLP_STRSTREAM_H |
|
18 |
|
19 #ifndef _STLP_OUTERMOST_HEADER_ID |
|
20 # define _STLP_OUTERMOST_HEADER_ID 0x2071 |
|
21 # include <stl/_prolog.h> |
|
22 #endif |
|
23 |
|
24 #include <strstream> |
|
25 |
|
26 #include <iostream.h> |
|
27 |
|
28 |
|
29 #ifndef _STLP_HAS_NO_NAMESPACES |
|
30 |
|
31 # ifdef _STLP_BROKEN_USING_DIRECTIVE |
|
32 |
|
33 using namespace _STLP_STD; |
|
34 |
|
35 # else |
|
36 |
|
37 using _STLP_STD::strstreambuf; |
|
38 using _STLP_STD::istrstream; |
|
39 using _STLP_STD::ostrstream; |
|
40 using _STLP_STD::strstream; |
|
41 |
|
42 # endif /* _STLP_BROKEN_USING_DIRECTIVE */ |
|
43 |
|
44 #endif /* _STLP_HAS_NO_NAMESPACES */ |
|
45 |
|
46 #if (_STLP_OUTERMOST_HEADER_ID == 0x2071) |
|
47 # include <stl/_epilog.h> |
|
48 # undef _STLP_OUTERMOST_HEADER_ID |
|
49 #endif |
|
50 |
|
51 #endif /* _STLP_STRSTREAM_H */ |
|
52 |
|
53 // Local Variables: |
|
54 // mode:C++ |
|
55 // End: |