epoc32/include/stdapis/stlport/iomanip.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 iomanip.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_IOMANIP_H
       
    17 # define _STLP_IOMANIP_H
       
    18 
       
    19 # ifndef _STLP_OUTERMOST_HEADER_ID
       
    20 #  define _STLP_OUTERMOST_HEADER_ID 0x2031
       
    21 #  include <stl/_prolog.h>
       
    22 # endif
       
    23 
       
    24 # if defined ( _STLP_OWN_IOSTREAMS )
       
    25 
       
    26 #ifdef __BORLANDC__
       
    27 #  include <iomanip.>
       
    28 #else
       
    29 #  include <iomanip>
       
    30 #endif
       
    31 
       
    32 #  ifndef _STLP_HAS_NO_NAMESPACES
       
    33 #  ifdef _STLP_BROKEN_USING_DIRECTIVE
       
    34 using namespace _STLP_STD;
       
    35 #  else
       
    36 using _STLP_STD::setiosflags;
       
    37 using _STLP_STD::resetiosflags;
       
    38 using _STLP_STD::setbase;
       
    39 using _STLP_STD::setfill;
       
    40 using _STLP_STD::setprecision;
       
    41 using _STLP_STD::setw;
       
    42 #  endif
       
    43 #  endif /* _STLP_HAS_NO_NAMESPACES */
       
    44 
       
    45 // get all the pollution we want
       
    46 # include <iostream.h>
       
    47 
       
    48 # elif !defined (_STLP_USE_NO_IOSTREAMS)
       
    49 
       
    50 # include _STLP_NATIVE_OLD_STREAMS_HEADER(iomanip.h)
       
    51 
       
    52 # if defined  (_STLP_USE_NAMESPACES) && ! defined (_STLP_BROKEN_USING_DIRECTIVE)
       
    53 _STLP_BEGIN_NAMESPACE
       
    54 # include <using/h/iomanip.h>
       
    55 _STLP_END_NAMESPACE
       
    56 #  endif /* _STLP_USE_NAMESPACES */
       
    57 
       
    58 # endif
       
    59 
       
    60 # if (_STLP_OUTERMOST_HEADER_ID == 0x2031)
       
    61 #  include <stl/_epilog.h>
       
    62 #  undef _STLP_OUTERMOST_HEADER_ID
       
    63 # endif
       
    64 
       
    65 #endif /* _STLP_IOMANIP_H */
       
    66 
       
    67 // Local Variables:
       
    68 // mode:C++
       
    69 // End: