1 string |
1 /* |
|
2 * Copyright (c) 1997-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 |
|
19 #ifndef _STLP_STRING |
|
20 # define _STLP_STRING |
|
21 |
|
22 # ifndef _STLP_OUTERMOST_HEADER_ID |
|
23 # define _STLP_OUTERMOST_HEADER_ID 0x68 |
|
24 # include <stl/_prolog.h> |
|
25 # endif |
|
26 |
|
27 # ifdef _STLP_PRAGMA_ONCE |
|
28 # pragma once |
|
29 # endif |
|
30 |
|
31 #if defined (_STLP_USE_NATIVE_STRING) |
|
32 |
|
33 // as part of compiled runtime library depends on it. |
|
34 |
|
35 # if defined (_STLP_MSVC) |
|
36 # include <streambuf> |
|
37 # include <istream> |
|
38 # endif |
|
39 |
|
40 # include _STLP_NATIVE_HEADER(string) |
|
41 |
|
42 # endif /* _STLP_USE_NATIVE_STRING */ |
|
43 |
|
44 # if !defined (_STLP_USE_NATIVE_STRING) || defined (_STLP_USE_OWN_NAMESPACE) |
|
45 # include <stl/_string.h> |
|
46 # else |
|
47 # include <stl/_string_hash.h> |
|
48 # endif /*_STLP_USE_NATIVE_STRING */ |
|
49 |
|
50 // cleanup |
|
51 |
|
52 # if (_STLP_OUTERMOST_HEADER_ID == 0x68) |
|
53 # include <stl/_epilog.h> |
|
54 # undef _STLP_OUTERMOST_HEADER_ID |
|
55 # endif |
|
56 |
|
57 #endif /* _STLP_STRING */ |
|
58 |
|
59 // Local Variables: |
|
60 // mode:C++ |
|
61 // End: |
|
62 |