kwsys_std_iosfwd.h.in 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*=========================================================================
  2. Program: KWSys - Kitware System Library
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
  8. See http://www.cmake.org/HTML/Copyright.html 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.
  12. =========================================================================*/
  13. #ifndef @KWSYS_NAMESPACE@_std_iosfwd
  14. #define @KWSYS_NAMESPACE@_std_iosfwd
  15. #include <@KWSYS_NAMESPACE@/Configure.hxx>
  16. #ifdef _MSC_VER
  17. #pragma warning (push, 1)
  18. #pragma warning (disable: 4702)
  19. #endif
  20. #if !defined(KWSYS_NO_ANSI_STREAM_HEADERS)
  21. # include <iosfwd>
  22. #else
  23. class fstream;
  24. class ifstream;
  25. class ios;
  26. class istream;
  27. class ofstream;
  28. class ostream;
  29. # if !defined(KWSYS_NO_STD_NAMESPACE)
  30. namespace std
  31. {
  32. using ::fstream;
  33. using ::ifstream;
  34. using ::ios;
  35. using ::istream;
  36. using ::ofstream;
  37. using ::ostream;
  38. }
  39. # endif
  40. #endif
  41. #ifdef _MSC_VER
  42. #pragma warning(pop)
  43. #endif
  44. #endif