Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
fdt_u_valW.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 fdt_u_valW : 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 fdt_u_valW(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(fdt_u_valW obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
32 ~fdt_u_valW() {
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.fdt_u_valW_rreal_get(swigCPtr);
61 return ret;
62 }
63 }
64
65 public double[] rpoint {
66 set { PCADGlobalsPINVOKE.fdt_u_valW_rpoint_set(swigCPtr, value /*DOUBLE_FIXED_ARRAY*/); /*DOUBLE_FIXED_ARRAY*/}
67
68 get { return Teigha.Core.Helpers.UnMarshalDoubleFixedArray(PCADGlobalsPINVOKE.fdt_u_valW_rpoint_get(swigCPtr), 3); /*DOUBLE_FIXED_ARRAY*/ }
69
70 }
71
72 public short rint {
73 set {
76 }
77 get {
78 short ret = PCADGlobalsPINVOKE.fdt_u_valW_rint_get(swigCPtr);
80 return ret;
81 }
82 }
83
84 public int rlong {
85 set {
88 }
89 get {
90 int ret = PCADGlobalsPINVOKE.fdt_u_valW_rlong_get(swigCPtr);
92 return ret;
93 }
94 }
95
96 public string rstring {
97 set {
100 }
101 get {
102 string ret = PCADGlobalsPINVOKE.fdt_u_valW_rstring_get(swigCPtr);
104 return ret;
105 }
106 }
107
109 set {
112 }
113 get {
114 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.fdt_u_valW_rlname_get(swigCPtr);
115 SWIGTYPE_p_uintptr_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_uintptr_t(cPtr, false);
117 return ret;
118 }
119 }
120
122 set {
125 }
126 get {
127 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.fdt_u_valW_rbinary_get(swigCPtr);
128 fdt_binaryW ret = (cPtr == global::System.IntPtr.Zero) ? null : new fdt_binaryW(cPtr, false);
130 return ret;
131 }
132 }
133
134 public long mnInt64 {
135 set {
138 }
139 get {
140 long ret = PCADGlobalsPINVOKE.fdt_u_valW_mnInt64_get(swigCPtr);
142 return ret;
143 }
144 }
145
146 public fdt_u_valW() : this(PCADGlobalsPINVOKE.new_fdt_u_valW(), true) {
148 }
149
150}
151
152}
static long fdt_u_valW_mnInt64_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void fdt_u_valW_rreal_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int fdt_u_valW_rlong_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr fdt_u_valW_rpoint_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void fdt_u_valW_rlong_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void fdt_u_valW_rstring_set(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]string jarg2)
static void fdt_u_valW_rlname_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_fdt_u_valW(global::System.Runtime.InteropServices.HandleRef jarg1)
static void fdt_u_valW_mnInt64_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr fdt_u_valW_rlname_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static string fdt_u_valW_rstring_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static short fdt_u_valW_rint_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void fdt_u_valW_rbinary_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double fdt_u_valW_rreal_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void fdt_u_valW_rint_set(global::System.Runtime.InteropServices.HandleRef jarg1, short jarg2)
static void fdt_u_valW_rpoint_set(global::System.Runtime.InteropServices.HandleRef jarg1, [In, MarshalAs(UnmanagedType.LPArray, SizeConst=3)]double[] jarg2)
static global::System.IntPtr fdt_u_valW_rbinary_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(fdt_binaryW obj)
Definition: fdt_binaryW.cs:28
fdt_u_valW(IntPtr cPtr, bool cMemoryOwn)
Definition: fdt_u_valW.cs:23
SWIGTYPE_p_uintptr_t rlname
Definition: fdt_u_valW.cs:108
virtual void Dispose(bool disposing)
Definition: fdt_u_valW.cs:41
static HandleRef getCPtr(fdt_u_valW obj)
Definition: fdt_u_valW.cs:28