Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdAuxData.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 OdAuxData : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdAuxData(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdAuxData obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~OdAuxData() {
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public class Data : global::System.IDisposable {
52 private Object locker = new Object();
53 private HandleRef swigCPtr;
54 protected bool swigCMemOwn;
55 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
56 public Data(IntPtr cPtr, bool cMemoryOwn) {
57 swigCMemOwn = cMemoryOwn;
58 swigCPtr = new HandleRef(this, cPtr);
59 }
60 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
61 public static HandleRef getCPtr(Data obj) {
62 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
63 }
64
65 ~Data() {
66 Dispose(false);
67 }
68
69 public void Dispose() {
70 Dispose(true);
71 global::System.GC.SuppressFinalize(this);
72 }
73
74 protected virtual void Dispose(bool disposing) {
75 lock(this) {
76 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
77 if (swigCMemOwn) {
78 swigCMemOwn = false;
79 GlobalsPINVOKE.delete_OdAuxData_Data(swigCPtr); // NESTED_DTOR_CSHARP
80 }
81 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
82 }
83 }
84 }
85
86 public uint _n {
87 set {
90 }
91 get {
92 uint ret = GlobalsPINVOKE.OdAuxData_Data__n_get(swigCPtr);
94 return ret;
95 }
96 }
97
98 public IntPtr _p {
99 set {
100 /*SIMPLETYPE*/
101 GlobalsPINVOKE.OdAuxData_Data__p_set(swigCPtr, value /*SIMPLETYPE*/);
103 }
104 get {
105 /*SIMPLETYPE*/
106 IntPtr ret = GlobalsPINVOKE.OdAuxData_Data__p_get(swigCPtr);
108 return ret;
109 }
110 }
111
112 public Data() : this(GlobalsPINVOKE.new_OdAuxData_Data(), true) {
114 }
115
116 }
117
118 public OdAuxData() : this(GlobalsPINVOKE.new_OdAuxData(), true) {
120 }
121
122 public IntPtr getPtr() {
123// test csout
124 /*SIMPLETYPE*/
125 IntPtr ret = GlobalsPINVOKE.OdAuxData_getPtr__SWIG_0(swigCPtr);
127 return ret;
128 }
129
130}
131
132}
static global::System.Exception Retrieve()
static void delete_OdAuxData_Data(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdAuxData_Data__p_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdAuxData_getPtr__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint OdAuxData_Data__n_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdAuxData_Data__p_set(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdAuxData_Data__n_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static void delete_OdAuxData(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void Dispose(bool disposing)
Definition: OdAuxData.cs:74
Data(IntPtr cPtr, bool cMemoryOwn)
Definition: OdAuxData.cs:56
static HandleRef getCPtr(Data obj)
Definition: OdAuxData.cs:61
static HandleRef getCPtr(OdAuxData obj)
Definition: OdAuxData.cs:26
OdAuxData(IntPtr cPtr, bool cMemoryOwn)
Definition: OdAuxData.cs:21
virtual void Dispose(bool disposing)
Definition: OdAuxData.cs:39