Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbXRefMan.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
17public class OdDbXRefMan : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdDbXRefMan(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdDbXRefMan obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 ~OdDbXRefMan() {
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 public static OdResult load(OdDbDatabase pHostDb, String xrefBlockname) {
55 return ret;
56 }
57
58 public static OdResult load(OdDbObjectIdArray xrefBTRids) {
61 return ret;
62 }
63
64 public static OdResult load(OdDbBlockTableRecord pBTR) {
67 return ret;
68 }
69
70 public static OdResult loadAll(OdDbDatabase pHostDb, bool verify) {
73 return ret;
74 }
75
76 public static OdResult loadAll(OdDbDatabase pHostDb) {
79 return ret;
80 }
81
82 public static void unload(OdDbBlockTableRecord pBTR) {
85 }
86
87 public static void unload(OdDbObjectIdArray xrefBTRids) {
90 }
91
92 public static void unloadAll(OdDbDatabase pHostDb) {
95 }
96
97 public static OdResult bind(OdDbBlockTableRecord pBTR, bool insertBind) {
100 return ret;
101 }
102
103 public static OdResult bind(OdDbBlockTableRecord pBTR) {
106 return ret;
107 }
108
112 return ret;
113 }
114
115 public static void setOverlaid(OdDbBlockTableRecord pBTR, bool overlaid) {
118 }
119
120 public static void setOverlaid(OdDbBlockTableRecord pBTR) {
123 }
124
125 public OdDbXRefMan() : this(TD_DbPINVOKE.new_OdDbXRefMan(), true) {
127 }
128
129}
130
131}
static HandleRef getCPtr(OdDbBlockTableRecord obj)
static HandleRef getCPtr(OdDbDatabase obj)
Definition: OdDbDatabase.cs:26
static HandleRef getCPtr(OdDbObjectIdArray obj)
static OdResult load(OdDbDatabase pHostDb, String xrefBlockname)
Definition: OdDbXRefMan.cs:52
static void unloadAll(OdDbDatabase pHostDb)
Definition: OdDbXRefMan.cs:92
static OdResult load(OdDbObjectIdArray xrefBTRids)
Definition: OdDbXRefMan.cs:58
static OdResult load(OdDbBlockTableRecord pBTR)
Definition: OdDbXRefMan.cs:64
static OdResult loadAll(OdDbDatabase pHostDb)
Definition: OdDbXRefMan.cs:76
virtual void Dispose(bool disposing)
Definition: OdDbXRefMan.cs:40
static OdResult bind(OdDbBlockTableRecord pBTR, bool insertBind)
Definition: OdDbXRefMan.cs:97
static OdResult bind(OdDbBlockTableRecord pBTR)
Definition: OdDbXRefMan.cs:103
static OdResult loadAll(OdDbDatabase pHostDb, bool verify)
Definition: OdDbXRefMan.cs:70
static void unload(OdDbObjectIdArray xrefBTRids)
Definition: OdDbXRefMan.cs:87
static void unload(OdDbBlockTableRecord pBTR)
Definition: OdDbXRefMan.cs:82
static void setOverlaid(OdDbBlockTableRecord pBTR, bool overlaid)
Definition: OdDbXRefMan.cs:115
static void setOverlaid(OdDbBlockTableRecord pBTR)
Definition: OdDbXRefMan.cs:120
OdDbXRefMan(IntPtr cPtr, bool cMemoryOwn)
Definition: OdDbXRefMan.cs:22
static HandleRef getCPtr(OdDbXRefMan obj)
Definition: OdDbXRefMan.cs:27
static OdResult detach(OdDbBlockTableRecord pBTR)
Definition: OdDbXRefMan.cs:109
static global::System.Exception Retrieve()
static void OdDbXRefMan_unloadAll(HandleRef jarg1)
static int OdDbXRefMan_load__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbXRefMan_loadAll__SWIG_0(HandleRef jarg1, bool jarg2)
static void delete_OdDbXRefMan(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbXRefMan_loadAll__SWIG_1(HandleRef jarg1)
static void OdDbXRefMan_setOverlaid__SWIG_0(HandleRef jarg1, bool jarg2)
static void OdDbXRefMan_setOverlaid__SWIG_1(HandleRef jarg1)
static void OdDbXRefMan_unload__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbXRefMan_unload__SWIG_0(HandleRef jarg1)
static int OdDbXRefMan_load__SWIG_0(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static int OdDbXRefMan_detach(HandleRef jarg1)
static int OdDbXRefMan_bind__SWIG_1(HandleRef jarg1)
static int OdDbXRefMan_load__SWIG_2(HandleRef jarg1)
static int OdDbXRefMan_bind__SWIG_0(HandleRef jarg1, bool jarg2)