Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_MarkerMember.cdl
CommitLineData
7fd59977 1-- File: StepVisual_MarkerMember.cdl
2-- Created: Tue Apr 1 18:01:43 1997
3-- Author: Christian CAILLET
4-- <cky@heliox.paris1.matra-dtv.fr>
5---Copyright: Matra Datavision 1997
6
7
8class MarkerMember from StepVisual inherits SelectInt from StepData
9
10 ---Purpose : Defines MarkerType as unique member of MarkerSelect
11 -- Works with an EnumTool
12
13uses CString, MarkerType from StepVisual
14
15is
16
17 Create returns mutable MarkerMember;
18
19 HasName (me) returns Boolean is redefined;
20 -- returns True
21
22 Name (me) returns CString is redefined;
23 -- returns MARKER_TYPE
24
25 SetName (me : mutable; name : CString) returns Boolean is redefined;
26 -- does nothing and returns True
27
28 EnumText (me) returns CString is redefined;
29 -- returns the string counterpart of a value
30
31 SetEnumText (me : mutable; val : Integer; text : CString) is redefined;
32 -- considers text and interprets it to set val
33
34 SetValue (me : mutable; val : MarkerType from StepVisual);
35 -- Sets directly the good value as enum
36
37 Value (me) returns MarkerType from StepVisual;
38
39end MarkerMember;