0024927: Getting rid of "Persistent" functionality -- Code
[occt.git] / src / PNaming / PNaming_Name_1.cdl
1 -- Created on: 2008-08-15
2 -- Created by: Sergey ZARITCHNY <szy@opencascade.com>
3 -- Copyright (c) 2008-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 class Name_1 from PNaming inherits Persistent from Standard
17
18         ---Purpose: 
19 uses
20    NamedShape          from PNaming,
21    HArray1OfNamedShape from PNaming, 
22    HAsciiString        from PCollection
23
24 is
25     Create returns Name_1 from PNaming;
26     
27     Type      (me : mutable; T : Integer from Standard);
28     ---C++: inline
29     
30     ShapeType (me : mutable; T : Integer from Standard);
31     ---C++: inline
32     
33     Arguments (me :mutable ; Args : HArray1OfNamedShape from PNaming);
34     ---C++: inline
35
36     StopNamedShape (me : mutable; arg : NamedShape  from PNaming);
37     ---C++: inline
38  
39     Type      (me) returns Integer from Standard;
40     ---C++: inline
41     
42     ShapeType (me) returns Integer from Standard;
43     ---C++: inline
44
45     Arguments (me) returns HArray1OfNamedShape from PNaming;
46     ---C++: inline
47
48     StopNamedShape (me) returns NamedShape  from PNaming;
49      ---C++: inline
50
51     Index(me : mutable; I : Integer from Standard);
52     ---C++: inline
53
54     Index(me) returns Integer from Standard;
55     ---C++: inline
56
57     ContextLabel   (me) returns HAsciiString from PCollection;
58     ---C++: return const&
59     ---C++: inline 
60     
61     ContextLabel   (me : mutable; theLab : HAsciiString from PCollection);
62     ---C++: inline 
63     
64 fields 
65
66     myType         : Integer             from Standard;
67     myShapeType    : Integer             from Standard;
68     myArgs         : HArray1OfNamedShape from PNaming;
69     myStop         : NamedShape          from PNaming;
70     myIndex        : Integer             from Standard;
71     myContextLabel : HAsciiString        from PCollection;  
72
73 end Name_1;