mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-26 01:57:30 +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.
87 lines
3.1 KiB
Plaintext
87 lines
3.1 KiB
Plaintext
-- Created on: 1993-01-09
|
|
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
|
|
-- 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 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 SubfigureDef from IGESBasic inherits IGESEntity
|
|
|
|
---Purpose: defines SubfigureDef, Type <308> Form <0>
|
|
-- in package IGESBasic
|
|
-- This Entity permits a single definition of a detail to
|
|
-- be utilized in multiple instances in the creation of
|
|
-- the whole picture
|
|
|
|
uses
|
|
|
|
HAsciiString from TCollection,
|
|
Transient ,
|
|
HArray1OfIGESEntity from IGESData
|
|
|
|
raises OutOfRange
|
|
|
|
is
|
|
|
|
Create returns SubfigureDef;
|
|
|
|
-- Specific Methods pertaining to the class
|
|
|
|
Init (me : mutable;
|
|
aDepth : Integer;
|
|
aName : HAsciiString;
|
|
allAssocEntities : HArray1OfIGESEntity);
|
|
---Purpose : This method is used to set the fields of the class
|
|
-- SubfigureDef
|
|
-- - aDepth : It indicates the amount of nesting
|
|
-- - aName : the subfigure name
|
|
-- - allAssocEntities : the associated entities
|
|
|
|
Depth (me) returns Integer;
|
|
---Purpose : returns depth of the Subfigure
|
|
-- if theDepth = 0 - No reference to any subfigure instance.
|
|
|
|
Name (me) returns HAsciiString from TCollection;
|
|
---Purpose : returns the name of Subfigure
|
|
|
|
NbEntities (me) returns Integer;
|
|
---Purpose : returns number of entities. Is greater than or equal to zero.
|
|
|
|
AssociatedEntity (me; Index : Integer) returns IGESEntity
|
|
raises OutOfRange;
|
|
---Purpose : returns the specific entity as indicated by Index
|
|
-- raises exception if Index <= 0 or Index > NbEntities()
|
|
|
|
Value (me; Index : Integer) returns Transient
|
|
raises OutOfRange;
|
|
---Purpose : returns the specific entity as indicated by Index
|
|
-- raises exception if Index <= 0 or Index > NbEntities()
|
|
|
|
fields
|
|
|
|
--
|
|
-- Class : IGESBasic_SubfigureDef
|
|
--
|
|
-- Purpose : Declaration of variables specific to the definition
|
|
-- of the Class SubfigureDef.
|
|
--
|
|
-- Reminder : A SubfigureDef instance is defined by :
|
|
-- - indicates the amount of nesting
|
|
-- - the subfigure name
|
|
-- - the associated entities
|
|
|
|
theDepth : Integer;
|
|
theName : HAsciiString from TCollection;
|
|
theAssocEntities : HArray1OfIGESEntity;
|
|
|
|
end SubfigureDef;
|