0026377: Passing Handle objects as arguments to functions as non-const reference...
[occt.git] / src / DDF / DDF_IOStream.cxx
index 4605d2d..45e17bf 100644 (file)
@@ -162,7 +162,7 @@ Storage_Error DDF_IOStream::Close()
 //purpose  : 
 //=======================================================================
 
-const Standard_CString DDF_IOStream::MagicNumber()
+Standard_CString DDF_IOStream::MagicNumber()
 { return MAGICNUMBER; }
 
 //=======================================================================
@@ -644,7 +644,7 @@ Storage_Error DDF_IOStream::BeginReadInfoSection()
   ReadChar(l,len);
   
   if (strncmp(DDF_IOStream::MagicNumber(),l.ToCString(),len) != 0) {
-#ifdef DDF_DEB
+#ifdef OCCT_DEBUG
     cout<<"BeginReadInfoSection: format error"<<endl;
 #endif
     s = Storage_VSFormatError;
@@ -702,6 +702,15 @@ void DDF_IOStream::ReadInfo(Standard_Integer& nbObj,
   }
 }
 
+//=======================================================================
+//function : ReadCompleteInfo
+//purpose  : 
+//=======================================================================
+void DDF_IOStream::ReadCompleteInfo( Standard_IStream& /*theIStream*/, Handle(Storage_Data)& /*theData*/ )
+{
+
+}
+
 //=======================================================================
 //function : EndReadInfoSection
 //purpose  : 
@@ -1344,7 +1353,7 @@ Storage_Error DDF_IOStream::IsGoodFileType(istream* anIStream)
     f.Close();
 
     if (strncmp(DDF_IOStream::MagicNumber(),l.ToCString(),len) != 0) {
-#ifdef DDF_DEB
+#ifdef OCCT_DEBUG
     cout<<"IsGoodFileType: format error"<<endl;
 #endif
       s = Storage_VSFormatError;