epoc32/include/stdapis/stlport/istream.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100 (2010-03-31)
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@4
     1
/*
williamr@4
     2
 * Copyright (c) 1999 
williamr@4
     3
 * Boris Fomitchev
williamr@4
     4
 *
williamr@4
     5
 * This material is provided "as is", with absolutely no warranty expressed
williamr@4
     6
 * or implied. Any use is at your own risk.
williamr@4
     7
 *
williamr@4
     8
 * Permission to use or copy this software for any purpose is hereby granted 
williamr@4
     9
 * without fee, provided the above notices are retained on all copies.
williamr@4
    10
 * Permission to modify the code and to distribute modified code is granted,
williamr@4
    11
 * provided the above notices are retained, and a notice that the code was
williamr@4
    12
 * modified is included with the above copyright notice.
williamr@4
    13
 *
williamr@4
    14
 */
williamr@4
    15
williamr@4
    16
#ifndef _STLP_ISTREAM_H
williamr@4
    17
# define _STLP_ISTREAM_H
williamr@4
    18
williamr@4
    19
# ifndef _STLP_OUTERMOST_HEADER_ID
williamr@4
    20
#  define _STLP_OUTERMOST_HEADER_ID 0x2037
williamr@4
    21
#  include <stl/_prolog.h>
williamr@4
    22
# endif
williamr@4
    23
williamr@4
    24
# if defined (_STLP_OWN_IOSTREAMS)
williamr@4
    25
williamr@4
    26
# include <istream>
williamr@4
    27
williamr@4
    28
# ifndef _STLP_HAS_NO_NAMESPACES
williamr@4
    29
#  ifdef _STLP_BROKEN_USING_DIRECTIVE
williamr@4
    30
using namespace _STLP_STD;
williamr@4
    31
#  else
williamr@4
    32
using _STLP_STD::basic_istream;
williamr@4
    33
using _STLP_STD::basic_iostream;
williamr@4
    34
using _STLP_STD::istream;
williamr@4
    35
using _STLP_STD::iostream;
williamr@4
    36
using _STLP_STD::ios;
williamr@4
    37
#   ifndef _STLP_NO_WCHAR_T
williamr@4
    38
using _STLP_STD::wistream;
williamr@4
    39
using _STLP_STD::wiostream;
williamr@4
    40
#   endif
williamr@4
    41
using _STLP_STD::ws;
williamr@4
    42
#  endif
williamr@4
    43
# endif
williamr@4
    44
williamr@4
    45
# elif !defined (_STLP_USE_NO_IOSTREAMS)
williamr@4
    46
williamr@4
    47
# include _STLP_NATIVE_OLD_STREAMS_HEADER(istream.h)
williamr@4
    48
williamr@4
    49
# if defined (_STLP_USE_NAMESPACES) && !defined (_STLP_BROKEN_USING_DIRECTIVE)
williamr@4
    50
_STLP_BEGIN_NAMESPACE
williamr@4
    51
using _STLP_OLD_IO_NAMESPACE::istream;
williamr@4
    52
_STLP_END_NAMESPACE
williamr@4
    53
# endif /* _STLP_USE_OWN_NAMESPACE */
williamr@4
    54
williamr@4
    55
# endif /* _STLP_OWN_IOSTREAMS */
williamr@4
    56
williamr@4
    57
# if (_STLP_OUTERMOST_HEADER_ID == 0x2037)
williamr@4
    58
#  include <stl/_epilog.h>
williamr@4
    59
#  undef _STLP_OUTERMOST_HEADER_ID
williamr@4
    60
# endif
williamr@4
    61
williamr@4
    62
#endif /* _STLP_ISTREAM_H */
williamr@4
    63