Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbXrefGraph.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 OdDbXrefGraph : OdDbGraph {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbXrefGraph(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbXrefGraph_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbXrefGraph 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 OdDbXrefGraph() : this(TD_DbPINVOKE.new_OdDbXrefGraph(), true) {
45 }
46
48 OdDbXrefGraphNode ret = (OdDbXrefGraphNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbXrefGraphNode),TD_DbPINVOKE.OdDbXrefGraph_xrefNode__SWIG_0(swigCPtr, name),false); /*createInt 3_2*/
49
51 return ret;
52}
53
55 OdDbXrefGraphNode ret = (OdDbXrefGraphNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbXrefGraphNode),TD_DbPINVOKE.OdDbXrefGraph_xrefNode__SWIG_1(swigCPtr, OdDbObjectId.getCPtr(blockId)),false); /*createInt 3_2*/
56
58 return ret;
59}
60
62 OdDbXrefGraphNode ret = (OdDbXrefGraphNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbXrefGraphNode),TD_DbPINVOKE.OdDbXrefGraph_xrefNode__SWIG_2(swigCPtr, OdDbDatabase.getCPtr(pDb)),false); /*createInt 3_2*/
63
65 return ret;
66}
67
68 public OdDbXrefGraphNode xrefNode(int nodeIndex) {
69 OdDbXrefGraphNode ret = (OdDbXrefGraphNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbXrefGraphNode),TD_DbPINVOKE.OdDbXrefGraph_xrefNode__SWIG_3(swigCPtr, nodeIndex),false); /*createInt 3_2*/
70
72 return ret;
73}
74
76 OdDbXrefGraphNode ret = (OdDbXrefGraphNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbXrefGraphNode),TD_DbPINVOKE.OdDbXrefGraph_hostDwg(swigCPtr),false); /*createInt 3_2*/
77
79 return ret;
80}
81
82 public bool markUnresolvedTrees() {
85 return ret;
86 }
87
88 public static void getFrom(OdDbDatabase pDb, OdDbXrefGraph xrefGraph, bool includeGhosts) {
91 }
92
93 public static void getFrom(OdDbDatabase pDb, OdDbXrefGraph xrefGraph) {
96 }
97
98}
99
100}
static HandleRef getCPtr(OdDbDatabase obj)
Definition: OdDbDatabase.cs:26
static HandleRef getCPtr(OdDbObjectId obj)
Definition: OdDbObjectId.cs:27
static void getFrom(OdDbDatabase pDb, OdDbXrefGraph xrefGraph, bool includeGhosts)
OdDbXrefGraphNode xrefNode(String name)
OdDbXrefGraphNode hostDwg()
OdDbXrefGraphNode xrefNode(int nodeIndex)
static HandleRef getCPtr(OdDbXrefGraph obj)
static void getFrom(OdDbDatabase pDb, OdDbXrefGraph xrefGraph)
OdDbXrefGraphNode xrefNode(OdDbObjectId blockId)
override void Dispose(bool disposing)
OdDbXrefGraph(IntPtr cPtr, bool cMemoryOwn)
OdDbXrefGraphNode xrefNode(OdDbDatabase pDb)
static global::System.Exception Retrieve()
static void OdDbXrefGraph_getFrom__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbXrefGraph_xrefNode__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static IntPtr OdDbXrefGraph_hostDwg(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDbXrefGraph(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbXrefGraph_markUnresolvedTrees(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbXrefGraph_getFrom__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static IntPtr OdDbXrefGraph_xrefNode__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbXrefGraph_xrefNode__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbXrefGraph_xrefNode__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)