epoc32/include/stdapis/stlport/fstream
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 /*
     2  * © Portions copyright (c) 2006-2007 Nokia Corporation.  All rights reserved.
     3  * Copyright (c) 1999
     4  * Silicon Graphics Computer Systems, Inc.
     5  *
     6  * Copyright (c) 1999 
     7  * Boris Fomitchev
     8  *
     9  * This material is provided "as is", with absolutely no warranty expressed
    10  * or implied. Any use is at your own risk.
    11  *
    12  * Permission to use or copy this software for any purpose is hereby granted 
    13  * without fee, provided the above notices are retained on all copies.
    14  * Permission to modify the code and to distribute modified code is granted,
    15  * provided the above notices are retained, and a notice that the code was
    16  * modified is included with the above copyright notice.
    17  *
    18  */ 
    19 
    20 
    21 // This header defines classes basic_filebuf, basic_ifstream,
    22 // basic_ofstream, and basic_fstream.  These classes represent
    23 // streambufs and streams whose sources or destinations are files.
    24 
    25 #ifndef _STLP_FSTREAM
    26 #define _STLP_FSTREAM
    27 
    28 # ifndef _STLP_OUTERMOST_HEADER_ID
    29 #  define _STLP_OUTERMOST_HEADER_ID 0x1025
    30 #  include <stl/_prolog.h>
    31 # endif
    32 
    33 #ifdef _STLP_PRAGMA_ONCE
    34 # pragma once
    35 #endif
    36 
    37 # if defined (_STLP_OWN_IOSTREAMS)
    38 #  include <stl/_fstream.h>
    39 
    40 # ifndef __LOCALE_INITIALIZED
    41 #  define __LOCALE_INITIALIZED
    42 _STLP_BEGIN_NAMESPACE
    43 # if !defined(__LIBSTD_CPP_SYMBIAN32_WSD__) && !defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
    44 // Global initializer object, to ensure construction of static objects.
    45 static ios_base::_Loc_init _LocInit;
    46 # endif
    47 _STLP_END_NAMESPACE
    48 # endif
    49 
    50 # elif !defined(_STLP_USE_NO_IOSTREAMS)
    51 #  include <wrap_std/fstream>
    52 # endif
    53 
    54 # if (_STLP_OUTERMOST_HEADER_ID == 0x1025)
    55 #  include <stl/_epilog.h>
    56 #  undef _STLP_OUTERMOST_HEADER_ID
    57 # endif
    58 
    59 #endif /* _STLP_FSTREAM */
    60 
    61 
    62 // Local Variables:
    63 // mode:C++
    64 // End: