Standard_Boolean BinTools::Write (const TopoDS_Shape& theShape, const Standard_CString theFile)
{
- ofstream aStream;
+ std::ofstream aStream;
aStream.precision (15);
- OSD_OpenStream (aStream, theFile, ios::out | ios::binary);
+ OSD_OpenStream (aStream, theFile, std::ios::out | std::ios::binary);
if (!aStream.good())
return Standard_False;
Standard_Boolean BinTools::Read (TopoDS_Shape& theShape, const Standard_CString theFile)
{
- filebuf aBuf;
- OSD_OpenStream (aBuf, theFile, ios::in | ios::binary);
+ std::filebuf aBuf;
+ OSD_OpenStream (aBuf, theFile, std::ios::in | std::ios::binary);
if (!aBuf.is_open())
return Standard_False;