Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDgSchemaItemVariant.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 OdDgSchemaItemVariant : 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 OdDgSchemaItemVariant(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(OdDgSchemaItemVariant 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 OdDgSchemaItemVariant() : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_0(), true) {
54 }
55
56 public OdDgSchemaItemVariant(String strName) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_1(strName), true) {
58 }
59
60 public OdDgSchemaItemVariant(String strName, OdBinaryData unknownValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_2(strName, OdBinaryData.getCPtr(unknownValue).Handle), true) {
62 }
63
64 public OdDgSchemaItemVariant(String strName, String strValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_3(strName, strValue), true) {
66 }
67
68 public OdDgSchemaItemVariant(String strName, double dValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_4(strName, dValue), true) {
70 }
71
72 public OdDgSchemaItemVariant(String strName, Int32 iValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_5(strName, iValue /*SIMPLETYPE*/), true) {
74 }
75
76 public OdDgSchemaItemVariant(String strName, bool bValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_6(strName, bValue), true) {
78 }
79
80 public OdDgSchemaItemVariant(String strName, OdGePoint3d ptValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_7(strName, OdGePoint3d.getCPtr(ptValue)), true) {
82 }
83
84 public OdDgSchemaItemVariant(String strName, OdTimeStamp dateTime) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_8(strName, OdTimeStamp.getCPtr(dateTime)), true) {
86 }
87
88 public OdDgSchemaItemVariant(String strName, OdDgItemGroupVariable itemGroupValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_9(strName, OdDgItemGroupVariable.getCPtr(itemGroupValue)), true) {
90 }
91
92 public OdDgSchemaItemVariant(String strName, OdDgExpressionGroupVariable expressionGroupValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_10(strName, OdDgExpressionGroupVariable.getCPtr(expressionGroupValue)), true) {
94 }
95
96 public OdDgSchemaItemVariant(String strName, OdStringArray strArrValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_11(strName, OdStringArray.getCPtr(strArrValue)), true) {
98 }
99
100 public OdDgSchemaItemVariant(String strName, OdDoubleValuesArray dArrValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_12(strName, OdDoubleValuesArray.getCPtr(dArrValue)), true) {
102 }
103
104 public OdDgSchemaItemVariant(String strName, OdLongArray iArrValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_13(strName, OdLongArray.getCPtr(iArrValue)), true) {
106 }
107
108 public OdDgSchemaItemVariant(String strName, OdBoolValuesArray bArrValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_14(strName, OdBoolValuesArray.getCPtr(bArrValue)), true) {
110 }
111
112 public OdDgSchemaItemVariant(String strName, OdGePoint3dArraySt ptArrValue) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_15(strName, OdGePoint3dArraySt.getCPtr(ptArrValue)), true) {
114 }
115
116 public OdDgSchemaItemVariant(String strName, OdTimeStampArray arrDateTime) : this(TG_DbPINVOKE.new_OdDgSchemaItemVariant__SWIG_16(strName, OdTimeStampArray.getCPtr(arrDateTime)), true) {
118 }
119
125
131
136
142
147
153
158
159 public Int32 getInt32Value() {
160// test csout
161 /*SIMPLETYPE*/
164 return ret;
165 }
166
167 public void setInt32Value(Int32 iValue) {
168 TG_DbPINVOKE.OdDgSchemaItemVariant_setInt32Value(swigCPtr, iValue /*SIMPLETYPE*/);
170 }
171
177
182
187
193
198
204
209
215
220
226
231
237
242
248
253
259
264
270
275
281
286
292
297
303
308
310 kUnknownVar = 0,
311 kStringVar = 1,
312 kDoubleVar = 2,
313 kInt32Var = 3,
314 kBoolVar = 4,
315 kPoint3dVar = 5,
316 kDateTimeVar = 6,
317 kItemGroupVar = 7,
319 kStringArrayVar = 9,
320 kDoubleArrayVar = 10,
321 kInt32ArrayVar = 11,
322 kBoolArrayVar = 12,
323 kPoint3dArrayVar = 13,
325 kEmptyVar = 15
326 }
327
328}
329
330}
static HandleRef getCPtr(OdBinaryData obj)
static HandleRef getCPtr(OdBoolValuesArray obj)
static HandleRef getCPtr(OdDoubleValuesArray obj)
static HandleRef getCPtr(OdGePoint3dArraySt obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdLongArray obj)
static HandleRef getCPtr(OdStringArray obj)
static HandleRef getCPtr(OdTimeStampArray obj)
static HandleRef getCPtr(OdTimeStamp obj)
static HandleRef getCPtr(OdDgExpressionGroupVariable obj)
static HandleRef getCPtr(OdDgItemGroupVariable obj)
void setPoint3dValue(OdGePoint3d ptValue)
static HandleRef getCPtr(OdDgSchemaItemVariant obj)
OdDgSchemaItemVariant(IntPtr cPtr, bool cMemoryOwn)
OdDgSchemaItemVariant(String strName, OdDoubleValuesArray dArrValue)
OdDgSchemaItemVariant.OdDgSchemaItemVariantType getType()
OdDgSchemaItemVariant(String strName, OdGePoint3dArraySt ptArrValue)
OdDgSchemaItemVariant(String strName, Int32 iValue)
OdDgSchemaItemVariant(String strName, OdDgItemGroupVariable itemGroupValue)
OdDgSchemaItemVariant(String strName, String strValue)
virtual void Dispose(bool disposing)
OdDgSchemaItemVariant(String strName, bool bValue)
void setDateTimeArrayValue(OdTimeStampArray arrValue)
OdDgSchemaItemVariant(String strName, OdDgExpressionGroupVariable expressionGroupValue)
OdDgExpressionGroupVariable getExpressionGroupValue()
void setPoint3dArrayValue(OdGePoint3dArraySt arrValue)
OdDgSchemaItemVariant(String strName, OdGePoint3d ptValue)
void setDoubleArrayValue(OdDoubleValuesArray arrValue)
OdDgItemGroupVariable getItemGroupValue()
void setBoolArrayValue(OdBoolValuesArray arrValue)
void setDateTimeValue(OdTimeStamp dateTimeValue)
void setStringArrayValue(OdStringArray arrValue)
OdDgSchemaItemVariant(String strName, OdStringArray strArrValue)
void setInt32ArrayValue(OdLongArray arrValue)
OdDgSchemaItemVariant(String strName, OdLongArray iArrValue)
OdDgSchemaItemVariant(String strName, double dValue)
OdDgSchemaItemVariant(String strName, OdTimeStampArray arrDateTime)
void setUnknownValue(OdBinaryData binValue)
void setItemGroupValue(OdDgItemGroupVariable itemGroupValue)
OdDgSchemaItemVariant(String strName, OdTimeStamp dateTime)
OdDgSchemaItemVariant(String strName, OdBoolValuesArray bArrValue)
OdDgSchemaItemVariant(String strName, OdBinaryData unknownValue)
void setExpressionGroupValue(OdDgExpressionGroupVariable expressionGroupValue)
static global::System.Exception Retrieve()
static global::System.IntPtr OdDgSchemaItemVariant_getPoint3dArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgSchemaItemVariant_getDateTimeArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setName(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static global::System.IntPtr OdDgSchemaItemVariant_getDoubleArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgSchemaItemVariant_getBoolValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setEmptyValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgSchemaItemVariant_getStringArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setItemGroupValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static Int32 OdDgSchemaItemVariant_getInt32Value(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDgSchemaItemVariant_getName(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgSchemaItemVariant_getPoint3dValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgSchemaItemVariant_getBoolArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgSchemaItemVariant_getExpressionGroupValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setDoubleArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgSchemaItemVariant_setStringValue(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void delete_OdDgSchemaItemVariant(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setExpressionGroupValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgSchemaItemVariant_setDateTimeValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static String OdDgSchemaItemVariant_getStringValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setInt32ArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDgSchemaItemVariant_getInt32ArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setBoolValue(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgSchemaItemVariant_setInt32Value(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static global::System.IntPtr OdDgSchemaItemVariant_getDateTimeValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setPoint3dArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgSchemaItemVariant_getType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setUnknownValue(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdDgSchemaItemVariant_setStringArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgSchemaItemVariant_setPoint3dValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDgSchemaItemVariant_getDoubleValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setDateTimeArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgSchemaItemVariant_setDoubleValue(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdDgSchemaItemVariant_getUnknownValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgSchemaItemVariant_getItemGroupValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgSchemaItemVariant_setBoolArrayValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)