}
catch(Standard_Failure const& anException) {
Standard_SStream aMsg;
- aMsg << "EXCEPTION in BinTools_CurveSet::WriteCurve(..)" << endl;
- aMsg << anException << endl;
+ aMsg << "EXCEPTION in BinTools_CurveSet::WriteCurve(..)" << std::endl;
+ aMsg << anException << std::endl;
throw Standard_Failure(aMsg.str().c_str());
}
}
catch(Standard_Failure const& anException) {
C = NULL;
Standard_SStream aMsg;
- aMsg <<"EXCEPTION in BinTools_CurveSet::ReadCurve(..)" << endl;
- aMsg << anException << endl;
+ aMsg <<"EXCEPTION in BinTools_CurveSet::ReadCurve(..)" << std::endl;
+ aMsg << anException << std::endl;
throw Standard_Failure(aMsg.str().c_str());
}
return IS;
IS >> buffer;
if (IS.fail() || strcmp(buffer,"Curves")) {
Standard_SStream aMsg;
- aMsg << "BinTools_CurveSet::Read: Not a Curve table"<<endl;
+ aMsg << "BinTools_CurveSet::Read: Not a Curve table"<<std::endl;
#ifdef OCCT_DEBUG
- cout <<"CurveSet buffer: " << buffer << endl;
+ std::cout <<"CurveSet buffer: " << buffer << std::endl;
#endif
throw Standard_Failure(aMsg.str().c_str());
return;