Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgVariableValueVariant.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 OdDgVariableValueVariant : 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 OdDgVariableValueVariant(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(OdDgVariableValueVariant 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 OdDgVariableValueVariant() : this(TG_DbPINVOKE.new_OdDgVariableValueVariant__SWIG_0(), true) {
54 }
55
56 public OdDgVariableValueVariant(OdDgVariable.OdDgVariableType uType, double dValue) : this(TG_DbPINVOKE.new_OdDgVariableValueVariant__SWIG_1((int)uType, dValue), true) {
58 }
59
60 public OdDgVariableValueVariant(Int32 /*SIMPLETYPE*/ iValue) : this(TG_DbPINVOKE.new_OdDgVariableValueVariant__SWIG_2(iValue /*SIMPLETYPE*/), true) {
62 }
63
64 public OdDgVariableValueVariant(bool bValue) : this(TG_DbPINVOKE.new_OdDgVariableValueVariant__SWIG_3(bValue), true) {
66 }
67
71 return ret;
72 }
73
74 public double getDoubleValue() {
77 return ret;
78 }
79
80 public void setDoubleValue(OdDgVariable.OdDgVariableType uType, double dValue) {
81 TG_DbPINVOKE.OdDgVariableValueVariant_setDoubleValue(swigCPtr, (int)uType, dValue);
83 }
84
85 public Int32 getIntegerValue() {
86// test csout
87 /*SIMPLETYPE*/
90 return ret;
91 }
92
93 public void setIntegerValue(Int32 /*SIMPLETYPE*/ iValue) {
94 TG_DbPINVOKE.OdDgVariableValueVariant_setIntegerValue(swigCPtr, iValue /*SIMPLETYPE*/);
96 }
97
98 public bool getBooleanValue() {
101 return ret;
102 }
103
104 public void setBooleanValue(bool bValue) {
107 }
108
109 public void setValueAsProxy() {
112 }
113
114}
115
116}
virtual void Dispose(bool disposing)
void setDoubleValue(OdDgVariable.OdDgVariableType uType, double dValue)
OdDgVariableValueVariant(IntPtr cPtr, bool cMemoryOwn)
OdDgVariable.OdDgVariableType getType()
OdDgVariableValueVariant(OdDgVariable.OdDgVariableType uType, double dValue)
static HandleRef getCPtr(OdDgVariableValueVariant obj)
static global::System.Exception Retrieve()
static bool OdDgVariableValueVariant_getBooleanValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int32 OdDgVariableValueVariant_getIntegerValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgVariableValueVariant_setBooleanValue(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgVariableValueVariant_setIntegerValue(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static int OdDgVariableValueVariant_getType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgVariableValueVariant_setDoubleValue(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3)
static void OdDgVariableValueVariant_setValueAsProxy(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDgVariableValueVariant_getDoubleValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDgVariableValueVariant(global::System.Runtime.InteropServices.HandleRef jarg1)