Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgCompressDatabaseResult.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.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDgCompressDatabaseResult : 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 OdDgCompressDatabaseResult(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(OdDgCompressDatabaseResult 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
52 public OdDgCompressDatabaseResult() : this(TG_DbPINVOKE.new_OdDgCompressDatabaseResult(), true) {
54 }
55
56 public virtual void addCompressedElement(OdDgElementId idElement, OdDgCompressDatabaseFlags condition) {
59 }
60
61 public virtual bool allowToEraseElement(OdDgElementId idElement, OdDgCompressDatabaseFlags condition) {
62 bool ret = TG_DbPINVOKE.OdDgCompressDatabaseResult_allowToEraseElement(swigCPtr, OdDgElementId.getCPtr(idElement), (int)condition);
64 return ret;
65 }
66
67 public virtual void eraseAll() {
70 }
71
72 public virtual void clear() {
75 }
76
77 public virtual bool hasElementId(OdDgElementId idElement) {
80 return ret;
81 }
82
83 public virtual UInt16 getCondintionOfErase(OdDgElementId idElement) {
84// test csout
85 /*SIMPLETYPE*/
88 return ret;
89 }
90
91 public virtual UInt32 getCount() {
92// test csout
93 /*SIMPLETYPE*/
96 return ret;
97 }
98
99 public virtual bool getRecord(UInt32 /*SIMPLETYPE*/ uIndex, OdDgElementId idElement, out UInt16 /*SIMPLETYPE*/ uCondition) {
100 bool ret = TG_DbPINVOKE.OdDgCompressDatabaseResult_getRecord(swigCPtr, uIndex /*SIMPLETYPE*/, OdDgElementId.getCPtr(idElement), out uCondition);
102 return ret;
103 }
104
105 public virtual bool removeRecord(OdDgElementId idElement) {
108 return ret;
109 }
110
111 public virtual bool removeRecords(OdDgCompressDatabaseFlags conditionFlags, bool bCheckOtherConditions) {
112 bool ret = TG_DbPINVOKE.OdDgCompressDatabaseResult_removeRecords__SWIG_0(swigCPtr, (int)conditionFlags, bCheckOtherConditions);
114 return ret;
115 }
116
117 public virtual bool removeRecords(OdDgCompressDatabaseFlags conditionFlags) {
118 bool ret = TG_DbPINVOKE.OdDgCompressDatabaseResult_removeRecords__SWIG_1(swigCPtr, (int)conditionFlags);
120 return ret;
121 }
122
123}
124
125}
virtual void addCompressedElement(OdDgElementId idElement, OdDgCompressDatabaseFlags condition)
virtual bool hasElementId(OdDgElementId idElement)
virtual UInt16 getCondintionOfErase(OdDgElementId idElement)
virtual bool removeRecords(OdDgCompressDatabaseFlags conditionFlags, bool bCheckOtherConditions)
virtual bool getRecord(UInt32 uIndex, OdDgElementId idElement, out UInt16 uCondition)
OdDgCompressDatabaseResult(IntPtr cPtr, bool cMemoryOwn)
virtual bool removeRecords(OdDgCompressDatabaseFlags conditionFlags)
static HandleRef getCPtr(OdDgCompressDatabaseResult obj)
virtual bool allowToEraseElement(OdDgElementId idElement, OdDgCompressDatabaseFlags condition)
virtual bool removeRecord(OdDgElementId idElement)
static HandleRef getCPtr(OdDgElementId obj)
static global::System.Exception Retrieve()
static void OdDgCompressDatabaseResult_addCompressedElement(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static bool OdDgCompressDatabaseResult_removeRecords__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgCompressDatabaseResult_clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgCompressDatabaseResult_removeRecord(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgCompressDatabaseResult_removeRecords__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, bool jarg3)
static void OdDgCompressDatabaseResult_eraseAll(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgCompressDatabaseResult_getCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdDgCompressDatabaseResult_getCondintionOfErase(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgCompressDatabaseResult_hasElementId(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgCompressDatabaseResult_allowToEraseElement(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static bool OdDgCompressDatabaseResult_getRecord(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out UInt16 jarg4)
static void delete_OdDgCompressDatabaseResult(global::System.Runtime.InteropServices.HandleRef jarg1)