Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdTfFiler.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdTfFiler : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdTfFiler(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdTfFiler obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~OdTfFiler() {
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public virtual OdRxObject database() {
52 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.OdTfFiler_database(swigCPtr),false); /*createInt 3_2*/
53
55 return ret;
56}
57
58 public virtual void seek(Int64 /*SIMPLETYPE*/ offset, FilerSeekType seekType) {
59 GlobalsPINVOKE.OdTfFiler_seek(swigCPtr, offset /*SIMPLETYPE*/, (int)seekType);
61 }
62
63 public virtual UInt64 tell() {
64// test csout
65 /*SIMPLETYPE*/
66 UInt64 ret = GlobalsPINVOKE.OdTfFiler_tell(swigCPtr);
68 return ret;
69 }
70
71 public virtual bool rdBool() {
72 bool ret = GlobalsPINVOKE.OdTfFiler_rdBool(swigCPtr);
74 return ret;
75 }
76
77 public virtual String rdString() {
78 string ret = GlobalsPINVOKE.OdTfFiler_rdString(swigCPtr);
80 return ret;
81}
82
83 public virtual void rdBytes(IntPtr buffer, UInt32 /*SIMPLETYPE*/ numBytes) {
84 GlobalsPINVOKE.OdTfFiler_rdBytes(swigCPtr, buffer, numBytes /*SIMPLETYPE*/);
86 }
87
88 public virtual sbyte rdInt8() {
89// test csout
90 /*SIMPLETYPE*/
91 sbyte ret = GlobalsPINVOKE.OdTfFiler_rdInt8(swigCPtr);
93 return ret;
94 }
95
96 public virtual byte rdUInt8() {
97// test csout
98 /*SIMPLETYPE*/
99 byte ret = GlobalsPINVOKE.OdTfFiler_rdUInt8(swigCPtr);
101 return ret;
102 }
103
104 public virtual Int16 rdInt16() {
105// test csout
106 /*SIMPLETYPE*/
107 Int16 ret = GlobalsPINVOKE.OdTfFiler_rdInt16(swigCPtr);
109 return ret;
110 }
111
112 public virtual Int32 rdInt32() {
113// test csout
114 /*SIMPLETYPE*/
115 Int32 ret = GlobalsPINVOKE.OdTfFiler_rdInt32(swigCPtr);
117 return ret;
118 }
119
120 public virtual Int64 rdInt64() {
121// test csout
122 /*SIMPLETYPE*/
123 Int64 ret = GlobalsPINVOKE.OdTfFiler_rdInt64(swigCPtr);
125 return ret;
126 }
127
128 public virtual double rdDouble() {
129 double ret = GlobalsPINVOKE.OdTfFiler_rdDouble(swigCPtr);
131 return ret;
132 }
133
134 public virtual OdDbHandle rdDbHandle() {
135 OdDbHandle ret = new OdDbHandle(GlobalsPINVOKE.OdTfFiler_rdDbHandle(swigCPtr), true);
137 return ret;
138 }
139
140 public virtual OdDbStub rdSoftOwnershipId() {
141 global::System.IntPtr cPtr = GlobalsPINVOKE.OdTfFiler_rdSoftOwnershipId(swigCPtr);
142 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
144 return ret;
145 }
146
147 public virtual OdDbStub rdHardOwnershipId() {
148 global::System.IntPtr cPtr = GlobalsPINVOKE.OdTfFiler_rdHardOwnershipId(swigCPtr);
149 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
151 return ret;
152 }
153
154 public virtual OdDbStub rdHardPointerId() {
155 global::System.IntPtr cPtr = GlobalsPINVOKE.OdTfFiler_rdHardPointerId(swigCPtr);
156 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
158 return ret;
159 }
160
161 public virtual OdDbStub rdSoftPointerId() {
162 global::System.IntPtr cPtr = GlobalsPINVOKE.OdTfFiler_rdSoftPointerId(swigCPtr);
163 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
165 return ret;
166 }
167
168 public virtual OdGePoint2d rdPoint2d() {
171 return ret;
172 }
173
174 public virtual OdGePoint3d rdPoint3d() {
177 return ret;
178 }
179
180 public virtual OdGeVector2d rdVector2d() {
183 return ret;
184 }
185
186 public virtual OdGeVector3d rdVector3d() {
189 return ret;
190 }
191
192 public virtual OdGeScale3d rdScale3d() {
195 return ret;
196 }
197
198 public virtual void wrBool(bool value) {
201 }
202
203 public virtual void wrString(String value) {
206 }
207
208 public virtual void wrBytes(byte[] /*SIMPLEFIXED_ARRAY*/ buffer) {
209IntPtr p_buffer=Teigha.Core.Helpers.MarshalbyteFixedArray(buffer);
210 try {
211 GlobalsPINVOKE.OdTfFiler_wrBytes(swigCPtr, p_buffer);
213 } finally {
214Marshal.FreeCoTaskMem(p_buffer);
215 }
216 }
217
218 public virtual void wrInt8(sbyte /*SIMPLETYPE*/ value) {
219 GlobalsPINVOKE.OdTfFiler_wrInt8(swigCPtr, value /*SIMPLETYPE*/);
221 }
222
223 public virtual void wrUInt8(byte /*SIMPLETYPE*/ value) {
224 GlobalsPINVOKE.OdTfFiler_wrUInt8(swigCPtr, value /*SIMPLETYPE*/);
226 }
227
228 public virtual void wrInt16(Int16 /*SIMPLETYPE*/ value) {
229 GlobalsPINVOKE.OdTfFiler_wrInt16(swigCPtr, value /*SIMPLETYPE*/);
231 }
232
233 public virtual void wrInt32(Int32 /*SIMPLETYPE*/ value) {
234 GlobalsPINVOKE.OdTfFiler_wrInt32(swigCPtr, value /*SIMPLETYPE*/);
236 }
237
238 public virtual void wrInt64(Int64 /*SIMPLETYPE*/ value) {
239 GlobalsPINVOKE.OdTfFiler_wrInt64(swigCPtr, value /*SIMPLETYPE*/);
241 }
242
243 public virtual void wrDouble(double value) {
246 }
247
248 public virtual void wrDbHandle(OdDbHandle value) {
251 }
252
253 public virtual void wrSoftOwnershipId(OdDbStub value) {
256 }
257
258 public virtual void wrHardOwnershipId(OdDbStub value) {
261 }
262
263 public virtual void wrSoftPointerId(OdDbStub value) {
266 }
267
268 public virtual void wrHardPointerId(OdDbStub value) {
271 }
272
273 public virtual void wrPoint2d(OdGePoint2d value) {
276 }
277
278 public virtual void wrPoint3d(OdGePoint3d value) {
281 }
282
283 public virtual void wrVector2d(OdGeVector2d value) {
286 }
287
288 public virtual void wrVector3d(OdGeVector3d value) {
291 }
292
293 public virtual void wrScale3d(OdGeScale3d value) {
296 }
297
298 public virtual void wrSubobject(int id, string name) {
299 GlobalsPINVOKE.OdTfFiler_wrSubobject(swigCPtr, id, name);
301 }
302
303 public virtual string rdSubobject(out int id) {
304 string ret = GlobalsPINVOKE.OdTfFiler_rdSubobject(swigCPtr, out id);
306 return ret;
307 }
308
309 public virtual void wrDateTime(OdTimeStamp arg0) {
312 }
313
314 public virtual void rdDateTime(OdTimeStamp arg0) {
317 }
318
319}
320
321}
static global::System.Exception Retrieve()
static void OdTfFiler_wrHardOwnershipId(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdTfFiler_rdDateTime(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdTfFiler_rdPoint3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdTfFiler_rdSoftPointerId(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdTfFiler_rdSoftOwnershipId(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfFiler_rdBytes(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, UInt32 jarg3)
static bool OdTfFiler_rdBool(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdTfFiler_rdDbHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfFiler_wrPoint3d(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt64 OdTfFiler_tell(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfFiler_wrDbHandle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static Int32 OdTfFiler_rdInt32(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int16 OdTfFiler_rdInt16(global::System.Runtime.InteropServices.HandleRef jarg1)
static byte OdTfFiler_rdUInt8(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdTfFiler_database(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfFiler_wrVector2d(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdTfFiler_rdPoint2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdTfFiler_rdHardPointerId(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfFiler_wrVector3d(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdTfFiler_wrInt8(global::System.Runtime.InteropServices.HandleRef jarg1, sbyte jarg2)
static void OdTfFiler_wrPoint2d(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdTfFiler_wrInt32(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static void OdTfFiler_wrString(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdTfFiler_wrInt64(global::System.Runtime.InteropServices.HandleRef jarg1, Int64 jarg2)
static void OdTfFiler_wrUInt8(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2)
static void OdTfFiler_wrDouble(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdTfFiler_wrHardPointerId(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdTfFiler_wrSubobject(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3)
static global::System.IntPtr OdTfFiler_rdVector2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdTfFiler_rdVector3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static string OdTfFiler_rdSubobject(global::System.Runtime.InteropServices.HandleRef jarg1, out int jarg2)
static global::System.IntPtr OdTfFiler_rdHardOwnershipId(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdTfFiler_rdDouble(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfFiler_wrSoftPointerId(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdTfFiler_seek(global::System.Runtime.InteropServices.HandleRef jarg1, Int64 jarg2, int jarg3)
static void OdTfFiler_wrBool(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdTfFiler_rdScale3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfFiler_wrDateTime(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdTfFiler_wrScale3d(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static String OdTfFiler_rdString(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdTfFiler(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfFiler_wrSoftOwnershipId(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static Int64 OdTfFiler_rdInt64(global::System.Runtime.InteropServices.HandleRef jarg1)
static sbyte OdTfFiler_rdInt8(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfFiler_wrBytes(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdTfFiler_wrInt16(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2)
static HandleRef getCPtr(OdDbHandle obj)
Definition: OdDbHandle.cs:26
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeScale3d obj)
Definition: OdGeScale3d.cs:26
static HandleRef getCPtr(OdGeVector2d obj)
Definition: OdGeVector2d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
virtual OdGePoint3d rdPoint3d()
Definition: OdTfFiler.cs:174
OdTfFiler(IntPtr cPtr, bool cMemoryOwn)
Definition: OdTfFiler.cs:21
virtual OdGeVector3d rdVector3d()
Definition: OdTfFiler.cs:186
virtual void wrBool(bool value)
Definition: OdTfFiler.cs:198
virtual Int16 rdInt16()
Definition: OdTfFiler.cs:104
virtual OdGeVector2d rdVector2d()
Definition: OdTfFiler.cs:180
virtual OdDbStub rdSoftPointerId()
Definition: OdTfFiler.cs:161
virtual sbyte rdInt8()
Definition: OdTfFiler.cs:88
virtual void wrDouble(double value)
Definition: OdTfFiler.cs:243
virtual void wrUInt8(byte value)
Definition: OdTfFiler.cs:223
virtual void wrDbHandle(OdDbHandle value)
Definition: OdTfFiler.cs:248
virtual void wrVector3d(OdGeVector3d value)
Definition: OdTfFiler.cs:288
virtual void wrPoint2d(OdGePoint2d value)
Definition: OdTfFiler.cs:273
virtual byte rdUInt8()
Definition: OdTfFiler.cs:96
virtual void wrInt32(Int32 value)
Definition: OdTfFiler.cs:233
virtual void wrSoftOwnershipId(OdDbStub value)
Definition: OdTfFiler.cs:253
virtual OdDbHandle rdDbHandle()
Definition: OdTfFiler.cs:134
virtual void wrPoint3d(OdGePoint3d value)
Definition: OdTfFiler.cs:278
virtual void wrInt64(Int64 value)
Definition: OdTfFiler.cs:238
virtual void wrInt8(sbyte value)
Definition: OdTfFiler.cs:218
virtual OdRxObject database()
Definition: OdTfFiler.cs:51
virtual OdGeScale3d rdScale3d()
Definition: OdTfFiler.cs:192
virtual void wrString(String value)
Definition: OdTfFiler.cs:203
virtual string rdSubobject(out int id)
Definition: OdTfFiler.cs:303
virtual void wrBytes(byte[] buffer)
Definition: OdTfFiler.cs:208
virtual UInt64 tell()
Definition: OdTfFiler.cs:63
virtual Int64 rdInt64()
Definition: OdTfFiler.cs:120
virtual void wrSoftPointerId(OdDbStub value)
Definition: OdTfFiler.cs:263
virtual OdDbStub rdHardOwnershipId()
Definition: OdTfFiler.cs:147
virtual void wrInt16(Int16 value)
Definition: OdTfFiler.cs:228
virtual void rdDateTime(OdTimeStamp arg0)
Definition: OdTfFiler.cs:314
virtual OdDbStub rdSoftOwnershipId()
Definition: OdTfFiler.cs:140
virtual void wrSubobject(int id, string name)
Definition: OdTfFiler.cs:298
virtual double rdDouble()
Definition: OdTfFiler.cs:128
virtual String rdString()
Definition: OdTfFiler.cs:77
virtual void wrDateTime(OdTimeStamp arg0)
Definition: OdTfFiler.cs:309
virtual bool rdBool()
Definition: OdTfFiler.cs:71
virtual OdGePoint2d rdPoint2d()
Definition: OdTfFiler.cs:168
virtual void wrScale3d(OdGeScale3d value)
Definition: OdTfFiler.cs:293
virtual void seek(Int64 offset, FilerSeekType seekType)
Definition: OdTfFiler.cs:58
virtual void rdBytes(IntPtr buffer, UInt32 numBytes)
Definition: OdTfFiler.cs:83
virtual OdDbStub rdHardPointerId()
Definition: OdTfFiler.cs:154
virtual Int32 rdInt32()
Definition: OdTfFiler.cs:112
static HandleRef getCPtr(OdTfFiler obj)
Definition: OdTfFiler.cs:26
virtual void Dispose(bool disposing)
Definition: OdTfFiler.cs:39
virtual void wrHardOwnershipId(OdDbStub value)
Definition: OdTfFiler.cs:258
virtual void wrHardPointerId(OdDbStub value)
Definition: OdTfFiler.cs:268
virtual void wrVector2d(OdGeVector2d value)
Definition: OdTfFiler.cs:283
static HandleRef getCPtr(OdTimeStamp obj)
Definition: OdTimeStamp.cs:26