0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / StepRepr / StepRepr_PropertyDefinition.cdl
1 -- Created on: 2000-07-03
2 -- Created by: Andrey BETENEV
3 -- Copyright (c) 2000-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License 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.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 -- Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
17
18 class PropertyDefinition from StepRepr
19 inherits TShared from MMgt
20
21     ---Purpose: Representation of STEP entity PropertyDefinition
22
23 uses
24     HAsciiString from TCollection,
25     CharacterizedDefinition from StepRepr
26
27 is
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
54 fields
55     theName: HAsciiString from TCollection;
56     theDescription: HAsciiString from TCollection; -- optional
57     theDefinition: CharacterizedDefinition from StepRepr;
58     defDescription: Boolean; -- flag "is Description defined"
59
60 end PropertyDefinition;