1.1 --- a/epoc32/include/stdapis/stlport/fstream Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/stlport/fstream Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,64 @@
1.4 -fstream
1.5 +/*
1.6 + * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
1.7 + * Copyright (c) 1999
1.8 + * Silicon Graphics Computer Systems, Inc.
1.9 + *
1.10 + * Copyright (c) 1999
1.11 + * Boris Fomitchev
1.12 + *
1.13 + * This material is provided "as is", with absolutely no warranty expressed
1.14 + * or implied. Any use is at your own risk.
1.15 + *
1.16 + * Permission to use or copy this software for any purpose is hereby granted
1.17 + * without fee, provided the above notices are retained on all copies.
1.18 + * Permission to modify the code and to distribute modified code is granted,
1.19 + * provided the above notices are retained, and a notice that the code was
1.20 + * modified is included with the above copyright notice.
1.21 + *
1.22 + */
1.23 +
1.24 +
1.25 +// This header defines classes basic_filebuf, basic_ifstream,
1.26 +// basic_ofstream, and basic_fstream. These classes represent
1.27 +// streambufs and streams whose sources or destinations are files.
1.28 +
1.29 +#ifndef _STLP_FSTREAM
1.30 +#define _STLP_FSTREAM
1.31 +
1.32 +# ifndef _STLP_OUTERMOST_HEADER_ID
1.33 +# define _STLP_OUTERMOST_HEADER_ID 0x1025
1.34 +# include <stl/_prolog.h>
1.35 +# endif
1.36 +
1.37 +#ifdef _STLP_PRAGMA_ONCE
1.38 +# pragma once
1.39 +#endif
1.40 +
1.41 +# if defined (_STLP_OWN_IOSTREAMS)
1.42 +# include <stl/_fstream.h>
1.43 +
1.44 +# ifndef __LOCALE_INITIALIZED
1.45 +# define __LOCALE_INITIALIZED
1.46 +_STLP_BEGIN_NAMESPACE
1.47 +# if !defined(__LIBSTD_CPP_SYMBIAN32_WSD__) && !defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
1.48 +// Global initializer object, to ensure construction of static objects.
1.49 +static ios_base::_Loc_init _LocInit;
1.50 +# endif
1.51 +_STLP_END_NAMESPACE
1.52 +# endif
1.53 +
1.54 +# elif !defined(_STLP_USE_NO_IOSTREAMS)
1.55 +# include <wrap_std/fstream>
1.56 +# endif
1.57 +
1.58 +# if (_STLP_OUTERMOST_HEADER_ID == 0x1025)
1.59 +# include <stl/_epilog.h>
1.60 +# undef _STLP_OUTERMOST_HEADER_ID
1.61 +# endif
1.62 +
1.63 +#endif /* _STLP_FSTREAM */
1.64 +
1.65 +
1.66 +// Local Variables:
1.67 +// mode:C++
1.68 +// End: