Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbSoftPointerId.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbSoftPointerId(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbSoftPointerId_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbSoftPointerId obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public OdDbSoftPointerId() : this(TD_DbPINVOKE.new_OdDbSoftPointerId__SWIG_0(), true) {
45 }
46
47 public OdDbSoftPointerId(OdDbObjectId objectId) : this(TD_DbPINVOKE.new_OdDbSoftPointerId__SWIG_1(OdDbObjectId.getCPtr(objectId)), true) {
49 }
50
51 public OdDbSoftPointerId(OdDbStub objectId) : this(TD_DbPINVOKE.new_OdDbSoftPointerId__SWIG_2(OdDbStub.getCPtr(objectId)), true) {
53 }
54
58 return ret;
59 }
60
61 public new OdDbSoftPointerId Assign(OdDbObjectId objectId) {
64 return ret;
65 }
66
70 return ret;
71 }
72
73 public new bool IsNotEqual(OdDbObjectId objectId) {
76 return ret;
77 }
78
79 public bool IsNotEqual(OdDbStub objectId) {
82 return ret;
83 }
84
85 public new bool IsEqual(OdDbObjectId objectId) {
88 return ret;
89 }
90
91 public bool IsEqual(OdDbStub objectId) {
92 bool ret = TD_DbPINVOKE.OdDbSoftPointerId_IsEqual__SWIG_1(swigCPtr, OdDbStub.getCPtr(objectId));
94 return ret;
95 }
96
97}
98
99}
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdDbObjectId obj)
Definition: OdDbObjectId.cs:27
override void Dispose(bool disposing)
OdDbSoftPointerId(IntPtr cPtr, bool cMemoryOwn)
new OdDbSoftPointerId Assign(OdDbObjectId objectId)
static HandleRef getCPtr(OdDbSoftPointerId obj)
OdDbSoftPointerId Assign(OdDbSoftPointerId objectId)
bool IsEqual(OdDbStub objectId)
new bool IsNotEqual(OdDbObjectId objectId)
OdDbSoftPointerId(OdDbStub objectId)
bool IsNotEqual(OdDbStub objectId)
new OdDbSoftPointerId AssignOdDbStub(OdDbStub objectId)
OdDbSoftPointerId(OdDbObjectId objectId)
new bool IsEqual(OdDbObjectId objectId)
static global::System.Exception Retrieve()
static bool OdDbSoftPointerId_IsNotEqual__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbSoftPointerId_Assign__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDbSoftPointerId_IsNotEqual__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDbSoftPointerId_IsEqual__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbSoftPointerId_AssignOdDbStub(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbSoftPointerId_Assign__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDbSoftPointerId_IsEqual__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdDbSoftPointerId(global::System.Runtime.InteropServices.HandleRef jarg1)