2009-10-02 01:21:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
KWSys - Kitware System Library
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2003-12-23 19:03:33 +03:00
|
|
|
|
2009-10-02 01:21:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2003-12-23 19:03:33 +03:00
|
|
|
|
2009-10-02 01:21:28 +04:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2003-12-23 19:03:33 +03:00
|
|
|
#ifndef @KWSYS_NAMESPACE@_ios_fstream
|
|
|
|
#define @KWSYS_NAMESPACE@_ios_fstream
|
|
|
|
|
|
|
|
#include <@KWSYS_NAMESPACE@/Configure.hxx>
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
2004-12-01 15:24:33 +03:00
|
|
|
# pragma warning (push, 1)
|
|
|
|
# pragma warning (disable: 4702)
|
|
|
|
# pragma warning (disable: 4995) /* Old streams are deprecated. */
|
2003-12-23 19:03:33 +03:00
|
|
|
#endif
|
|
|
|
|
2003-12-31 01:15:51 +03:00
|
|
|
#if @KWSYS_NAMESPACE@_IOS_USE_ANSI
|
2003-12-23 19:03:33 +03:00
|
|
|
# include <fstream>
|
|
|
|
#else
|
|
|
|
# include <fstream.h>
|
|
|
|
#endif
|
|
|
|
|
2003-12-31 01:15:51 +03:00
|
|
|
#if !@KWSYS_NAMESPACE@_IOS_USE_SSTREAM
|
2003-12-23 19:03:33 +03:00
|
|
|
namespace @KWSYS_NAMESPACE@_ios
|
|
|
|
{
|
|
|
|
using @KWSYS_NAMESPACE@_ios_namespace::ostream;
|
|
|
|
using @KWSYS_NAMESPACE@_ios_namespace::istream;
|
|
|
|
using @KWSYS_NAMESPACE@_ios_namespace::ofstream;
|
|
|
|
using @KWSYS_NAMESPACE@_ios_namespace::ifstream;
|
|
|
|
using @KWSYS_NAMESPACE@_ios_namespace::ios;
|
|
|
|
using @KWSYS_NAMESPACE@_ios_namespace::endl;
|
|
|
|
using @KWSYS_NAMESPACE@_ios_namespace::flush;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
2004-12-01 15:24:33 +03:00
|
|
|
# pragma warning(pop)
|
2003-12-23 19:03:33 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|