kwsys_ios_iosfwd.h.in 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*============================================================================
  2. KWSys - Kitware System Library
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef @KWSYS_NAMESPACE@_ios_iosfwd
  11. #define @KWSYS_NAMESPACE@_ios_iosfwd
  12. #include <@KWSYS_NAMESPACE@/Configure.hxx>
  13. #ifdef _MSC_VER
  14. #pragma warning (push, 1)
  15. #pragma warning (disable: 4702)
  16. #endif
  17. #if @KWSYS_NAMESPACE@_IOS_USE_ANSI
  18. # include <iosfwd>
  19. #else
  20. class fstream;
  21. class ifstream;
  22. class ios;
  23. class istream;
  24. class ofstream;
  25. class ostream;
  26. #endif
  27. #if !@KWSYS_NAMESPACE@_IOS_USE_SSTREAM
  28. namespace @KWSYS_NAMESPACE@_ios
  29. {
  30. using @KWSYS_NAMESPACE@_ios_namespace::fstream;
  31. using @KWSYS_NAMESPACE@_ios_namespace::ifstream;
  32. using @KWSYS_NAMESPACE@_ios_namespace::ios;
  33. using @KWSYS_NAMESPACE@_ios_namespace::istream;
  34. using @KWSYS_NAMESPACE@_ios_namespace::ofstream;
  35. using @KWSYS_NAMESPACE@_ios_namespace::ostream;
  36. }
  37. #endif
  38. #ifdef _MSC_VER
  39. #pragma warning(pop)
  40. #endif
  41. #endif