mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-16 14:45:07 +08:00
The copying permission statements at the beginning of source files updated to refer to LGPL. Copyright dates extended till 2014 in advance.
58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
-- Created on: 1993-09-08
|
|
-- Created by: Christian CAILLET
|
|
-- Copyright (c) 1993-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 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 DefaultGeneral from IGESData inherits GeneralModule from IGESData
|
|
|
|
---Purpose : Processes the specific case of UndefinedEntity from IGESData
|
|
-- (Case Number 1)
|
|
|
|
uses OStream, Transient,
|
|
InterfaceModel, Check, ShareTool, EntityIterator, CopyTool,
|
|
IGESEntity, DirChecker
|
|
|
|
is
|
|
|
|
Create returns mutable DefaultGeneral;
|
|
---Purpose : Creates a DefaultGeneral and puts it into GeneralLib,
|
|
-- bound with a Protocol from IGESData
|
|
|
|
OwnSharedCase (me; CN : Integer; ent : IGESEntity;
|
|
iter : in out EntityIterator);
|
|
---Purpose : Lists the Entities shared by an IGESEntity, which must be
|
|
-- an UndefinedEntity
|
|
|
|
|
|
DirChecker (me; CN : Integer; ent : IGESEntity) returns DirChecker;
|
|
---Purpose : Returns a DirChecker, specific for each type of Entity
|
|
-- Here, Returns an empty DirChecker (no constraint to check)
|
|
|
|
OwnCheckCase (me; CN : Integer; ent : IGESEntity; shares : ShareTool;
|
|
ach : in out Check);
|
|
---Purpose : Performs Specific Semantic Check for each type of Entity
|
|
-- Here, does nothing (no constraint to check)
|
|
|
|
|
|
NewVoid (me; CN : Integer; entto : out mutable Transient)
|
|
returns Boolean;
|
|
---Purpose : Specific creation of a new void entity (UndefinedEntity only)
|
|
|
|
OwnCopyCase (me; CN : Integer;
|
|
entfrom : IGESEntity; entto : mutable IGESEntity;
|
|
TC : in out CopyTool);
|
|
---Purpose : Copies parameters which are specific of each Type of Entity
|
|
|
|
end DefaultGeneral;
|