STYLE: Nightly Date Stamp
[cmake.git] / Source / kwsys / kwsys_ios_fstream.h.in
blobb20ac0e92ebe562724b98b6f262791ad0c6b8ac6
1 /*=========================================================================
3 Program: KWSys - Kitware System Library
4 Module: $RCSfile: kwsys_ios_fstream.h.in,v $
6 Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved.
7 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notices for more information.
13 =========================================================================*/
14 #ifndef @KWSYS_NAMESPACE@_ios_fstream
15 #define @KWSYS_NAMESPACE@_ios_fstream
17 #include <@KWSYS_NAMESPACE@/Configure.hxx>
19 #ifdef _MSC_VER
20 # pragma warning (push, 1)
21 # pragma warning (disable: 4702)
22 # pragma warning (disable: 4995) /* Old streams are deprecated. */
23 #endif
25 #if @KWSYS_NAMESPACE@_IOS_USE_ANSI
26 # include <fstream>
27 #else
28 # include <fstream.h>
29 #endif
31 #if !@KWSYS_NAMESPACE@_IOS_USE_SSTREAM
32 namespace @KWSYS_NAMESPACE@_ios
34 using @KWSYS_NAMESPACE@_ios_namespace::ostream;
35 using @KWSYS_NAMESPACE@_ios_namespace::istream;
36 using @KWSYS_NAMESPACE@_ios_namespace::ofstream;
37 using @KWSYS_NAMESPACE@_ios_namespace::ifstream;
38 using @KWSYS_NAMESPACE@_ios_namespace::ios;
39 using @KWSYS_NAMESPACE@_ios_namespace::endl;
40 using @KWSYS_NAMESPACE@_ios_namespace::flush;
42 #endif
44 #ifdef _MSC_VER
45 # pragma warning(pop)
46 #endif
48 #endif