kwsys_std_iostream.h.in 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_iostream
  14. #define @KWSYS_NAMESPACE@_std_iostream
  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_NAMESPACE@_NO_ANSI_STREAM_HEADERS)
  21. # include <iostream>
  22. #else
  23. # include <iostream.h>
  24. # if !defined(@KWSYS_NAMESPACE@_NO_STD_NAMESPACE) && !defined(@KWSYS_NAMESPACE@_FAKE_STD_NAMESPACE)
  25. namespace std
  26. {
  27. using ::ostream;
  28. using ::istream;
  29. using ::ios;
  30. using ::cout;
  31. using ::cerr;
  32. using ::cin;
  33. using ::endl;
  34. using ::flush;
  35. }
  36. # endif
  37. #endif
  38. #ifdef _MSC_VER
  39. #pragma warning(pop)
  40. #endif
  41. #endif