Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgElementIdPath.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.TG {
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 OdDgElementIdPath(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgElementIdPath_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgElementIdPath 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
46 return ret;
47 }
48
49 public override byte getElementSubType() {
50// test csout
51 /*SIMPLETYPE*/
54 return ret;
55 }
56
57 public static OdDgElementIdPath cast(OdRxObject pObj) {// OdSmartPtr<OdDgElementIdPath>
58 MemoryManager mMan = MemoryManager.GetMemoryManager();
59 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
61
62 OdDgElementIdPath ret = null;
63 if (null != mTrans)
64 {
65 mTrans.AddObject((OdDgElementIdPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIdPath),ptr, true));
66 ret = (OdDgElementIdPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIdPath),ptr, false);
67 }
68 else
69 {
70 ret = (OdDgElementIdPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIdPath),ptr, true);
71 }
72
74 return ret;
75}
76
77 public new static OdRxClass desc() {
78 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgElementIdPath_desc(),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public override OdRxClass isA() {
85 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgElementIdPath_isA(swigCPtr),false); /*createInt 3_2*/
86
88 return ret;
89}
90
91 public override OdRxObject queryX(OdRxClass protocolClass) {
92 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TG_DbPINVOKE.OdDgElementIdPath_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
93
95 return ret;
96}
97
98 public new static OdDgElementIdPath createObject() {// OdSmartPtr<OdDgElementIdPath>
99 MemoryManager mMan = MemoryManager.GetMemoryManager();
100 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
102
103 OdDgElementIdPath ret = null;
104 if (null != mTrans)
105 {
106 mTrans.AddObject((OdDgElementIdPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIdPath),ptr, true));
107 ret = (OdDgElementIdPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIdPath),ptr, false);
108 }
109 else
110 {
111 ret = (OdDgElementIdPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIdPath),ptr, true);
112 }
113
115 return ret;
116}
117
118 public override UInt16 getSignature() {
119// test csout
120 /*SIMPLETYPE*/
121 UInt16 ret = TG_DbPINVOKE.OdDgElementIdPath_getSignature(swigCPtr);
123 return ret;
124 }
125
126 public override void setSignature(UInt16 /*SIMPLETYPE*/ type) {
127 TG_DbPINVOKE.OdDgElementIdPath_setSignature(swigCPtr, type /*SIMPLETYPE*/);
129 }
130
131 public virtual UInt32 getPathLength() {
132// test csout
133 /*SIMPLETYPE*/
134 UInt32 ret = TG_DbPINVOKE.OdDgElementIdPath_getPathLength(swigCPtr);
136 return ret;
137 }
138
139 public virtual UInt64 getPathItem(UInt32 /*SIMPLETYPE*/ nItem) {
140// test csout
141 /*SIMPLETYPE*/
142 UInt64 ret = TG_DbPINVOKE.OdDgElementIdPath_getPathItem(swigCPtr, nItem /*SIMPLETYPE*/);
144 return ret;
145 }
146
147 public virtual void setPathItem(UInt64 /*SIMPLETYPE*/ uPathElementId, UInt32 /*SIMPLETYPE*/ nItem) {
148 TG_DbPINVOKE.OdDgElementIdPath_setPathItem(swigCPtr, uPathElementId /*SIMPLETYPE*/, nItem /*SIMPLETYPE*/);
150 }
151
152 public virtual void deletePathItem(UInt32 /*SIMPLETYPE*/ nItem) {
153 TG_DbPINVOKE.OdDgElementIdPath_deletePathItem(swigCPtr, nItem /*SIMPLETYPE*/);
155 }
156
157 public virtual void addPathItem(UInt64 /*SIMPLETYPE*/ uPathElementId) {
158 TG_DbPINVOKE.OdDgElementIdPath_addPathItem(swigCPtr, uPathElementId /*SIMPLETYPE*/);
160 }
161
162 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
163 string ret = TG_DbPINVOKE.OdDgElementIdPath_getRealClassName(ptr /*SIMPLETYPE*/);
165 return ret;
166 }
167
172 public virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status) { this.gripStatus(status); }
173
179
180 public const int kSignature = 0x56E6;
181
182}
183
184}
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
virtual void gripStatus(OdDgElement.GripStat status)
Definition: OdDgElement.cs:877
static HandleRef getCPtr(OdDgElementIdPath obj)
override void setSignature(UInt16 type)
static new OdDgElementIdPath createObject()
static new OdRxClass desc()
virtual UInt64 getPathItem(UInt32 nItem)
virtual void deletePathItem(UInt32 nItem)
static string getRealClassName(IntPtr ptr)
static OdDgElementIdPath cast(OdRxObject pObj)
override OdDgElement.ElementTypes getElementType()
override void Dispose(bool disposing)
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
virtual void addPathItem(UInt64 uPathElementId)
override OdRxClass isA()
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
override OdRxObject queryX(OdRxClass protocolClass)
virtual void setPathItem(UInt64 uPathElementId, UInt32 nItem)
OdDgElementIdPath(IntPtr cPtr, bool cMemoryOwn)
static global::System.Exception Retrieve()
static void OdDgElementIdPath_addPathItem(HandleRef jarg1, UInt64 jarg2)
static void OdDgElementIdPath_setSignature(HandleRef jarg1, UInt16 jarg2)
static IntPtr OdDgElementIdPath_queryX(HandleRef jarg1, HandleRef jarg2)
static UInt16 OdDgElementIdPath_getSignature(HandleRef jarg1)
static IntPtr OdDgElementIdPath_createObject()
static IntPtr OdDgElementIdPath_cast(HandleRef jarg1)
static UInt64 OdDgElementIdPath_getPathItem(HandleRef jarg1, UInt32 jarg2)
static int OdDgElementIdPath_getElementType(HandleRef jarg1)
static void OdDgElementIdPath_setPathItem(HandleRef jarg1, UInt64 jarg2, UInt32 jarg3)
static UInt32 OdDgElementIdPath_getPathLength(HandleRef jarg1)
static void delete_OdDgElementIdPath(HandleRef jarg1)
static IntPtr OdDgElementIdPath_isA(HandleRef jarg1)
static byte OdDgElementIdPath_getElementSubType(HandleRef jarg1)
static IntPtr OdDgElementIdPath_desc()
static void OdDgElementIdPath_deletePathItem(HandleRef jarg1, UInt32 jarg2)
static string OdDgElementIdPath_getRealClassName(IntPtr jarg1)