0031382: Data Exchange - BinXCAF should preserve length unit information
[occt.git] / src / IGESData / IGESData_IGESModel.hxx
index 55044e4..bd893b9 100644 (file)
@@ -92,7 +92,10 @@ public:
   Standard_EXPORT void AddStartLine (const Standard_CString line, const Standard_Integer atnum = 0);
   
   //! Returns the Global section of the IGES file.
-  Standard_EXPORT const IGESData_GlobalSection& GlobalSection() const;
+  const IGESData_GlobalSection& GlobalSection() const { return theheader; }
+
+  //! Returns the Global section of the IGES file.
+  IGESData_GlobalSection& ChangeGlobalSection() { return theheader; }
   
   //! Sets the Global section of the IGES file.
   Standard_EXPORT void SetGlobalSection (const IGESData_GlobalSection& header);