Files
OCCT/src/IGESBasic/IGESBasic_SubfigureDef.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-02-20 16:15:17 +04:00

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 mutable 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;