#endif
#include <iostream>
-#include <strstream>
+#include <sstream>
#include <string>
#include <stdio.h>
#include <time.h>
// CORBA::String_var LogMsg = CORBA::string_dup( str() );
//Allow automatic deletion of ostrstream content
- char* adt = str();
+ const char* adt = str().c_str();
CORBA::String_var LogMsg = CORBA::string_dup( adt );
- rdbuf()->freeze(false);
+ //rdbuf()->freeze(false);
//rdbuf()->sync(); // problem with gcc3.2
seekp(0);
#if !defined(AFX_LOGGER_H__96F2A3AB_F6F8_11D6_BFA6_000476A0958C__INCLUDED_)
#define AFX_LOGGER_H__96F2A3AB_F6F8_11D6_BFA6_000476A0958C__INCLUDED_
-#include <strstream>
+#include <sstream>
#include <SALOMEconfig.h>
#include "Logger.hh"
# endif /* WIN32 */
-class SALOME_Trace : public std::ostrstream
+class SALOME_Trace : public std::ostringstream
{
public:
virtual ~SALOME_Trace();
#include "Utils_ExceptHandlers.hxx"
#include <stdexcept>
-#include <strstream>
+#include <sstream>
#include <string>
#include <vector>
#include "SALOMEDS_AttributeTableOfReal_i.hxx"
#include "SALOMEDS.hxx"
-#include <strstream>
+#include <sstream>
#include <string>
#include <vector>
#include "SALOMEDS_AttributeTableOfString_i.hxx"
#include "SALOMEDS.hxx"
-#include <strstream>
+#include <sstream>
#include <string>
#include <vector>
#include "Basics_Utils.hxx"
#include "SALOME_GenericObj_i.hh"
-#include <strstream>
+#include <sstream>
#include <vector>
#include <map>
#include <stdio.h>
#include <stdlib.h>
-#include <strstream>
+#include <sstream>
#include <sstream>
using namespace std;
_realarrays.clear();
_intarrays.clear();
- istrstream buffer(theValue.c_str(), theValue.size());
+ istringstream buffer(theValue.c_str());
int size, val, ival;
double val2;
// Module : SALOME
//
#include "SALOMEDSImpl_AttributeTableOfInteger.hxx"
-#include <strstream>
+#include <sstream>
using namespace std;
//
#include "SALOMEDSImpl_AttributeTableOfReal.hxx"
#include <stdio.h>
-#include <strstream>
+#include <sstream>
using namespace std;
#include "SALOMEDSImpl_AttributeTableOfString.hxx"
#include <stdio.h>
#include <stdlib.h>
-#include <strstream>
+#include <sstream>
using namespace std;
#include "SALOMEDSImpl_Defines.hxx"
// std C++ headers
-#include <strstream>
+#include <sstream>
#include <string>
#include <vector>