1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
occt/src/StepElement/StepElement_MeasureOrUnspecifiedValue.cdl
bugmaster b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00

61 lines
2.5 KiB
Plaintext
Executable File

-- Created on: 2002-12-10
-- Created by: data exchange team
-- Copyright (c) 2002-2012 OPEN CASCADE SAS
--
-- The content of this file is subject to the Open CASCADE Technology Public
-- License Version 6.5 (the "License"). You may not use the content of this file
-- except in compliance with the License. Please obtain a copy of the License
-- at http://www.opencascade.org and read it completely before using this file.
--
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
--
-- The Original Code and all software distributed under the License is
-- distributed on an "AS IS" basis, without warranty of any kind, and the
-- Initial Developer hereby disclaims all such warranties, including without
-- limitation, any warranties of merchantability, fitness for a particular
-- purpose or non-infringement. Please see the License for the specific terms
-- and conditions governing the rights and limitations under the License.
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V2.0
class MeasureOrUnspecifiedValue from StepElement inherits SelectType from StepData
---Purpose: Representation of STEP SELECT type MeasureOrUnspecifiedValue
uses
SelectMember from StepData,
UnspecifiedValue from StepElement
is
Create returns MeasureOrUnspecifiedValue from StepElement;
---Purpose: Empty constructor
CaseNum (me; ent: Transient) returns Integer;
---Purpose: Recognizes a kind of MeasureOrUnspecifiedValue select type
-- return 0
CaseMem (me; ent: SelectMember from StepData) returns Integer is redefined;
---Purpose: Recognizes a items of select member MeasureOrUnspecifiedValueMember
-- 1 -> ContextDependentMeasure
-- 2 -> UnspecifiedValue
-- 0 else
NewMember(me) returns SelectMember from StepData is redefined;
---Purpose: Returns a new select member the type MeasureOrUnspecifiedValueMember
SetContextDependentMeasure(me: in out; aVal :Real);
---Purpose: Set Value for ContextDependentMeasure
ContextDependentMeasure (me) returns Real;
---Purpose: Returns Value as ContextDependentMeasure (or Null if another type)
SetUnspecifiedValue(me: in out; aVal :UnspecifiedValue from StepElement);
---Purpose: Set Value for UnspecifiedValue
UnspecifiedValue (me) returns UnspecifiedValue from StepElement;
---Purpose: Returns Value as UnspecifiedValue (or Null if another type)
end MeasureOrUnspecifiedValue;