epoc32/include/stdapis/stlportv5/string
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*
     1 /*
     2  * Copyright (c) 1997-1999
     2  * Copyright (c) 1997-1999
     3  * Silicon Graphics Computer Systems, Inc.
     3  * Silicon Graphics Computer Systems, Inc.
     4  *
     4  *
     5  * Copyright (c) 1999 
     5  * Copyright (c) 1999
     6  * Boris Fomitchev
     6  * Boris Fomitchev
     7  *
     7  *
     8  * This material is provided "as is", with absolutely no warranty expressed
     8  * This material is provided "as is", with absolutely no warranty expressed
     9  * or implied. Any use is at your own risk.
     9  * or implied. Any use is at your own risk.
    10  *
    10  *
    11  * Permission to use or copy this software for any purpose is hereby granted 
    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.
    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,
    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
    14  * provided the above notices are retained, and a notice that the code was
    15  * modified is included with the above copyright notice.
    15  * modified is included with the above copyright notice.
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 #ifndef _STLP_STRING
    19 #ifndef _STLP_STRING
    20 # define _STLP_STRING
    20 # define _STLP_STRING
    21 
    21 
    22 # ifndef _STLP_OUTERMOST_HEADER_ID
    22 #ifndef _STLP_OUTERMOST_HEADER_ID
    23 #  define _STLP_OUTERMOST_HEADER_ID 0x68
    23 #  define _STLP_OUTERMOST_HEADER_ID 0x68
    24 #  include <stl/_prolog.h>
    24 #  include <stl/_prolog.h>
    25 # endif
    25 #endif
    26 
    26 
    27 # ifdef _STLP_PRAGMA_ONCE
    27 #ifdef _STLP_PRAGMA_ONCE
    28 #  pragma once
    28 #  pragma once
    29 # endif
    29 #endif
    30 
    30 
    31 #if defined (_STLP_USE_NATIVE_STRING)
    31 #if defined (_STLP_USE_OWN_NAMESPACE)
       
    32 #  include <stl/_string.h>
       
    33 #endif
    32 
    34 
    33 // as part of compiled runtime library depends on it.
    35 #include <stl/_string_hash.h>
    34 
    36 
    35 # if defined (_STLP_MSVC)
    37 #if !defined (_STLP_USE_NO_IOSTREAMS)
    36 #  include <streambuf>
    38 #  include <stl/_string_io.h>
    37 #  include <istream>
    39 #endif
    38 # endif
       
    39 
    40 
    40 #  include _STLP_NATIVE_HEADER(string)
    41 #if (_STLP_OUTERMOST_HEADER_ID == 0x68)
    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>
    42 #  include <stl/_epilog.h>
    54 #  undef _STLP_OUTERMOST_HEADER_ID
    43 #  undef _STLP_OUTERMOST_HEADER_ID
    55 # endif
    44 #endif
    56 
    45 
    57 #endif /* _STLP_STRING */
    46 #endif /* _STLP_STRING */
    58 
    47 
    59 // Local Variables:
    48 // Local Variables:
    60 // mode:C++
    49 // mode:C++