0024157: Parallelization of assembly part of BO
[occt.git] / src / XmlObjMgt / XmlObjMgt_Persistent.cdl
CommitLineData
b311480e 1-- Created on: 2001-07-17
2-- Created by: Julia DOROVSKIKH <jfa@hotdox.nnov.matra-dtv.fr>
3-- Copyright (c) 2001-2012 OPEN CASCADE SAS
4--
5-- The content of this file is subject to the Open CASCADE Technology Public
6-- License Version 6.5 (the "License"). You may not use the content of this file
7-- except in compliance with the License. Please obtain a copy of the License
8-- at http://www.opencascade.org and read it completely before using this file.
9--
10-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12--
13-- The Original Code and all software distributed under the License is
14-- distributed on an "AS IS" basis, without warranty of any kind, and the
15-- Initial Developer hereby disclaims all such warranties, including without
16-- limitation, any warranties of merchantability, fitness for a particular
17-- purpose or non-infringement. Please see the License for the specific terms
18-- and conditions governing the rights and limitations under the License.
19
7fd59977 20
21class Persistent from XmlObjMgt
22
23uses
24 Element from XmlObjMgt,
25 DOMString from XmlObjMgt
26
27is
28 Create returns Persistent from XmlObjMgt;
29 ---Purpose: empty constructor
30
31 Create (theElement : Element from XmlObjMgt)
32 returns Persistent from XmlObjMgt;
33 ---Purpose: constructor
34
35 Create (theElement : Element from XmlObjMgt;
36 theRef : DOMString from XmlObjMgt)
37 returns Persistent from XmlObjMgt;
38 ---Purpose: constructor from sub-element of Element referenced by theRef
39
40 CreateElement (me:in out; theParent: out Element from XmlObjMgt;
41 theType: DOMString from XmlObjMgt;
42 theID: Integer from Standard);
43 ---Purpose: myElement := <theType id="theID"/>
44
45 SetId (me:in out; theId: Integer from Standard)
46 is static;
47 ---Level: Internal
48
49 Element (me) returns Element from XmlObjMgt;
50 ---C++: inline
51 ---C++: return const &
52 ---C++: alias "inline operator const XmlObjMgt_Element&() const;"
53 ---Purpose: return myElement
54
55 Element (me:in out) returns Element from XmlObjMgt;
56 ---C++: inline
57 ---C++: return &
58 ---C++: alias "inline operator XmlObjMgt_Element&();"
59 ---Purpose: return myElement
60
61 Id(me) returns Integer from Standard
62 is static;
63 ---C++: inline
64 ---Level: Internal
65
66fields
67 myElement: Element from XmlObjMgt;
68 myID : Integer from Standard;
69
70end Persistent;