1
0

kwsys_ios_iostream.h.in 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*=========================================================================
  2. Program: KWSys - Kitware System Library
  3. Module: $RCSfile$
  4. Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved.
  5. See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even
  7. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  8. PURPOSE. See the above copyright notices for more information.
  9. =========================================================================*/
  10. #ifndef @KWSYS_NAMESPACE@_ios_iostream
  11. #define @KWSYS_NAMESPACE@_ios_iostream
  12. #include <@KWSYS_NAMESPACE@/Configure.hxx>
  13. #ifdef _MSC_VER
  14. # pragma warning (push, 1)
  15. # pragma warning (disable: 4702)
  16. # pragma warning (disable: 4995) /* Old streams are deprecated. */
  17. #endif
  18. #if @KWSYS_NAMESPACE@_IOS_USE_ANSI
  19. # include <iostream>
  20. #else
  21. # include <iostream.h>
  22. #endif
  23. #if !@KWSYS_NAMESPACE@_IOS_USE_SSTREAM
  24. namespace @KWSYS_NAMESPACE@_ios
  25. {
  26. using @KWSYS_NAMESPACE@_ios_namespace::ostream;
  27. using @KWSYS_NAMESPACE@_ios_namespace::istream;
  28. using @KWSYS_NAMESPACE@_ios_namespace::ios;
  29. using @KWSYS_NAMESPACE@_ios_namespace::cout;
  30. using @KWSYS_NAMESPACE@_ios_namespace::cerr;
  31. using @KWSYS_NAMESPACE@_ios_namespace::cin;
  32. using @KWSYS_NAMESPACE@_ios_namespace::endl;
  33. using @KWSYS_NAMESPACE@_ios_namespace::flush;
  34. }
  35. #endif
  36. #ifdef _MSC_VER
  37. # pragma warning(pop)
  38. #endif
  39. #endif