mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +03:00
Redundant keyword 'mutable' removed in CDL files. In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed. Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
63 lines
2.3 KiB
Plaintext
63 lines
2.3 KiB
Plaintext
-- Created on: 1994-06-03
|
|
-- Created by: Christian CAILLET
|
|
-- Copyright (c) 1994-1999 Matra Datavision
|
|
-- 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.
|
|
|
|
class WorkLibrary from IGESSelect inherits WorkLibrary from IFSelect
|
|
|
|
---Purpose : Performs Read and Write an IGES File with an IGES Model
|
|
|
|
uses CString, Transient,
|
|
InterfaceModel, Protocol from Interface, CheckIterator, ContextWrite,
|
|
Messenger from Message,
|
|
Protocol from IGESData
|
|
|
|
is
|
|
|
|
Create (modefnes : Boolean = Standard_False)
|
|
returns WorkLibrary from IGESSelect;
|
|
---Purpose : Creates a IGES WorkLibrary
|
|
-- If <modefnes> is given as True, it will work for FNES
|
|
|
|
ReadFile (me; name : CString;
|
|
model : out InterfaceModel;
|
|
protocol : Protocol from Interface)
|
|
returns Integer;
|
|
---Purpose : Reads a IGES File and returns a IGES Model (into <mod>),
|
|
-- or lets <mod> "Null" in case of Error
|
|
-- Returns 0 if OK, 1 if Read Error, -1 if File not opened
|
|
|
|
WriteFile (me; ctx : in out ContextWrite) returns Boolean;
|
|
---Purpose : Writes a File from a IGES Model (brought by <ctx>)
|
|
-- Returns False (and writes no file) if <ctx> is not for IGES
|
|
|
|
DefineProtocol (myclass) returns Protocol from IGESData;
|
|
---Purpose : Defines a protocol to be adequate for IGES
|
|
-- (encompasses ALL the IGES norm including IGESSolid, IGESAppli)
|
|
|
|
DumpEntity (me;
|
|
model : InterfaceModel;
|
|
protocol : Protocol from Interface;
|
|
entity : Transient;
|
|
S : Messenger from Message;
|
|
level : Integer);
|
|
---Purpose : Dumps an IGES Entity with an IGES Dumper. <level> is the one
|
|
-- used by IGESDumper.
|
|
|
|
fields
|
|
|
|
themodefnes : Boolean;
|
|
|
|
end WorkLibrary;
|