Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdBinaryDataLinkedArray.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 OdBinaryDataLinkedArray : 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 OdBinaryDataLinkedArray(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(OdBinaryDataLinkedArray obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
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
52 : this(GlobalsPINVOKE.new_OdBinaryDataLinkedArray__SWIG_0(0x10), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
53 {
54 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction(); // MemoryTransaction #9
55 if (null != mTr)
56 {
57 mTr.AddObject(new OdBinaryDataLinkedArray(swigCPtr.Handle, true));
58 }
60 }
61
62 public OdBinaryDataLinkedArray(int pageSize)
63 : this(GlobalsPINVOKE.new_OdBinaryDataLinkedArray__SWIG_0(pageSize), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
64 {
65 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction(); // MemoryTransaction #9
66 if (null != mTr)
67 {
68 mTr.AddObject(new OdBinaryDataLinkedArray(swigCPtr.Handle, true));
69 }
71 }
72
73 public int Count {
74 get {
75 return (int)size();
76 }
77 }
78
79 public void Clear() {
82 }
83
84 public void Add(OdBinaryData x) {
87 }
88
89 private uint size() {
92 return ret;
93 }
94
95 public void reserve(uint n) {
98 }
99
100 public void resize(uint logicalLength) {
101 GlobalsPINVOKE.OdBinaryDataLinkedArray_resize(swigCPtr, logicalLength);
103 }
104
105 public void freeExtra() {
108 }
109
113 return ret;
114 }
115
117// csout OdLinkedArray_ITERATOR
119
121 return res;
122}
123
125// csout OdLinkedArray_ITERATOR
127
129 return res;
130}
131
133// csout OdLinkedArray_ITERATOR
135
137 return res;
138}
139
140 public bool contains(OdBinaryData val) {
143 return ret;
144 }
145
147// csout OdLinkedArray_ITERATOR
149
151 return res;
152}
153
157 return ret;
158 }
159
163 return ret;
164 }
165
169 return ret;
170 }
171
172 public bool empty() {
175 return ret;
176 }
177
178}
179
180}
static global::System.Exception Retrieve()
static void OdBinaryDataLinkedArray_Add(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static IntPtr OdBinaryDataLinkedArray_first(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdBinaryDataLinkedArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdBinaryDataLinkedArray_last(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdBinaryDataLinkedArray_removeLast(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdBinaryDataLinkedArray_find(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdBinaryDataLinkedArray_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint OdBinaryDataLinkedArray_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdBinaryDataLinkedArray_empty(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdBinaryDataLinkedArray_remove(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdBinaryDataLinkedArray_resize(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static bool OdBinaryDataLinkedArray_contains(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdBinaryDataLinkedArray_freeExtra(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdBinaryDataLinkedArray_end(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdBinaryDataLinkedArray_insert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static void OdBinaryDataLinkedArray_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static global::System.IntPtr OdBinaryDataLinkedArray_begin(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdBinaryData obj)
Definition: OdBinaryData.cs:25
static HandleRef getCPtr(OdBinaryDataLinkedArray obj)
OdBinaryDataLinkedArrayIterator insert(OdBinaryDataLinkedArrayIterator before, OdBinaryData val)
OdBinaryDataLinkedArrayIterator find(OdBinaryData val)
virtual void Dispose(bool disposing)
OdBinaryDataLinkedArrayIterator begin()
OdBinaryDataLinkedArrayIterator end()
OdBinaryDataLinkedArray(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdBinaryDataLinkedArrayIterator obj)