0024428: Implementation of LGPL license
[occt.git] / src / StepRepr / StepRepr_PropertyDefinition.cdl
CommitLineData
b311480e 1-- Created on: 2000-07-03
2-- Created by: Andrey BETENEV
973c2be1 3-- Copyright (c) 2000-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.1
7fd59977 17
18class PropertyDefinition from StepRepr
19inherits TShared from MMgt
20
21 ---Purpose: Representation of STEP entity PropertyDefinition
22
23uses
24 HAsciiString from TCollection,
25 CharacterizedDefinition from StepRepr
26
27is
28 Create returns PropertyDefinition from StepRepr;
29 ---Purpose: Empty constructor
30
31 Init (me: mutable; aName: HAsciiString from TCollection;
32 hasDescription: Boolean;
33 aDescription: HAsciiString from TCollection;
34 aDefinition: CharacterizedDefinition from StepRepr);
35 ---Purpose: Initialize all fields (own and inherited)
36
37 Name (me) returns HAsciiString from TCollection;
38 ---Purpose: Returns field Name
39 SetName (me: mutable; Name: HAsciiString from TCollection);
40 ---Purpose: Set field Name
41
42 Description (me) returns HAsciiString from TCollection;
43 ---Purpose: Returns field Description
44 SetDescription (me: mutable; Description: HAsciiString from TCollection);
45 ---Purpose: Set field Description
46 HasDescription (me) returns Boolean;
47 ---Purpose: Returns True if optional field Description is defined
48
49 Definition (me) returns CharacterizedDefinition from StepRepr;
50 ---Purpose: Returns field Definition
51 SetDefinition (me: mutable; Definition: CharacterizedDefinition from StepRepr);
52 ---Purpose: Set field Definition
53
54fields
55 theName: HAsciiString from TCollection;
56 theDescription: HAsciiString from TCollection; -- optional
57 theDefinition: CharacterizedDefinition from StepRepr;
58 defDescription: Boolean; -- flag "is Description defined"
59
60end PropertyDefinition;