summaryrefslogtreecommitdiff
path: root/inc/Standard_SStream.hxx
blob: 4431a5c9ca96ed04595352efe6e75c68e91a507c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// File:      Standard_SStream.hxx
// Copyright: Open Cascade 2010
// Purpose:   Defines Standard_SStream as typedef to C++ string stream.

#ifndef _Standard_SStream_HeaderFile
#define _Standard_SStream_HeaderFile

#ifndef _Standard_Stream_HeaderFile
#include <Standard_Stream.hxx>
#endif

#ifdef USE_STL_STREAM

  #include <sstream>

  typedef std::stringstream Standard_SStream;

#else /* USE_STL_STREAM */

  #ifdef WNT
    #include <strstrea.h>
  #else
    #include <strstream.h>
  #endif

  typedef strstream Standard_SStream;

#endif /* USE_STL_STREAM */

#endif