0024428: Implementation of LGPL license
[occt.git] / src / StepDimTol / StepDimTol_DatumReference.cdl
CommitLineData
b311480e 1-- Created on: 2003-06-04
2-- Created by: Galina KULIKOVA
973c2be1 3-- Copyright (c) 2003-2014 OPEN CASCADE SAS
b311480e 4--
973c2be1 5-- This file is part of Open CASCADE Technology software library.
b311480e 6--
973c2be1 7-- This library is free software; you can redistribute it and / or modify it
8-- under the terms of the GNU Lesser General Public version 2.1 as published
9-- by the Free Software Foundation, with special exception defined in the file
10-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 12--
973c2be1 13-- Alternatively, this file may be used under the terms of Open CASCADE
14-- commercial license or contractual agreement.
b311480e 15
7fd59977 16-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
7fd59977 17
18class DatumReference from StepDimTol
19inherits TShared from MMgt
20
21 ---Purpose: Representation of STEP entity DatumReference
22
23uses
24 Datum from StepDimTol
25
26is
27 Create returns DatumReference from StepDimTol;
28 ---Purpose: Empty constructor
29
30 Init (me: mutable; aPrecedence: Integer;
31 aReferencedDatum: Datum from StepDimTol);
32 ---Purpose: Initialize all fields (own and inherited)
33
34 Precedence (me) returns Integer;
35 ---Purpose: Returns field Precedence
36 SetPrecedence (me: mutable; Precedence: Integer);
37 ---Purpose: Set field Precedence
38
39 ReferencedDatum (me) returns Datum from StepDimTol;
40 ---Purpose: Returns field ReferencedDatum
41 SetReferencedDatum (me: mutable; ReferencedDatum: Datum from StepDimTol);
42 ---Purpose: Set field ReferencedDatum
43
44fields
45 thePrecedence: Integer;
46 theReferencedDatum: Datum from StepDimTol;
47
48end DatumReference;