Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
dcl_u_val.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class dcl_u_val : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public dcl_u_val(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(dcl_u_val obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
32 ~dcl_u_val() {
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
53 public double rreal {
54 set {
57 }
58 get {
59 double ret = PCADGlobalsPINVOKE.dcl_u_val_rreal_get(swigCPtr);
61 return ret;
62 }
63 }
64
65 public double[] rpoint {
66 set { PCADGlobalsPINVOKE.dcl_u_val_rpoint_set(swigCPtr, value /*DOUBLE_FIXED_ARRAY*/); /*DOUBLE_FIXED_ARRAY*/}
67
68 get { return Teigha.Core.Helpers.UnMarshalDoubleFixedArray(PCADGlobalsPINVOKE.dcl_u_val_rpoint_get(swigCPtr), 3); /*DOUBLE_FIXED_ARRAY*/ }
69
70 }
71
72 public Int16 rint {
73 set {
74 /*SIMPLETYPE*/
75 PCADGlobalsPINVOKE.dcl_u_val_rint_set(swigCPtr, value /*SIMPLETYPE*/);
77 }
78 get {
79 /*SIMPLETYPE*/
80 Int16 ret = PCADGlobalsPINVOKE.dcl_u_val_rint_get(swigCPtr);
82 return ret;
83 }
84 }
85
86 public string rstring {
87 set {
90 }
91 get {
92 string ret = PCADGlobalsPINVOKE.dcl_u_val_rstring_get(swigCPtr);
94 return ret;
95 }
96 }
97
99 set {
102 }
103 get {
104 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.dcl_u_val_rlname_get(swigCPtr);
105 SWIGTYPE_p_long ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_long(cPtr, false);
107 return ret;
108 }
109 }
110
111 public Int32 rlong {
112 set {
113 /*SIMPLETYPE*/
114 PCADGlobalsPINVOKE.dcl_u_val_rlong_set(swigCPtr, value /*SIMPLETYPE*/);
116 }
117 get {
118 /*SIMPLETYPE*/
119 Int32 ret = PCADGlobalsPINVOKE.dcl_u_val_rlong_get(swigCPtr);
121 return ret;
122 }
123 }
124
126 set {
129 }
130 get {
131 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.dcl_u_val_rbinary_get(swigCPtr);
132 dcl_binary ret = (cPtr == global::System.IntPtr.Zero) ? null : new dcl_binary(cPtr, false);
134 return ret;
135 }
136 }
137
138 public dcl_u_val() : this(PCADGlobalsPINVOKE.new_dcl_u_val(), true) {
140 }
141
142}
143
144}
static IntPtr dcl_u_val_rpoint_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void dcl_u_val_rint_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2)
static void dcl_u_val_rlname_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static Int16 dcl_u_val_rint_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr dcl_u_val_rlname_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int32 dcl_u_val_rlong_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static double dcl_u_val_rreal_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void dcl_u_val_rreal_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void dcl_u_val_rbinary_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void dcl_u_val_rpoint_set(global::System.Runtime.InteropServices.HandleRef jarg1, [In, MarshalAs(UnmanagedType.LPArray, SizeConst=3)]double[] jarg2)
static void dcl_u_val_rlong_set(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static string dcl_u_val_rstring_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr dcl_u_val_rbinary_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void dcl_u_val_rstring_set(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]string jarg2)
static void delete_dcl_u_val(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(dcl_binary obj)
Definition: dcl_binary.cs:28
dcl_u_val(IntPtr cPtr, bool cMemoryOwn)
Definition: dcl_u_val.cs:23
static HandleRef getCPtr(dcl_u_val obj)
Definition: dcl_u_val.cs:28
SWIGTYPE_p_long rlname
Definition: dcl_u_val.cs:98
virtual void Dispose(bool disposing)
Definition: dcl_u_val.cs:41