Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiHlrResults.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
16public class OdGiHlrResults : OdRxObject {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGiHlrResults(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiHlrResults_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiHlrResults 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 OdGiHlrResults cast(OdRxObject pObj) {// OdSmartPtr<OdGiHlrResults>
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
46
47 OdGiHlrResults ret = null;
48 if (null != mTrans)
49 {
50 mTrans.AddObject((OdGiHlrResults)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiHlrResults),ptr, true));
51 ret = (OdGiHlrResults)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiHlrResults),ptr, false);
52 }
53 else
54 {
55 ret = (OdGiHlrResults)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiHlrResults),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.OdGiHlrResults_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.OdGiHlrResults_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.OdGiHlrResults_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
78
80 return ret;
81}
82
83 public static OdGiHlrResults createObject() {// OdSmartPtr<OdGiHlrResults>
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
87
88 OdGiHlrResults ret = null;
89 if (null != mTrans)
90 {
91 mTrans.AddObject((OdGiHlrResults)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiHlrResults),ptr, true));
92 ret = (OdGiHlrResults)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiHlrResults),ptr, false);
93 }
94 else
95 {
96 ret = (OdGiHlrResults)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiHlrResults),ptr, true);
97 }
98
100 return ret;
101}
102
103 public class Traits : global::System.IDisposable {
104 private Object locker = new Object();
105 private HandleRef swigCPtr;
106 protected bool swigCMemOwn;
107 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
108 public Traits(IntPtr cPtr, bool cMemoryOwn) {
109 swigCMemOwn = cMemoryOwn;
110 swigCPtr = new HandleRef(this, cPtr);
111 }
112 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
113 public static HandleRef getCPtr(Traits obj) {
114 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
115 }
116
117 ~Traits() {
118 Dispose(false);
119 }
120
121 public void Dispose() {
122 Dispose(true);
123 global::System.GC.SuppressFinalize(this);
124 }
125
126 protected virtual void Dispose(bool disposing) {
127 lock(this) {
128 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
129 if (swigCMemOwn) {
130 swigCMemOwn = false;
131 GlobalsPINVOKE.delete_OdGiHlrResults_Traits(swigCPtr); // NESTED_DTOR_CSHARP
132 }
133 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
134 }
135 }
136 }
137
139 set {
142 }
143 get {
144 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiHlrResults_Traits_plotStyle_get(swigCPtr);
145 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
147 return ret;
148 }
149 }
150
151 public IntPtr selMarker {
152 set {
153 /*SIMPLETYPE*/
156 }
157 get {
158 /*SIMPLETYPE*/
161 return ret;
162 }
163 }
164
166 set {
169 }
170 get {
171 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiHlrResults_Traits_color_get(swigCPtr);
172 OdCmEntityColor ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmEntityColor(cPtr, false);
174 return ret;
175 }
176 }
177
179 set {
182 }
183 get {
184 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiHlrResults_Traits_obscuredColor_get(swigCPtr);
185 OdCmEntityColor ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmEntityColor(cPtr, false);
187 return ret;
188 }
189 }
190
192 set {
195 }
196 get {
199 return ret;
200 }
201 }
202
203 public Traits() : this(GlobalsPINVOKE.new_OdGiHlrResults_Traits(), true) {
205 }
206
207 }
208
209 public class Data : global::System.IDisposable {
210 private Object locker = new Object();
211 private HandleRef swigCPtr;
212 protected bool swigCMemOwn;
213 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
214 public Data(IntPtr cPtr, bool cMemoryOwn) {
215 swigCMemOwn = cMemoryOwn;
216 swigCPtr = new HandleRef(this, cPtr);
217 }
218 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
219 public static HandleRef getCPtr(Data obj) {
220 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
221 }
222
223 ~Data() {
224 Dispose(false);
225 }
226
227 public void Dispose() {
228 Dispose(true);
229 global::System.GC.SuppressFinalize(this);
230 }
231
232 protected virtual void Dispose(bool disposing) {
233 lock(this) {
234 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
235 if (swigCMemOwn) {
236 swigCMemOwn = false;
237 GlobalsPINVOKE.delete_OdGiHlrResults_Data(swigCPtr); // NESTED_DTOR_CSHARP
238 }
239 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
240 }
241 }
242 }
243
245 set {
248 }
249 get {
250 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiHlrResults_Data_pTraits_get(swigCPtr);
251 OdGiHlrResults.Traits ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiHlrResults.Traits(cPtr, false);
253 return ret;
254 }
255 }
256
258 set {
261 }
262 get
263 {
264 // csvarout array
266
268 return res;
269 }
270
271 }
272
274 set {
277 }
278 get
279 {
280 // csvarout array
282
284 return res;
285 }
286
287 }
288
289 public Data() : this(GlobalsPINVOKE.new_OdGiHlrResults_Data(), true) {
291 }
292
293 }
294
295 public virtual OdGiHlrResults.Data next() {
296 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiHlrResults_next(swigCPtr);
297 OdGiHlrResults.Data ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiHlrResults.Data(cPtr, false);
299 return ret;
300 }
301
302 public virtual void start() {
305 }
306
308// csout array
310
312 return res;
313}
314
315 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
316 string ret = GlobalsPINVOKE.OdGiHlrResults_getRealClassName(ptr /*SIMPLETYPE*/);
318 return ret;
319 }
320
321}
322
323}
static global::System.Exception Retrieve()
static IntPtr OdGiHlrResults_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdGiHlrResults_Traits_lineWeight_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiHlrResults_start(HandleRef jarg1)
static IntPtr OdGiHlrResults_Traits_selMarker_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiHlrResults_isA(HandleRef jarg1)
static string OdGiHlrResults_getRealClassName(IntPtr jarg1)
static IntPtr OdGiHlrResults_desc()
static void OdGiHlrResults_Data_visible_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiHlrResults_Data_hidden_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiHlrResults_Traits_selMarker_set(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGiHlrResults_Traits_plotStyle_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiHlrResults_Traits_obscuredColor_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiHlrResults_Traits(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiHlrResults_Traits_plotStyle_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiHlrResults_Traits_color_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiHlrResults_createObject()
static global::System.IntPtr OdGiHlrResults_Data_visible_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiHlrResults_Traits_obscuredColor_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGiHlrResults_Data(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiHlrResults_Data_pTraits_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiHlrResults_cast(HandleRef jarg1)
static void OdGiHlrResults_Data_hidden_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiHlrResults_Traits_lineWeight_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiHlrResults_Traits_color_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGiHlrResults(HandleRef jarg1)
static global::System.IntPtr OdGiHlrResults_currentDrawablePath(HandleRef jarg1)
static global::System.IntPtr OdGiHlrResults_Data_pTraits_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiHlrResults_next(HandleRef jarg1)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(Data obj)
Data(IntPtr cPtr, bool cMemoryOwn)
virtual void Dispose(bool disposing)
OdGiHlrResults.Traits pTraits
Traits(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(Traits obj)
virtual void Dispose(bool disposing)
virtual OdDbStubPtrArray currentDrawablePath()
static OdGiHlrResults cast(OdRxObject pObj)
override OdRxClass isA()
override OdRxObject queryX(OdRxClass protocolClass)
override void Dispose(bool disposing)
static string getRealClassName(IntPtr ptr)
static new OdRxClass desc()
OdGiHlrResults(IntPtr cPtr, bool cMemoryOwn)
static OdGiHlrResults createObject()
static HandleRef getCPtr(OdGiHlrResults obj)
virtual OdGiHlrResults.Data next()
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26