Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgDimStackedLocation.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 OdDgDimStackedLocation(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgDimStackedLocation_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgDimStackedLocation 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 OdDgDimStackedLocation cast(OdRxObject pObj) {// OdSmartPtr<OdDgDimStackedLocation>
58 MemoryManager mMan = MemoryManager.GetMemoryManager();
59 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
61
62 OdDgDimStackedLocation ret = null;
63 if (null != mTrans)
64 {
65 mTrans.AddObject((OdDgDimStackedLocation)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDimStackedLocation),ptr, true));
66 ret = (OdDgDimStackedLocation)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDimStackedLocation),ptr, false);
67 }
68 else
69 {
70 ret = (OdDgDimStackedLocation)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDimStackedLocation),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.OdDgDimStackedLocation_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.OdDgDimStackedLocation_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.OdDgDimStackedLocation_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
93
95 return ret;
96}
97
98 public new static OdDgDimStackedLocation createObject() {// OdSmartPtr<OdDgDimStackedLocation>
99 MemoryManager mMan = MemoryManager.GetMemoryManager();
100 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
102
103 OdDgDimStackedLocation ret = null;
104 if (null != mTrans)
105 {
106 mTrans.AddObject((OdDgDimStackedLocation)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDimStackedLocation),ptr, true));
107 ret = (OdDgDimStackedLocation)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDimStackedLocation),ptr, false);
108 }
109 else
110 {
111 ret = (OdDgDimStackedLocation)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgDimStackedLocation),ptr, true);
112 }
113
115 return ret;
116}
117
121 return ret;
122 }
123
124 public override bool subWorldDraw(OdGiWorldDraw pWd) {
127 return ret;
128 }
129
130 public virtual bool getStackExtLinesFlag() {
133 return ret;
134 }
135
136 public virtual void setStackExtLinesFlag(bool val) {
139 }
140
141 public virtual bool getLeftExtLinesPresentFlag() {
144 return ret;
145 }
146
147 public virtual void setLeftExtLinesPresentFlag(bool val) {
150 }
151
152 public virtual bool getRightExtLinesPresentFlag() {
155 return ret;
156 }
157
158 public virtual void setRightExtLinesPresentFlag(bool val) {
161 }
162
163 public virtual bool getArcSymbolFlag() {
166 return ret;
167 }
168
169 public virtual void setArcSymbolFlag(bool val) {
172 }
173
177 return ret;
178 }
179
183 }
184
188 return ret;
189 }
190
194 }
195
199 return ret;
200 }
201
205 }
206
210 return ret;
211 }
212
216 }
217
221 return ret;
222 }
223
224 public virtual void setTextType(OdDgDimTool.TextType val) {
227 }
228
232 return ret;
233 }
234
235 public virtual void setPrefix(OdDgDimTool.CustomSymbol val) {
238 }
239
243 return ret;
244 }
245
246 public virtual void setSuffix(OdDgDimTool.CustomSymbol val) {
249 }
250
251 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
252 string ret = TG_DbPINVOKE.OdDgDimStackedLocation_getRealClassName(ptr /*SIMPLETYPE*/);
254 return ret;
255 }
256
261 public virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status) { this.gripStatus(status); }
262
268
269}
270
271}
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static string getRealClassName(IntPtr ptr)
virtual void setPrefix(OdDgDimTool.CustomSymbol val)
OdDgDimStackedLocation(IntPtr cPtr, bool cMemoryOwn)
virtual OdDgDimTool.CustomSymbol getPrefix()
static HandleRef getCPtr(OdDgDimStackedLocation obj)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
virtual OdDgDimTool.TerminatorType getLeftTerminator()
virtual void setRightExtLinesPresentFlag(bool val)
virtual void setStackExtLinesFlag(bool val)
override void Dispose(bool disposing)
virtual OdDgDimTool.TerminatorType getJointTerminator()
virtual OdDgDimTool.TextType getTextType()
virtual void setFirstTerminator(OdDgDimTool.TerminatorType val)
virtual void vb_gripStatus(Teigha.TG.OdDgElement.GripStat status)
virtual void setRightTerminator(OdDgDimTool.TerminatorType val)
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdDgDimTool.TerminatorType getRightTerminator()
static new OdDgDimStackedLocation createObject()
override OdDgDimension.ToolType dimensionType()
virtual void setLeftExtLinesPresentFlag(bool val)
virtual void setTextType(OdDgDimTool.TextType val)
virtual void setLeftTerminator(OdDgDimTool.TerminatorType val)
virtual void setJointTerminator(OdDgDimTool.TerminatorType val)
virtual OdDgDimTool.TerminatorType getFirstTerminator()
virtual OdDgDimTool.CustomSymbol getSuffix()
static OdDgDimStackedLocation cast(OdRxObject pObj)
override OdDgElement.ElementTypes getElementType()
override bool subWorldDraw(OdGiWorldDraw pWd)
virtual void setSuffix(OdDgDimTool.CustomSymbol val)
virtual void gripStatus(OdDgElement.GripStat status)
Definition: OdDgElement.cs:877
static global::System.Exception Retrieve()
static int OdDgDimStackedLocation_getTextType(HandleRef jarg1)
static bool OdDgDimStackedLocation_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static void OdDgDimStackedLocation_setRightExtLinesPresentFlag(HandleRef jarg1, bool jarg2)
static void OdDgDimStackedLocation_setJointTerminator(HandleRef jarg1, int jarg2)
static int OdDgDimStackedLocation_getFirstTerminator(HandleRef jarg1)
static void OdDgDimStackedLocation_setSuffix(HandleRef jarg1, int jarg2)
static void OdDgDimStackedLocation_setPrefix(HandleRef jarg1, int jarg2)
static bool OdDgDimStackedLocation_getLeftExtLinesPresentFlag(HandleRef jarg1)
static void OdDgDimStackedLocation_setStackExtLinesFlag(HandleRef jarg1, bool jarg2)
static bool OdDgDimStackedLocation_getRightExtLinesPresentFlag(HandleRef jarg1)
static void delete_OdDgDimStackedLocation(HandleRef jarg1)
static int OdDgDimStackedLocation_getSuffix(HandleRef jarg1)
static int OdDgDimStackedLocation_getLeftTerminator(HandleRef jarg1)
static IntPtr OdDgDimStackedLocation_queryX(HandleRef jarg1, HandleRef jarg2)
static void OdDgDimStackedLocation_setRightTerminator(HandleRef jarg1, int jarg2)
static bool OdDgDimStackedLocation_getArcSymbolFlag(HandleRef jarg1)
static int OdDgDimStackedLocation_getPrefix(HandleRef jarg1)
static void OdDgDimStackedLocation_setArcSymbolFlag(HandleRef jarg1, bool jarg2)
static int OdDgDimStackedLocation_getRightTerminator(HandleRef jarg1)
static void OdDgDimStackedLocation_setFirstTerminator(HandleRef jarg1, int jarg2)
static IntPtr OdDgDimStackedLocation_createObject()
static byte OdDgDimStackedLocation_getElementSubType(HandleRef jarg1)
static void OdDgDimStackedLocation_setLeftExtLinesPresentFlag(HandleRef jarg1, bool jarg2)
static void OdDgDimStackedLocation_setTextType(HandleRef jarg1, int jarg2)
static int OdDgDimStackedLocation_getElementType(HandleRef jarg1)
static IntPtr OdDgDimStackedLocation_desc()
static string OdDgDimStackedLocation_getRealClassName(IntPtr jarg1)
static int OdDgDimStackedLocation_dimensionType(HandleRef jarg1)
static IntPtr OdDgDimStackedLocation_isA(HandleRef jarg1)
static void OdDgDimStackedLocation_setLeftTerminator(HandleRef jarg1, int jarg2)
static int OdDgDimStackedLocation_getJointTerminator(HandleRef jarg1)
static IntPtr OdDgDimStackedLocation_cast(HandleRef jarg1)
static bool OdDgDimStackedLocation_getStackExtLinesFlag(HandleRef jarg1)