epoc32/include/stdapis/stlport/ostream.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 ostream.h
     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_OSTREAM_H
       
    17 # define _STLP_OSTREAM_H
       
    18 
       
    19 # ifndef _STLP_OUTERMOST_HEADER_ID
       
    20 #  define _STLP_OUTERMOST_HEADER_ID 0x2051
       
    21 #  include <stl/_prolog.h>
       
    22 # endif
       
    23 
       
    24 # if defined (_STLP_OWN_IOSTREAMS)
       
    25 
       
    26 #ifdef __BORLANDC__
       
    27 #  include <ostream.>
       
    28 #else
       
    29 #  include <ostream>
       
    30 #endif
       
    31 
       
    32 #  ifdef _STLP_USE_NAMESPACES
       
    33 #   include <using/ostream>
       
    34 #  endif
       
    35 
       
    36 # elif !defined (_STLP_USE_NO_IOSTREAMS)
       
    37 
       
    38 #  include _STLP_NATIVE_OLD_STREAMS_HEADER(ostream.h)
       
    39 #  if defined (_STLP_USE_NAMESPACES) && !defined (_STLP_BROKEN_USING_DIRECTIVE)
       
    40 _STLP_BEGIN_NAMESPACE
       
    41 #   include <using/h/ostream.h>
       
    42 _STLP_END_NAMESPACE
       
    43 #  endif /* _STLP_USE_NAMESPACES */
       
    44 
       
    45 # endif /* _STLP_USE_NO_IOSTREAMS */
       
    46 
       
    47 # if (_STLP_OUTERMOST_HEADER_ID == 0x2051)
       
    48 #  include <stl/_epilog.h>
       
    49 #  undef _STLP_OUTERMOST_HEADER_ID
       
    50 # endif
       
    51 
       
    52 #endif /* _STLP_OSTREAM_H */
       
    53