strstream.h

00001 /*
00002  * Copyright (c) 1999 
00003  * Boris Fomitchev
00004  *
00005  * This material is provided "as is", with absolutely no warranty expressed
00006  * or implied. Any use is at your own risk.
00007  *
00008  * Permission to use or copy this software for any purpose is hereby granted 
00009  * without fee, provided the above notices are retained on all copies.
00010  * Permission to modify the code and to distribute modified code is granted,
00011  * provided the above notices are retained, and a notice that the code was
00012  * modified is included with the above copyright notice.
00013  *
00014  */
00015 
00016 #ifndef _STLP_STRSTREAM_H
00017 # define _STLP_STRSTREAM_H
00018 
00019 # ifndef _STLP_OUTERMOST_HEADER_ID
00020 #  define _STLP_OUTERMOST_HEADER_ID 0x2071
00021 #  include <stl/_prolog.h>
00022 # endif
00023 
00024 # if defined ( _STLP_USE_NEW_IOSTREAMS )
00025 
00026 // fbp - if we are going to use that consistently, let's do it
00027 #ifdef __BORLANDC__
00028 #  include <strstream.>
00029 #else
00030 #  include <strstream>
00031 #endif
00032 
00033 # include  <iostream.h>
00034 
00035 
00036 # ifndef _STLP_HAS_NO_NAMESPACES
00037 
00038 #  ifdef _STLP_BROKEN_USING_DIRECTIVE
00039 
00040 using namespace _STLP_STD;
00041 
00042 #  else
00043 
00044 using _STLP_STD::strstreambuf;
00045 using _STLP_STD::istrstream;
00046 using _STLP_STD::ostrstream;
00047 using _STLP_STD::strstream;
00048 
00049 #  endif /* _STLP_BROKEN_USING_DIRECTIVE */
00050 
00051 # endif /* _STLP_HAS_NO_NAMESPACES */
00052 
00053 # else
00054 
00055 
00056 // just include old-style strstream.h
00057 #  if defined (_MSC_VER) && (_MSC_VER <= 1200) && !defined (__SYMBIAN32__)
00058 #   include _STLP_NATIVE_OLD_STREAMS_HEADER(strstrea.h)
00059 #  else
00060 #   include _STLP_NATIVE_OLD_STREAMS_HEADER(strstream.h)
00061 #  endif
00062 
00063 # endif
00064 
00065 # if (_STLP_OUTERMOST_HEADER_ID == 0x2071)
00066 #  include <stl/_epilog.h>
00067 #  undef _STLP_OUTERMOST_HEADER_ID
00068 # endif
00069 
00070 #endif /* _STLP_STRSTREAM_H */
00071 
00072 // Local Variables:
00073 // mode:C++
00074 // End:
00075 

Generated on Mon Jun 5 10:20:45 2006 for Intelligence.kdevelop by  doxygen 1.4.6