Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
dcl_resbuf.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class dcl_resbuf : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public dcl_resbuf(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(dcl_resbuf obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
32 ~dcl_resbuf() {
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
54 set {
57 }
58 get {
59 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.dcl_resbuf_rbnext_get(swigCPtr);
60 dcl_resbuf ret = (cPtr == global::System.IntPtr.Zero) ? null : new dcl_resbuf(cPtr, false);
62 return ret;
63 }
64 }
65
66 public Int16 restype {
67 set {
68 /*SIMPLETYPE*/
69 PCADGlobalsPINVOKE.dcl_resbuf_restype_set(swigCPtr, value /*SIMPLETYPE*/);
71 }
72 get {
73 /*SIMPLETYPE*/
74 Int16 ret = PCADGlobalsPINVOKE.dcl_resbuf_restype_get(swigCPtr);
76 return ret;
77 }
78 }
79
81 set {
84 }
85 get {
86 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.dcl_resbuf_resval_get(swigCPtr);
87 dcl_u_val ret = (cPtr == global::System.IntPtr.Zero) ? null : new dcl_u_val(cPtr, false);
89 return ret;
90 }
91 }
92
93 public dcl_resbuf() : this(PCADGlobalsPINVOKE.new_dcl_resbuf(), true) {
95 }
96
97}
98
99}
static void dcl_resbuf_restype_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2)
static Int16 dcl_resbuf_restype_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void dcl_resbuf_resval_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_dcl_resbuf(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr dcl_resbuf_resval_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void dcl_resbuf_rbnext_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr dcl_resbuf_rbnext_get(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void Dispose(bool disposing)
Definition: dcl_resbuf.cs:41
dcl_resbuf(IntPtr cPtr, bool cMemoryOwn)
Definition: dcl_resbuf.cs:23
static HandleRef getCPtr(dcl_resbuf obj)
Definition: dcl_resbuf.cs:28
static HandleRef getCPtr(dcl_u_val obj)
Definition: dcl_u_val.cs:28