0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / IGESSelect / IGESSelect_IGESTypeForm.cdl
1 -- Created on: 1994-05-31
2 -- Created by: Modelistation
3 -- Copyright (c) 1994-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class IGESTypeForm from IGESSelect    inherits Signature  from IFSelect
18
19     ---Purpose : IGESTypeForm is a Signature specific to the IGES Norm :
20     --           it gives the signature under two possible forms :
21     --           - as "mmm nnn", with "mmm" as IGES Type Number, and "nnn"
22     --             as IGES From Number (even if = 0)  [Default]
23     --           - as "mmm" alone, which gives only the IGES Type Number
24
25 uses CString, Transient, InterfaceModel
26
27 is
28
29     Create (withform : Boolean = Standard_True) returns IGESTypeForm;
30     ---Purpose : Creates a Signature for IGES Type & Form Numbers
31     --           If <withform> is False, for IGES Type Number only
32
33     SetForm (me : mutable; withform : Boolean);
34     ---Purpose : Changes the mode for giving the Form Number
35
36     Value (me; ent : any Transient; model : InterfaceModel) returns CString;
37     ---Purpose : Returns the signature for IGES, "mmm nnn" or "mmm" according
38     --           creation choice (Type & Form or Type only)
39
40 fields
41
42     theform : Boolean;
43
44 end IGESTypeForm;