mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30: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.
78 lines
2.8 KiB
Plaintext
78 lines
2.8 KiB
Plaintext
-- Created on: 1997-05-09
|
|
-- Created by: Christian CAILLET
|
|
-- Copyright (c) 1997-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.
|
|
|
|
deferred class Described from StepData inherits TShared from MMgt
|
|
|
|
---Purpose : General frame to describe entities with Description (Simple or
|
|
-- Complex)
|
|
|
|
uses CString,
|
|
Check from Interface, EntityIterator from Interface,
|
|
Field from StepData, EDescr from StepData, Simple from StepData
|
|
|
|
raises InterfaceMismatch from Interface
|
|
|
|
is
|
|
|
|
Initialize (descr : EDescr);
|
|
---Purpose : Initializes a Described Entity from a Description
|
|
-- (i.e. puts it in a field ...)
|
|
|
|
Description (me) returns EDescr;
|
|
---Purpose : Returns the Description used to define this entity
|
|
|
|
IsComplex (me) returns Boolean is deferred;
|
|
---Purpose : Tells if a described entity is complex
|
|
|
|
Matches (me; steptype : CString) returns Boolean is deferred;
|
|
---Purpose : Tells if a step type is matched by <me>
|
|
-- For a Simple Entity : own type or super type
|
|
-- For a Complex Entity : one of the members
|
|
|
|
As (me; steptype : CString) returns Simple is deferred;
|
|
---Purpose : Returns a Simple Entity which matches with a Type in <me> :
|
|
-- For a Simple Entity : me if it matches, else a null handle
|
|
-- For a Complex Entity : the member which matches, else null
|
|
|
|
HasField (me; name : CString) returns Boolean is deferred;
|
|
---Purpose : Tells if a Field brings a given name
|
|
|
|
Field (me; name : CString) returns Field
|
|
---Purpose : Returns a Field from its name; read-only
|
|
raises InterfaceMismatch is deferred;
|
|
-- raises if no Field for <name>
|
|
---C++ : return const &
|
|
|
|
CField (me : mutable; name : CString) returns Field
|
|
---Purpose : Returns a Field from its name; read or write
|
|
raises InterfaceMismatch is deferred;
|
|
-- raises if no Field for <name>
|
|
---C++ : return &
|
|
|
|
--
|
|
|
|
Check (me; ach : in out Check from Interface) is deferred;
|
|
---Purpose : Fills a Check by using its Description
|
|
|
|
Shared (me; list : in out EntityIterator from Interface) is deferred;
|
|
---Purpose : Fills an EntityIterator with entities shared by <me>
|
|
|
|
fields
|
|
|
|
thedescr : EDescr;
|
|
|
|
end Described;
|