mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-11 17:43:28 +08:00
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.
106 lines
4.2 KiB
Plaintext
106 lines
4.2 KiB
Plaintext
-- Created on: 1993-01-11
|
|
-- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
|
|
-- 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 LevelToPWBLayerMap from IGESAppli inherits IGESEntity
|
|
|
|
---Purpose: defines LevelToPWBLayerMap, Type <406> Form <24>
|
|
-- in package IGESAppli
|
|
-- Used to correlate an exchange file level number with
|
|
-- its corresponding native level identifier, physical PWB
|
|
-- layer number and predefined functional level
|
|
-- identification
|
|
|
|
uses
|
|
|
|
HAsciiString from TCollection,
|
|
HArray1OfInteger from TColStd,
|
|
HArray1OfHAsciiString from Interface
|
|
|
|
raises DimensionMismatch, OutOfRange
|
|
|
|
is
|
|
|
|
Create returns mutable LevelToPWBLayerMap;
|
|
|
|
-- Specific Methods pertaining to the class
|
|
|
|
Init (me : mutable;
|
|
nbPropVal : Integer;
|
|
allExchLevels : HArray1OfInteger;
|
|
allNativeLevels : HArray1OfHAsciiString;
|
|
allPhysLevels : HArray1OfInteger;
|
|
allExchIdents : HArray1OfHAsciiString)
|
|
raises DimensionMismatch;
|
|
---Purpose : This method is used to set the fields of the class
|
|
-- LevelToPWBLayerMap
|
|
-- - nbPropVal : Number of property values
|
|
-- - allExchLevels : Exchange File Level Numbers
|
|
-- - allNativeLevels : Native Level Identifications
|
|
-- - allPhysLevels : Physical Layer Numbers
|
|
-- - allExchIdents : Exchange File Level Identifications
|
|
-- raises exception if allExchLevels, allNativeLevels, allPhysLevels
|
|
-- and all ExchIdents are not of same dimensions
|
|
|
|
NbPropertyValues (me) returns Integer;
|
|
---Purpose : returns number of property values
|
|
|
|
NbLevelToLayerDefs (me) returns Integer;
|
|
---Purpose : returns number of level to layer definitions
|
|
|
|
ExchangeFileLevelNumber (me; Index : Integer) returns Integer
|
|
raises OutOfRange;
|
|
---Purpose : returns Exchange File Level Number
|
|
-- raises exception if Index <= 0 or Index > NbLevelToLayerDefs
|
|
|
|
NativeLevel (me; Index : Integer) returns HAsciiString from TCollection
|
|
raises OutOfRange;
|
|
---Purpose : returns Native Level Identification
|
|
-- raises exception if Index <= 0 or Index > NbLevelToLayerDefs
|
|
|
|
PhysicalLayerNumber (me; Index : Integer) returns Integer
|
|
raises OutOfRange;
|
|
---Purpose : returns Physical Layer Number
|
|
-- raises exception if Index <= 0 or Index > NbLevelToLayerDefs
|
|
|
|
ExchangeFileLevelIdent (me; Index : Integer)
|
|
returns HAsciiString from TCollection
|
|
raises OutOfRange;
|
|
-- returns Exchange File Level Identification
|
|
-- raises exception if Index <= 0 or Index > NbLevelToLayerDefs
|
|
|
|
fields
|
|
|
|
--
|
|
-- Class : IGESAppli_LevelToPWBLayerMap
|
|
--
|
|
-- Purpose : Declaration of variables specific to the definition
|
|
-- of the Class LevelToPWBLayerMap.
|
|
--
|
|
-- Reminder : A LevelToPWBLayerMap instance is defined by :
|
|
-- - Number of property values
|
|
-- - Exchange File Level Numbers
|
|
-- - Native Level Identifications
|
|
-- - Physical Layer Numbers
|
|
-- - Exchange File Level Identifications
|
|
|
|
theNbPropertyValues : Integer;
|
|
theExchangeFileLevelNumber : HArray1OfInteger;
|
|
theNativeLevel : HArray1OfHAsciiString;
|
|
thePhysicalLayerNumber : HArray1OfInteger;
|
|
theExchangeFileLevelIdent : HArray1OfHAsciiString;
|
|
|
|
end LevelToPWBLayerMap;
|