-
-#include <RWHeaderSection_RWFileName.ixx>
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
+
+
+#include <HeaderSection_FileName.hxx>
+#include <Interface_Check.hxx>
#include <Interface_HArray1OfHAsciiString.hxx>
-
+#include <RWHeaderSection_RWFileName.hxx>
+#include <StepData_StepReaderData.hxx>
+#include <StepData_StepWriter.hxx>
RWHeaderSection_RWFileName::RWHeaderSection_RWFileName () {}
// --- own field : name ---
Handle(TCollection_HAsciiString) aName;
- Standard_Boolean stat1;
- stat1 = data->ReadString (num,1,"name",ach,aName);
+ data->ReadString (num,1,"name",ach,aName);
// --- own field : timeStamp ---
Handle(TCollection_HAsciiString) aTimeStamp;
- Standard_Boolean stat2;
- stat2 = data->ReadString (num,2,"time_stamp",ach,aTimeStamp);
+ data->ReadString (num,2,"time_stamp",ach,aTimeStamp);
// --- own field : author ---
// --- own field : preprocessorVersion ---
Handle(TCollection_HAsciiString) aPreprocessorVersion;
- Standard_Boolean stat5;
- stat5 = data->ReadString (num,5,"preprocessor_version",ach,aPreprocessorVersion);
+ data->ReadString (num,5,"preprocessor_version",ach,aPreprocessorVersion);
// --- own field : originatingSystem ---
Handle(TCollection_HAsciiString) aOriginatingSystem;
- Standard_Boolean stat6;
- stat6 = data->ReadString (num,6,"originating_system",ach,aOriginatingSystem);
+ data->ReadString (num,6,"originating_system",ach,aOriginatingSystem);
// --- own field : authorisation ---
Handle(TCollection_HAsciiString) aAuthorisation;
- Standard_Boolean stat7;
- stat7 = data->ReadString (num,7,"authorisation",ach,aAuthorisation);
+ data->ReadString (num,7,"authorisation",ach,aAuthorisation);
//--- Initialisation of the read entity ---