Files
OCCT/src/IGESDefs/IGESDefs_TabularData.cdl
abv 6e33d3ced2 0024830: Remove redundant keyword 'mutable' in CDL declarations
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.
2014-05-29 14:58:25 +04:00

134 lines
5.3 KiB
Plaintext

-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( SIVA )
-- 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 TabularData from IGESDefs inherits IGESEntity
---Purpose: Defines IGES Tabular Data, Type <406> Form <11>,
-- in package IGESDefs
-- This Class is used to provide a Structure to accomodate
-- point form data.
uses
HArray1OfInteger from TColStd,
HArray1OfReal from TColStd,
HArray1OfHArray1OfReal from IGESBasic
raises DimensionMismatch, OutOfRange
is
Create returns TabularData;
-- Specific methods for the entity
Init (me : mutable;
nbProps : Integer;
propType : Integer;
typesInd : HArray1OfInteger;
nbValuesInd : HArray1OfInteger;
valuesInd : HArray1OfHArray1OfReal;
valuesDep : HArray1OfHArray1OfReal)
raises DimensionMismatch;
---Purpose : This method is used to set the fields of the class
-- TabularData
-- - nbProps : Number of property values
-- - propType : Property Type
-- - typesInd : Type of independent variables
-- - nbValuesInd : Number of values of independent variables
-- - valuesInd : Values of independent variables
-- - valuesDep : Values of dependent variables
-- raises exception if lengths of typeInd and nbValuesInd are not same
NbPropertyValues(me) returns Integer;
---Purpose : returns the number of property values (recorded)
ComputedNbPropertyValues (me) returns Integer;
---Purpose : determines the number of property values required
OwnCorrect (me : mutable) returns Boolean;
---Purpose : checks, and correct as necessary, the number of property
-- values. Returns True if corrected, False if already OK
PropertyType(me) returns Integer;
---Purpose : returns the property type
NbDependents(me) returns Integer;
---Purpose : returns the number of dependent variables
NbIndependents(me) returns Integer;
---Purpose : returns the number of independent variables
TypeOfIndependents(me; num: Integer) returns Integer
raises OutOfRange;
---Purpose : returns the type of the num'th independent variable
-- raises exception if num <= 0 or num > NbIndependents()
NbValues(me; num : Integer) returns Integer
raises OutOfRange;
---Purpose : returns the number of different values of the num'th indep. variable
-- raises exception if num <= 0 or num > NbIndependents()
IndependentValue(me; variablenum : Integer; valuenum : Integer)
returns Real
raises OutOfRange;
-- returns valuenum'th value of the variablenum'th independent variable
-- raises exception if
-- variablenum <= 0 or variablenum > NbIndependents()
-- valuenum <= 0 or valuenum > NbValues(variablenum)
DependentValues (me; num : Integer) returns HArray1OfReal from TColStd
raises OutOfRange;
-- returns the entire list of recorded Dependent Values
-- UNRESOLVED. Temporarily, all dependent values are attached to
-- <num> = 1, the other values remain undefined
DependentValue(me; variablenum: Integer; valuenum: Integer)
returns Real
raises OutOfRange;
-- RESERVED, unresolved
-- valuenum'th value of the variablenum'th dependent variable
-- raises exception if
-- variablenum <= 0 or variablenum > NbIndependents()
-- valuenum <= 0 or valuenum > NbValues(variablenum)
fields
--
-- Class : IGESDefs_TabularData
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class TabularData.
--
-- Reminder : A TabularData instance is defined by :
-- - The number of properties
-- - The property type, an integer
-- - The property type, an integer
-- - The number of dependent variables
-- - The type of independent variables, a single array of Int
-- - The single array of integer values
-- - The single array of independent values
-- - The single array of dependent values
theNbPropertyValues : Integer;
thePropertyType : Integer;
theTypeOfIndependentVariables : HArray1OfInteger;
theNbValues : HArray1OfInteger;
theIndependentValues : HArray1OfHArray1OfReal;
theDependentValues : HArray1OfHArray1OfReal;
end TabularData;