Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDbBlockChangeIterator.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDbBlockChangeIterator : 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 OdDbBlockChangeIterator(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(OdDbBlockChangeIterator 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
56
62
67
68 public bool done() {
69 bool ret = TD_DbPINVOKE.OdDbBlockChangeIterator_done(swigCPtr);
71 return ret;
72 }
73
74 public void curIdInfo(OdDbObjectId currentId, out byte flags, out UInt32 data) {
75 TD_DbPINVOKE.OdDbBlockChangeIterator_curIdInfo(swigCPtr, OdDbObjectId.getCPtr(currentId), out flags, out data);
77 }
78
79 public void setCurIdInfo(byte flags, UInt32 data) {
80 TD_DbPINVOKE.OdDbBlockChangeIterator_setCurIdInfo(swigCPtr, flags /*SIMPLETYPE*/, data /*SIMPLETYPE*/);
82 }
83
85 global::System.IntPtr cPtr = TD_DbPINVOKE.OdDbBlockChangeIterator_updateData(swigCPtr);
86 OdDbIndexUpdateData ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbIndexUpdateData(cPtr, false);
88 return ret;
89 }
90
95
96}
97
98}
void setCurIdInfo(byte flags, UInt32 data)
void curIdInfo(OdDbObjectId currentId, out byte flags, out UInt32 data)
static HandleRef getCPtr(OdDbBlockChangeIterator obj)
OdDbBlockChangeIterator(IntPtr cPtr, bool cMemoryOwn)
virtual void Dispose(bool disposing)
static HandleRef getCPtr(OdDbObjectId obj)
static global::System.Exception Retrieve()
static void OdDbBlockChangeIterator_next(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbBlockChangeIterator_setCurIdInfo(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2, UInt32 jarg3)
static global::System.IntPtr OdDbBlockChangeIterator_id(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbBlockChangeIterator_updateData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbBlockChangeIterator_start(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbBlockChangeIterator_curIdInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out byte jarg3, out UInt32 jarg4)
static void delete_OdDbBlockChangeIterator(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbBlockChangeIterator_done(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbBlockChangeIterator_clearProcessedFlags(global::System.Runtime.InteropServices.HandleRef jarg1)