diff options
author | Brad King <brad.king@kitware.com> | 2003-12-23 16:03:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-12-23 16:03:33 (GMT) |
commit | 032d1d86524fe1748cc7070786655c0ba563ae99 (patch) | |
tree | 04a415af48884aab3e549b7bdecd7d5470d54831 /Source/kwsys/kwsys_ios_iosfwd.h.in | |
parent | 0bdb092a019c87825a88208d4fdaef77379e3004 (diff) | |
download | CMake-032d1d86524fe1748cc7070786655c0ba563ae99.zip CMake-032d1d86524fe1748cc7070786655c0ba563ae99.tar.gz CMake-032d1d86524fe1748cc7070786655c0ba563ae99.tar.bz2 |
ENH: Merging changes from KWSys-IOS-bp to KWSys-IOS-b2t-1-mp to main tree. This introduces separate kwsys_ios and kwsys_stl macros needed to support all platforms.
Diffstat (limited to 'Source/kwsys/kwsys_ios_iosfwd.h.in')
-rw-r--r-- | Source/kwsys/kwsys_ios_iosfwd.h.in | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Source/kwsys/kwsys_ios_iosfwd.h.in b/Source/kwsys/kwsys_ios_iosfwd.h.in new file mode 100644 index 0000000..ec0a939 --- /dev/null +++ b/Source/kwsys/kwsys_ios_iosfwd.h.in @@ -0,0 +1,51 @@ +/*========================================================================= + + Program: KWSys - Kitware System Library + Module: $RCSfile$ + + Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved. + See Copyright.txt or http://www.kitware.com/Copyright.htm for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ +#ifndef @KWSYS_NAMESPACE@_ios_iosfwd +#define @KWSYS_NAMESPACE@_ios_iosfwd + +#include <@KWSYS_NAMESPACE@/Configure.hxx> + +#ifdef _MSC_VER +#pragma warning (push, 1) +#pragma warning (disable: 4702) +#endif + +#if @KWSYS_NAMESPACE@_IOS_HAVE_ANSI +# include <iosfwd> +#else +class fstream; +class ifstream; +class ios; +class istream; +class ofstream; +class ostream; +#endif + +#if !@KWSYS_NAMESPACE@_IOS_HAVE_SSTREAM +namespace @KWSYS_NAMESPACE@_ios +{ + using @KWSYS_NAMESPACE@_ios_namespace::fstream; + using @KWSYS_NAMESPACE@_ios_namespace::ifstream; + using @KWSYS_NAMESPACE@_ios_namespace::ios; + using @KWSYS_NAMESPACE@_ios_namespace::istream; + using @KWSYS_NAMESPACE@_ios_namespace::ofstream; + using @KWSYS_NAMESPACE@_ios_namespace::ostream; +} +#endif + +#ifdef _MSC_VER +#pragma warning(pop) +#endif + +#endif |