Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdRxModelHierarchyTreeBase.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdRxModelHierarchyTreeBase(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdRxModelHierarchyTreeBase_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdRxModelHierarchyTreeBase obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public static OdRxModelHierarchyTreeBase cast(OdRxObject pObj) {// OdSmartPtr<OdRxModelHierarchyTreeBase>
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
46
48 if (null != mTrans)
49 {
50 mTrans.AddObject((OdRxModelHierarchyTreeBase)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelHierarchyTreeBase),ptr, true));
51 ret = (OdRxModelHierarchyTreeBase)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelHierarchyTreeBase),ptr, false);
52 }
53 else
54 {
55 ret = (OdRxModelHierarchyTreeBase)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelHierarchyTreeBase),ptr, true);
56 }
57
59 return ret;
60}
61
62 public new static OdRxClass desc() {
63 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdRxModelHierarchyTreeBase_desc(),false); /*createInt 3_2*/
64
66 return ret;
67}
68
69 public override OdRxClass isA() {
70 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdRxModelHierarchyTreeBase_isA(swigCPtr),false); /*createInt 3_2*/
71
73 return ret;
74}
75
76 public override OdRxObject queryX(OdRxClass protocolClass) {
77 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.OdRxModelHierarchyTreeBase_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
78
80 return ret;
81}
82
83 public static OdRxModelHierarchyTreeBase createObject() {// OdSmartPtr<OdRxModelHierarchyTreeBase>
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
87
89 if (null != mTrans)
90 {
91 mTrans.AddObject((OdRxModelHierarchyTreeBase)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelHierarchyTreeBase),ptr, true));
92 ret = (OdRxModelHierarchyTreeBase)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelHierarchyTreeBase),ptr, false);
93 }
94 else
95 {
96 ret = (OdRxModelHierarchyTreeBase)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelHierarchyTreeBase),ptr, true);
97 }
98
100 return ret;
101}
102
103 public virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, bool create_properties_cache, bool class_dependent_hierarchy, bool class_dependent_property) {// OdRxModelTreeBaseNodePtr
104 MemoryManager mMan = MemoryManager.GetMemoryManager();
105 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
106 IntPtr ptr = GlobalsPINVOKE.OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_0(swigCPtr, OdRxObject.getCPtr(pDb), create_properties_cache, class_dependent_hierarchy, class_dependent_property);
107
108 OdRxModelTreeBaseNode ret = null;
109 if (null != mTrans)
110 {
111 mTrans.AddObject((OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true));
112 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, false);
113 }
114 else
115 {
116 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true);
117 }
118
120 return ret;
121}
122
123 public virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, bool create_properties_cache, bool class_dependent_hierarchy) {// OdRxModelTreeBaseNodePtr
124 MemoryManager mMan = MemoryManager.GetMemoryManager();
125 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
126 IntPtr ptr = GlobalsPINVOKE.OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_1(swigCPtr, OdRxObject.getCPtr(pDb), create_properties_cache, class_dependent_hierarchy);
127
128 OdRxModelTreeBaseNode ret = null;
129 if (null != mTrans)
130 {
131 mTrans.AddObject((OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true));
132 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, false);
133 }
134 else
135 {
136 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true);
137 }
138
140 return ret;
141}
142
143 public virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, bool create_properties_cache) {// OdRxModelTreeBaseNodePtr
144 MemoryManager mMan = MemoryManager.GetMemoryManager();
145 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
146 IntPtr ptr = GlobalsPINVOKE.OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_2(swigCPtr, OdRxObject.getCPtr(pDb), create_properties_cache);
147
148 OdRxModelTreeBaseNode ret = null;
149 if (null != mTrans)
150 {
151 mTrans.AddObject((OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true));
152 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, false);
153 }
154 else
155 {
156 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true);
157 }
158
160 return ret;
161}
162
163 public virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb) {// OdRxModelTreeBaseNodePtr
164 MemoryManager mMan = MemoryManager.GetMemoryManager();
165 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
167
168 OdRxModelTreeBaseNode ret = null;
169 if (null != mTrans)
170 {
171 mTrans.AddObject((OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true));
172 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, false);
173 }
174 else
175 {
176 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true);
177 }
178
180 return ret;
181}
182
183 public virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, SWIGTYPE_p_std__setT_OdString_t collected_properties, bool class_dependent_hierarchy, bool class_dependent_property) {// OdRxModelTreeBaseNodePtr
184 MemoryManager mMan = MemoryManager.GetMemoryManager();
185 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
186 IntPtr ptr = GlobalsPINVOKE.OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_4(swigCPtr, OdRxObject.getCPtr(pDb), SWIGTYPE_p_std__setT_OdString_t.getCPtr(collected_properties), class_dependent_hierarchy, class_dependent_property);
187
188 OdRxModelTreeBaseNode ret = null;
189 if (null != mTrans)
190 {
191 mTrans.AddObject((OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true));
192 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, false);
193 }
194 else
195 {
196 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true);
197 }
198
200 return ret;
201}
202
203 public virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, SWIGTYPE_p_std__setT_OdString_t collected_properties, bool class_dependent_hierarchy) {// OdRxModelTreeBaseNodePtr
204 MemoryManager mMan = MemoryManager.GetMemoryManager();
205 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
206 IntPtr ptr = GlobalsPINVOKE.OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_5(swigCPtr, OdRxObject.getCPtr(pDb), SWIGTYPE_p_std__setT_OdString_t.getCPtr(collected_properties), class_dependent_hierarchy);
207
208 OdRxModelTreeBaseNode ret = null;
209 if (null != mTrans)
210 {
211 mTrans.AddObject((OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true));
212 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, false);
213 }
214 else
215 {
216 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true);
217 }
218
220 return ret;
221}
222
223 public virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, SWIGTYPE_p_std__setT_OdString_t collected_properties) {// OdRxModelTreeBaseNodePtr
224 MemoryManager mMan = MemoryManager.GetMemoryManager();
225 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
227
228 OdRxModelTreeBaseNode ret = null;
229 if (null != mTrans)
230 {
231 mTrans.AddObject((OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true));
232 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, false);
233 }
234 else
235 {
236 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true);
237 }
238
240 return ret;
241}
242
243 public virtual OdRxModelTreeBaseNode getDatabaseNode() {// OdRxModelTreeBaseNodePtr
244 MemoryManager mMan = MemoryManager.GetMemoryManager();
245 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
247
248 OdRxModelTreeBaseNode ret = null;
249 if (null != mTrans)
250 {
251 mTrans.AddObject((OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true));
252 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, false);
253 }
254 else
255 {
256 ret = (OdRxModelTreeBaseNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModelTreeBaseNode),ptr, true);
257 }
258
260 return ret;
261}
262
263 public virtual PropertyInfoArray getNodeProperties(UInt64 /*SIMPLETYPE*/ unique_DB_ID, UInt64 /*SIMPLETYPE*/ unique_source_ID) {
264 PropertyInfoArray ret = new PropertyInfoArray(GlobalsPINVOKE.OdRxModelHierarchyTreeBase_getNodeProperties(swigCPtr, unique_DB_ID /*SIMPLETYPE*/, unique_source_ID /*SIMPLETYPE*/), false);
266 return ret;
267 }
268
272 }
273
277 return ret;
278 }
279
280 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
281 string ret = GlobalsPINVOKE.OdRxModelHierarchyTreeBase_getRealClassName(ptr /*SIMPLETYPE*/);
283 return ret;
284 }
285
286}
287
288}
static global::System.Exception Retrieve()
static IntPtr OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_2(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static IntPtr OdRxModelHierarchyTreeBase_getDatabaseNode(HandleRef jarg1)
static IntPtr OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_6(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdRxModelHierarchyTreeBase_getNodeProperties(HandleRef jarg1, UInt64 jarg2, UInt64 jarg3)
static IntPtr OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_1(HandleRef jarg1, HandleRef jarg2, bool jarg3, bool jarg4)
static int OdRxModelHierarchyTreeBase_deserialize(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdRxModelHierarchyTreeBase_isA(HandleRef jarg1)
static IntPtr OdRxModelHierarchyTreeBase_desc()
static IntPtr OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_3(HandleRef jarg1, HandleRef jarg2)
static string OdRxModelHierarchyTreeBase_getRealClassName(IntPtr jarg1)
static IntPtr OdRxModelHierarchyTreeBase_createObject()
static void delete_OdRxModelHierarchyTreeBase(HandleRef jarg1)
static IntPtr OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_4(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4, bool jarg5)
static IntPtr OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_5(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static IntPtr OdRxModelHierarchyTreeBase_createDatabaseHierarchyTree__SWIG_0(HandleRef jarg1, HandleRef jarg2, bool jarg3, bool jarg4, bool jarg5)
static IntPtr OdRxModelHierarchyTreeBase_queryX(HandleRef jarg1, HandleRef jarg2)
static void OdRxModelHierarchyTreeBase_serialize(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdRxModelHierarchyTreeBase_cast(HandleRef jarg1)
static HandleRef getCPtr(OdBaseHierarchyTreeFiler obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb)
static OdRxModelHierarchyTreeBase createObject()
virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, bool create_properties_cache, bool class_dependent_hierarchy)
virtual OdRxModelTreeBaseNode getDatabaseNode()
static HandleRef getCPtr(OdRxModelHierarchyTreeBase obj)
virtual PropertyInfoArray getNodeProperties(UInt64 unique_DB_ID, UInt64 unique_source_ID)
static OdRxModelHierarchyTreeBase cast(OdRxObject pObj)
virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, SWIGTYPE_p_std__setT_OdString_t collected_properties)
void serialize(OdBaseHierarchyTreeFiler pFiler)
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, bool create_properties_cache, bool class_dependent_hierarchy, bool class_dependent_property)
OdRxModelHierarchyTreeBase(IntPtr cPtr, bool cMemoryOwn)
virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, SWIGTYPE_p_std__setT_OdString_t collected_properties, bool class_dependent_hierarchy, bool class_dependent_property)
virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, SWIGTYPE_p_std__setT_OdString_t collected_properties, bool class_dependent_hierarchy)
OdResult deserialize(OdBaseHierarchyTreeFiler pFiler)
virtual OdRxModelTreeBaseNode createDatabaseHierarchyTree(OdRxObject pDb, bool create_properties_cache)
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26