Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdTfDigest.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 OdTfDigest : 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 OdTfDigest(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(OdTfDigest obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 ~OdTfDigest() {
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 string data {
53 set {
56 }
57 get {
58 string ret = TD_DbPINVOKE.OdTfDigest_data_get(swigCPtr);
60 return ret;
61 }
62 }
63
64 public void write(OdStreamBuf pBuf) {
67 }
68
69 public void read(OdStreamBuf pBuf) {
72 }
73
74 public bool IsEqual(OdTfDigest other) {
75 bool ret = TD_DbPINVOKE.OdTfDigest_IsEqual(swigCPtr, OdTfDigest.getCPtr(other));
77 return ret;
78 }
79
80 public bool IsNotEqual(OdTfDigest other) {
81 bool ret = TD_DbPINVOKE.OdTfDigest_IsNotEqual(swigCPtr, OdTfDigest.getCPtr(other));
83 return ret;
84 }
85
86 public static OdTfDigest kNull() {
89 return ret;
90 }
91
92 public bool isNull() {
93 bool ret = TD_DbPINVOKE.OdTfDigest_isNull(swigCPtr);
95 return ret;
96 }
97
98 public OdTfDigest() : this(TD_DbPINVOKE.new_OdTfDigest(), true) {
100 }
101
102}
103
104}
static HandleRef getCPtr(OdStreamBuf obj)
Definition: OdStreamBuf.cs:25
static HandleRef getCPtr(OdTfDigest obj)
Definition: OdTfDigest.cs:27
OdTfDigest(IntPtr cPtr, bool cMemoryOwn)
Definition: OdTfDigest.cs:22
void write(OdStreamBuf pBuf)
Definition: OdTfDigest.cs:64
static OdTfDigest kNull()
Definition: OdTfDigest.cs:86
bool IsNotEqual(OdTfDigest other)
Definition: OdTfDigest.cs:80
bool IsEqual(OdTfDigest other)
Definition: OdTfDigest.cs:74
void read(OdStreamBuf pBuf)
Definition: OdTfDigest.cs:69
virtual void Dispose(bool disposing)
Definition: OdTfDigest.cs:40
static global::System.Exception Retrieve()
static bool OdTfDigest_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdTfDigest_kNull()
static void OdTfDigest_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static void OdTfDigest_write(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static string OdTfDigest_data_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdTfDigest_read(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void delete_OdTfDigest(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdTfDigest_isNull(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdTfDigest_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)