mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-02 01:36:43 +08: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.
98 lines
3.3 KiB
Plaintext
98 lines
3.3 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.
|
|
|
|
class Plex from StepData inherits Described from StepData
|
|
|
|
---Purpose : A Plex (for Complex) Entity is defined as a list of Simple
|
|
-- Members ("external mapping")
|
|
-- The types of these members must be in alphabetic order
|
|
|
|
uses CString,
|
|
SequenceOfTransient from TColStd,
|
|
HSequenceOfAsciiString from TColStd,
|
|
Check from Interface, EntityIterator from Interface,
|
|
ECDescr from StepData, Simple from StepData, Field from StepData
|
|
|
|
raises InterfaceMismatch
|
|
|
|
is
|
|
|
|
Create (descr : ECDescr) returns Plex;
|
|
---Purpose : Creates a Plex (empty). The complete creation is made by the
|
|
-- ECDescr itself, by calling Add
|
|
|
|
Add (me : mutable; member : Simple);
|
|
---Purpose : Adds a member to <me>
|
|
|
|
ECDescr (me) returns ECDescr;
|
|
---Purpose : Returns the Description as for a Plex
|
|
|
|
-- inherited
|
|
|
|
IsComplex (me) returns Boolean;
|
|
---Purpose : Returns False
|
|
|
|
|
|
Matches (me; steptype : CString) returns Boolean;
|
|
---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;
|
|
---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;
|
|
---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;
|
|
-- 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;
|
|
-- raises if no Field for <name>
|
|
---C++ : return &
|
|
|
|
-- more specific
|
|
|
|
NbMembers (me) returns Integer;
|
|
---Purpose : Returns the count of simple members
|
|
|
|
Member (me; num : Integer) returns Simple;
|
|
---Purpose : Returns a simple member from its rank
|
|
|
|
TypeList (me) returns HSequenceOfAsciiString;
|
|
---Purpose : Returns the actual list of members types
|
|
|
|
--
|
|
|
|
Check (me; ach : in out Check from Interface);
|
|
---Purpose : Fills a Check by using its Description
|
|
|
|
Shared (me; list : in out EntityIterator from Interface);
|
|
---Purpose : Fills an EntityIterator with entities shared by <me>
|
|
|
|
fields
|
|
|
|
themembers : SequenceOfTransient;
|
|
|
|
end Plex;
|