Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgXMLProperty.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
17public class OdDgXMLProperty : 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 OdDgXMLProperty(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(OdDgXMLProperty obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
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 OdDgXMLProperty() : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_0(), true) {
54 }
55
56 public OdDgXMLProperty(OdDgXMLProperty obj) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_1(OdDgXMLProperty.getCPtr(obj)), true) {
58 }
59
60 public OdDgXMLProperty(String strName) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_2(strName), true) {
62 }
63
64 public OdDgXMLProperty(String strName, String strValue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_3(strName, strValue), true) {
66 }
67
68 public OdDgXMLProperty(String strName, double dValue, UInt32 /*SIMPLETYPE*/ uPrecision) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_4(strName, dValue, uPrecision /*SIMPLETYPE*/), true) {
70 }
71
72 public OdDgXMLProperty(String strName, double dValue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_5(strName, dValue), true) {
74 }
75
76 public OdDgXMLProperty(String strName, Int32 /*SIMPLETYPE*/ iValue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_6(strName, iValue /*SIMPLETYPE*/), true) {
78 }
79
80 public OdDgXMLProperty(String strName, UInt32 /*SIMPLETYPE*/ uValue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_7(strName, uValue /*SIMPLETYPE*/), true) {
82 }
83
84 public OdDgXMLProperty(String strName, Int64 /*SIMPLETYPE*/ iValue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_8(strName, iValue /*SIMPLETYPE*/), true) {
86 }
87
88 public OdDgXMLProperty(String strName, UInt64 /*SIMPLETYPE*/ uValue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_9(strName, uValue /*SIMPLETYPE*/), true) {
90 }
91
92 public OdDgXMLProperty(String strName, OdTimeStamp timeVal) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_10(strName, OdTimeStamp.getCPtr(timeVal)), true) {
94 }
95
96 public OdDgXMLProperty(String strName, bool bValue, String strTrue, String strFalse) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_11(strName, bValue, strTrue, strFalse), true) {
98 }
99
100 public OdDgXMLProperty(String strName, bool bValue, String strTrue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_12(strName, bValue, strTrue), true) {
102 }
103
104 public OdDgXMLProperty(String strName, bool bValue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_13(strName, bValue), true) {
106 }
107
108 public OdDgXMLProperty(String strName, OdGePoint2d pt2dValue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_14(strName, OdGePoint2d.getCPtr(pt2dValue)), true) {
110 }
111
112 public OdDgXMLProperty(String strName, OdGePoint3d pt3dValue) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_15(strName, OdGePoint3d.getCPtr(pt3dValue)), true) {
114 }
115
116 public OdDgXMLProperty(OdDgXMLNode xmlNode) : this(TG_DbPINVOKE.new_OdDgXMLProperty__SWIG_16(OdDgXMLNode.getCPtr(xmlNode)), true) {
118 }
119
123 return ret;
124 }
125
126 public String getName() {
127 string ret = TG_DbPINVOKE.OdDgXMLProperty_getName(swigCPtr);
129 return ret;
130}
131
132 public String asString() {
133 string ret = TG_DbPINVOKE.OdDgXMLProperty_asString(swigCPtr);
135 return ret;
136}
137
139 string ret = TG_DbPINVOKE.OdDgXMLProperty_asUtf16String(swigCPtr);
141 return ret;
142}
143
144 public double asDouble() {
145 double ret = TG_DbPINVOKE.OdDgXMLProperty_asDouble(swigCPtr);
147 return ret;
148 }
149
150 public Int32 asInt32() {
151// test csout
152 /*SIMPLETYPE*/
153 Int32 ret = TG_DbPINVOKE.OdDgXMLProperty_asInt32(swigCPtr);
155 return ret;
156 }
157
158 public UInt32 asUInt32() {
159// test csout
160 /*SIMPLETYPE*/
161 UInt32 ret = TG_DbPINVOKE.OdDgXMLProperty_asUInt32(swigCPtr);
163 return ret;
164 }
165
166 public Int64 asInt64() {
167// test csout
168 /*SIMPLETYPE*/
169 Int64 ret = TG_DbPINVOKE.OdDgXMLProperty_asInt64(swigCPtr);
171 return ret;
172 }
173
174 public UInt64 asUInt64() {
175// test csout
176 /*SIMPLETYPE*/
177 UInt64 ret = TG_DbPINVOKE.OdDgXMLProperty_asUInt64(swigCPtr);
179 return ret;
180 }
181
185 return ret;
186 }
187
188 public bool asBool(String strTrue, String strFalse, bool bCaseDependent) {
189 bool ret = TG_DbPINVOKE.OdDgXMLProperty_asBool__SWIG_0(swigCPtr, strTrue, strFalse, bCaseDependent);
191 return ret;
192 }
193
194 public bool asBool(String strTrue, String strFalse) {
195 bool ret = TG_DbPINVOKE.OdDgXMLProperty_asBool__SWIG_1(swigCPtr, strTrue, strFalse);
197 return ret;
198 }
199
200 public bool asBool(String strTrue) {
201 bool ret = TG_DbPINVOKE.OdDgXMLProperty_asBool__SWIG_2(swigCPtr, strTrue);
203 return ret;
204 }
205
206 public bool asBool() {
207 bool ret = TG_DbPINVOKE.OdDgXMLProperty_asBool__SWIG_3(swigCPtr);
209 return ret;
210 }
211
215 return ret;
216 }
217
221 return ret;
222 }
223
224 public bool isEmpty() {
225 bool ret = TG_DbPINVOKE.OdDgXMLProperty_isEmpty(swigCPtr);
227 return ret;
228 }
229
230 public void clear() {
233 }
234
235 public bool isXMLNode() {
236 bool ret = TG_DbPINVOKE.OdDgXMLProperty_isXMLNode(swigCPtr);
238 return ret;
239 }
240
244 return ret;
245 }
246
247 public void setName(String strName) {
248 TG_DbPINVOKE.OdDgXMLProperty_setName(swigCPtr, strName);
250 }
251
252 public void setString(String strValue) {
253 TG_DbPINVOKE.OdDgXMLProperty_setString(swigCPtr, strValue);
255 }
256
257 public void setDouble(double dValue, UInt32 /*SIMPLETYPE*/ uPrecision) {
258 TG_DbPINVOKE.OdDgXMLProperty_setDouble__SWIG_0(swigCPtr, dValue, uPrecision /*SIMPLETYPE*/);
260 }
261
262 public void setDouble(double dValue) {
265 }
266
267 public void setInt32(Int32 /*SIMPLETYPE*/ iValue) {
268 TG_DbPINVOKE.OdDgXMLProperty_setInt32(swigCPtr, iValue /*SIMPLETYPE*/);
270 }
271
272 public void setUInt32(UInt32 /*SIMPLETYPE*/ uValue) {
273 TG_DbPINVOKE.OdDgXMLProperty_setUInt32(swigCPtr, uValue /*SIMPLETYPE*/);
275 }
276
277 public void setInt64(Int64 /*SIMPLETYPE*/ iValue) {
278 TG_DbPINVOKE.OdDgXMLProperty_setInt64(swigCPtr, iValue /*SIMPLETYPE*/);
280 }
281
282 public void setUInt64(UInt64 /*SIMPLETYPE*/ uValue) {
283 TG_DbPINVOKE.OdDgXMLProperty_setUInt64(swigCPtr, uValue /*SIMPLETYPE*/);
285 }
286
287 public void setDateTime(OdTimeStamp timeVal) {
290 }
291
292 public void setBool(bool bValue, String strTrue, String strFalse) {
293 TG_DbPINVOKE.OdDgXMLProperty_setBool__SWIG_0(swigCPtr, bValue, strTrue, strFalse);
295 }
296
297 public void setBool(bool bValue, String strTrue) {
298 TG_DbPINVOKE.OdDgXMLProperty_setBool__SWIG_1(swigCPtr, bValue, strTrue);
300 }
301
302 public void setBool(bool bValue) {
305 }
306
307 public void setPoint2d(OdGePoint2d pt2dValue, UInt32 /*SIMPLETYPE*/ uPrecision) {
308 TG_DbPINVOKE.OdDgXMLProperty_setPoint2d__SWIG_0(swigCPtr, OdGePoint2d.getCPtr(pt2dValue), uPrecision /*SIMPLETYPE*/);
310 }
311
312 public void setPoint2d(OdGePoint2d pt2dValue) {
315 }
316
317 public void setPoint3d(OdGePoint3d pt3dValue, UInt32 /*SIMPLETYPE*/ uPrecision) {
318 TG_DbPINVOKE.OdDgXMLProperty_setPoint3d__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(pt3dValue), uPrecision /*SIMPLETYPE*/);
320 }
321
322 public void setPoint3d(OdGePoint3d pt3dValue) {
325 }
326
327 public void setXMLNode(OdDgXMLNode xmlNode) {
330 }
331
332}
333
334}
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdTimeStamp obj)
Definition: OdTimeStamp.cs:26
static HandleRef getCPtr(OdDgXMLNode obj)
Definition: OdDgXMLNode.cs:27
OdDgXMLProperty(OdDgXMLProperty obj)
OdDgXMLProperty(String strName, UInt32 uValue)
void setPoint2d(OdGePoint2d pt2dValue)
OdDgXMLProperty(String strName, bool bValue)
OdDgXMLProperty(String strName, OdTimeStamp timeVal)
virtual void Dispose(bool disposing)
void setUInt64(UInt64 uValue)
static HandleRef getCPtr(OdDgXMLProperty obj)
void setDateTime(OdTimeStamp timeVal)
OdDgXMLProperty(OdDgXMLNode xmlNode)
void setDouble(double dValue)
void setInt64(Int64 iValue)
OdDgXMLProperty(String strName, bool bValue, String strTrue)
OdDgXMLProperty(String strName, double dValue, UInt32 uPrecision)
void setInt32(Int32 iValue)
void setUInt32(UInt32 uValue)
void setPoint3d(OdGePoint3d pt3dValue, UInt32 uPrecision)
OdDgXMLProperty Assign(OdDgXMLProperty obj)
OdDgXMLProperty(String strName)
void setString(String strValue)
bool asBool(String strTrue, String strFalse)
void setPoint3d(OdGePoint3d pt3dValue)
bool asBool(String strTrue, String strFalse, bool bCaseDependent)
OdDgXMLProperty(IntPtr cPtr, bool cMemoryOwn)
OdDgXMLProperty(String strName, bool bValue, String strTrue, String strFalse)
void setName(String strName)
void setDouble(double dValue, UInt32 uPrecision)
void setBool(bool bValue)
OdDgXMLProperty(String strName, Int32 iValue)
void setBool(bool bValue, String strTrue)
void setBool(bool bValue, String strTrue, String strFalse)
OdDgXMLProperty(String strName, double dValue)
OdDgXMLProperty(String strName, OdGePoint2d pt2dValue)
void setXMLNode(OdDgXMLNode xmlNode)
OdDgXMLProperty(String strName, String strValue)
bool asBool(String strTrue)
void setPoint2d(OdGePoint2d pt2dValue, UInt32 uPrecision)
OdDgXMLProperty(String strName, Int64 iValue)
OdDgXMLProperty(String strName, UInt64 uValue)
OdDgXMLProperty(String strName, OdGePoint3d pt3dValue)
static global::System.Exception Retrieve()
static global::System.IntPtr OdDgXMLProperty_asXMLNode__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgXMLProperty_setDateTime(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgXMLProperty_setDouble__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, UInt32 jarg3)
static bool OdDgXMLProperty_asBool__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgXMLProperty_clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDgXMLProperty_asUtf16String(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgXMLProperty_asBool__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static bool OdDgXMLProperty_asBool__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdDgXMLProperty_setName(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void delete_OdDgXMLProperty(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgXMLProperty_setDouble__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdDgXMLProperty_isXMLNode(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgXMLProperty_setPoint2d__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgXMLProperty_setPoint3d__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgXMLProperty_setXMLNode(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgXMLProperty_setPoint2d__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3)
static UInt32 OdDgXMLProperty_asUInt32(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgXMLProperty_asPoint2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgXMLProperty_setInt64(global::System.Runtime.InteropServices.HandleRef jarg1, Int64 jarg2)
static void OdDgXMLProperty_setBool__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static global::System.IntPtr OdDgXMLProperty_asPoint3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgXMLProperty_setBool__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, [MarshalAs(UnmanagedType.LPWStr)]String jarg4)
static Int32 OdDgXMLProperty_asInt32(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgXMLProperty_setPoint3d__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3)
static void OdDgXMLProperty_setUInt32(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static bool OdDgXMLProperty_asBool__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, bool jarg4)
static global::System.IntPtr OdDgXMLProperty_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgXMLProperty_isEmpty(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDgXMLProperty_asString(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt64 OdDgXMLProperty_asUInt64(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int64 OdDgXMLProperty_asInt64(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDgXMLProperty_asDouble(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDgXMLProperty_getName(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgXMLProperty_setBool__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgXMLProperty_setUInt64(global::System.Runtime.InteropServices.HandleRef jarg1, UInt64 jarg2)
static void OdDgXMLProperty_setInt32(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static global::System.IntPtr OdDgXMLProperty_asDateTime(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgXMLProperty_setString(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)