Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgComplexProxyGraphicsElement.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 OdDgComplexProxyGraphicsElement(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgComplexProxyGraphicsElement_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgComplexProxyGraphicsElement 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 OdDgComplexProxyGraphicsElement cast(OdRxObject pObj) {// OdSmartPtr<OdDgComplexProxyGraphicsElement>
58 MemoryManager mMan = MemoryManager.GetMemoryManager();
59 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
61
63 if (null != mTrans)
64 {
65 mTrans.AddObject((OdDgComplexProxyGraphicsElement)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgComplexProxyGraphicsElement),ptr, true));
66 ret = (OdDgComplexProxyGraphicsElement)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgComplexProxyGraphicsElement),ptr, false);
67 }
68 else
69 {
70 ret = (OdDgComplexProxyGraphicsElement)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgComplexProxyGraphicsElement),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.OdDgComplexProxyGraphicsElement_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.OdDgComplexProxyGraphicsElement_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.OdDgComplexProxyGraphicsElement_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
93
95 return ret;
96}
97
98 public new static OdDgComplexProxyGraphicsElement createObject() {// OdSmartPtr<OdDgComplexProxyGraphicsElement>
99 MemoryManager mMan = MemoryManager.GetMemoryManager();
100 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
102
104 if (null != mTrans)
105 {
106 mTrans.AddObject((OdDgComplexProxyGraphicsElement)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgComplexProxyGraphicsElement),ptr, true));
107 ret = (OdDgComplexProxyGraphicsElement)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgComplexProxyGraphicsElement),ptr, false);
108 }
109 else
110 {
111 ret = (OdDgComplexProxyGraphicsElement)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgComplexProxyGraphicsElement),ptr, true);
112 }
113
115 return ret;
116}
117
118 public OdDgElementIterator createIterator(bool atBeginning, bool skipDeleted) {// OdDgElementIteratorPtr
119 MemoryManager mMan = MemoryManager.GetMemoryManager();
120 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
121 IntPtr ptr = TG_DbPINVOKE.OdDgComplexProxyGraphicsElement_createIterator__SWIG_0(swigCPtr, atBeginning, skipDeleted);
122
123 OdDgElementIterator ret = null;
124 if (null != mTrans)
125 {
126 mTrans.AddObject((OdDgElementIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIterator),ptr, true));
127 ret = (OdDgElementIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIterator),ptr, false);
128 }
129 else
130 {
131 ret = (OdDgElementIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIterator),ptr, true);
132 }
133
135 return ret;
136}
137
138 public OdDgElementIterator createIterator(bool atBeginning) {// OdDgElementIteratorPtr
139 MemoryManager mMan = MemoryManager.GetMemoryManager();
140 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
142
143 OdDgElementIterator ret = null;
144 if (null != mTrans)
145 {
146 mTrans.AddObject((OdDgElementIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIterator),ptr, true));
147 ret = (OdDgElementIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIterator),ptr, false);
148 }
149 else
150 {
151 ret = (OdDgElementIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIterator),ptr, true);
152 }
153
155 return ret;
156}
157
158 public OdDgElementIterator createIterator() {// OdDgElementIteratorPtr
159 MemoryManager mMan = MemoryManager.GetMemoryManager();
160 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
162
163 OdDgElementIterator ret = null;
164 if (null != mTrans)
165 {
166 mTrans.AddObject((OdDgElementIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIterator),ptr, true));
167 ret = (OdDgElementIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIterator),ptr, false);
168 }
169 else
170 {
171 ret = (OdDgElementIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElementIterator),ptr, true);
172 }
173
175 return ret;
176}
177
178 public virtual void getData(OdBinaryData data) {
181 }
182
183 public override bool subWorldDraw(OdGiWorldDraw pWd) {
186 return ret;
187 }
188
189 public override OdResult subGetGeomExtents(OdDgElementId idView, OdGeExtents3d extents) {
192 return ret;
193 }
194
195 public override OdResult subGetGeomExtents(OdGeExtents3d extents) {
198 return ret;
199 }
200
201 public override UInt32 subSetAttributes(OdGiDrawableTraits pTraits) {
202// test csout
203 /*SIMPLETYPE*/
206 return ret;
207 }
208
209 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
210 string ret = TG_DbPINVOKE.OdDgComplexProxyGraphicsElement_getRealClassName(ptr /*SIMPLETYPE*/);
212 return ret;
213 }
214
219 public virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status) { this.gripStatus(status); }
220
226
227}
228
229}
static HandleRef getCPtr(OdBinaryData obj)
Definition: OdBinaryData.cs:25
static HandleRef getCPtr(OdGeExtents3d obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiDrawableTraits obj)
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
override OdResult subGetGeomExtents(OdGeExtents3d extents)
override UInt32 subSetAttributes(OdGiDrawableTraits pTraits)
OdDgElementIterator createIterator(bool atBeginning)
static new OdDgComplexProxyGraphicsElement createObject()
static HandleRef getCPtr(OdDgComplexProxyGraphicsElement obj)
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
override OdRxObject queryX(OdRxClass protocolClass)
override OdResult subGetGeomExtents(OdDgElementId idView, OdGeExtents3d extents)
OdDgElementIterator createIterator(bool atBeginning, bool skipDeleted)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
static OdDgComplexProxyGraphicsElement cast(OdRxObject pObj)
override OdDgElement.ElementTypes getElementType()
virtual void gripStatus(OdDgElement.GripStat status)
Definition: OdDgElement.cs:877
static HandleRef getCPtr(OdDgElementId obj)
static global::System.Exception Retrieve()
static IntPtr OdDgComplexProxyGraphicsElement_desc()
static void OdDgComplexProxyGraphicsElement_getData(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdDgComplexProxyGraphicsElement_isA(HandleRef jarg1)
static int OdDgComplexProxyGraphicsElement_subGetGeomExtents__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgComplexProxyGraphicsElement_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static byte OdDgComplexProxyGraphicsElement_getElementSubType(HandleRef jarg1)
static IntPtr OdDgComplexProxyGraphicsElement_cast(HandleRef jarg1)
static int OdDgComplexProxyGraphicsElement_subGetGeomExtents__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDgComplexProxyGraphicsElement_createObject()
static int OdDgComplexProxyGraphicsElement_getElementType(HandleRef jarg1)
static IntPtr OdDgComplexProxyGraphicsElement_createIterator__SWIG_1(HandleRef jarg1, bool jarg2)
static string OdDgComplexProxyGraphicsElement_getRealClassName(IntPtr jarg1)
static IntPtr OdDgComplexProxyGraphicsElement_createIterator__SWIG_0(HandleRef jarg1, bool jarg2, bool jarg3)
static void delete_OdDgComplexProxyGraphicsElement(HandleRef jarg1)
static UInt32 OdDgComplexProxyGraphicsElement_subSetAttributes(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDgComplexProxyGraphicsElement_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDgComplexProxyGraphicsElement_createIterator__SWIG_2(HandleRef jarg1)