Extended .NET SDK Documentation
2025 SP0
Loading...
Searching...
No Matches
SDK
DotNet
dd_inc
TD_SwigDb_TEMP
TargetLangSources
OdDgnImport.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
11
namespace
Teigha.TD
{
12
13
using
System;
14
using
System.Runtime.InteropServices;
15
using
Teigha.Core
;
16
17
public
class
OdDgnImport
:
OdRxObject
{
18
private
Object locker =
new
Object();
19
private
HandleRef swigCPtr;
20
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21
public
OdDgnImport
(IntPtr cPtr,
bool
cMemoryOwn) : base(
TD_DbPINVOKE
.OdDgnImport_SWIGUpcast(cPtr), cMemoryOwn) {
22
swigCPtr =
new
HandleRef(
this
, cPtr);
23
}
24
25
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26
public
static
HandleRef
getCPtr
(
OdDgnImport
obj) {
27
return
(obj ==
null
) ?
new
HandleRef(
null
, IntPtr.Zero) : obj.swigCPtr;
28
}
29
30
protected
override
void
Dispose
(
bool
disposing) {
31
lock(
this
) {
32
if
(swigCPtr.Handle != global::System.IntPtr.Zero) {
33
if
(
swigCMemOwn
) {
34
swigCMemOwn
=
false
;
35
TD_DbPINVOKE
.
delete_OdDgnImport
(swigCPtr);
36
}
37
swigCPtr =
new
global::System.Runtime.InteropServices.HandleRef(
null
, global::System.IntPtr.Zero);
38
}
39
base.Dispose(disposing);
40
}
41
}
42
43
public
virtual
OdDgnImport.ImportResult
import
() {
44
OdDgnImport.ImportResult
ret = (
OdDgnImport
.
ImportResult
)
TD_DbPINVOKE
.
OdDgnImport_import
(swigCPtr);
45
if
(
TD_DbPINVOKE
.
SWIGPendingException
.
Pending
)
throw
TD_DbPINVOKE
.
SWIGPendingException
.
Retrieve
();
46
return
ret;
47
}
48
49
public
virtual
OdRxDictionary
properties
() {
// OdRxDictionaryPtr
50
MemoryManager mMan = MemoryManager.GetMemoryManager();
51
MemoryTransaction mTrans = mMan.GetCurrentTransaction();
// MemoryTransaction #17
52
IntPtr ptr =
TD_DbPINVOKE
.
OdDgnImport_properties
(swigCPtr);
53
54
OdRxDictionary
ret =
null
;
55
if
(
null
!= mTrans)
56
{
57
mTrans.AddObject((
OdRxDictionary
)
Teigha
.
Core
.Helpers.odrxCreateObjectInternalUniversal(typeof(
OdRxDictionary
),ptr,
true
));
58
ret = (
OdRxDictionary
)
Teigha
.
Core
.Helpers.odrxCreateObjectInternalUniversal(typeof(
OdRxDictionary
),ptr,
false
);
59
}
60
else
61
{
62
ret = (
OdRxDictionary
)
Teigha
.
Core
.Helpers.odrxCreateObjectInternalUniversal(typeof(
OdRxDictionary
),ptr,
true
);
63
}
64
65
if
(
TD_DbPINVOKE
.
SWIGPendingException
.
Pending
)
throw
TD_DbPINVOKE
.
SWIGPendingException
.
Retrieve
();
66
return
ret;
67
}
68
69
protected
static
string
getRealClassName
(IntPtr ptr) {
70
string
ret =
TD_DbPINVOKE
.
OdDgnImport_getRealClassName
(ptr
/*SIMPLETYPE*/
);
71
if
(
TD_DbPINVOKE
.
SWIGPendingException
.
Pending
)
throw
TD_DbPINVOKE
.
SWIGPendingException
.
Retrieve
();
72
return
ret;
73
}
74
75
public
enum
ImportResult
{
76
success
,
77
fail
,
78
bad_password
,
79
bad_file
,
80
bad_database
,
81
encrypted_file
,
82
limit_exceeded
83
}
84
85
}
86
87
}
Teigha.Core.OdRxDictionary
Definition
OdRxDictionary.cs:17
Teigha.Core.OdRxObject
Definition
OdRxObject.cs:16
Teigha.Core.OdRxObject.swigCMemOwn
bool swigCMemOwn
Definition
OdRxObject.cs:19
Teigha.TD.OdDgnImport
Definition
OdDgnImport.cs:17
Teigha.TD.OdDgnImport.ImportResult
ImportResult
Definition
OdDgnImport.cs:75
Teigha.TD.OdDgnImport.ImportResult.bad_password
@ bad_password
Teigha.TD.OdDgnImport.ImportResult.success
@ success
Teigha.TD.OdDgnImport.ImportResult.encrypted_file
@ encrypted_file
Teigha.TD.OdDgnImport.ImportResult.limit_exceeded
@ limit_exceeded
Teigha.TD.OdDgnImport.ImportResult.bad_file
@ bad_file
Teigha.TD.OdDgnImport.ImportResult.fail
@ fail
Teigha.TD.OdDgnImport.ImportResult.bad_database
@ bad_database
Teigha.TD.OdDgnImport.getRealClassName
static string getRealClassName(IntPtr ptr)
Definition
OdDgnImport.cs:69
Teigha.TD.OdDgnImport.Dispose
override void Dispose(bool disposing)
Definition
OdDgnImport.cs:30
Teigha.TD.OdDgnImport.OdDgnImport
OdDgnImport(IntPtr cPtr, bool cMemoryOwn)
Definition
OdDgnImport.cs:21
Teigha.TD.OdDgnImport.properties
virtual OdRxDictionary properties()
Definition
OdDgnImport.cs:49
Teigha.TD.OdDgnImport.getCPtr
static HandleRef getCPtr(OdDgnImport obj)
Definition
OdDgnImport.cs:26
Teigha.TD.TD_DbPINVOKE.SWIGPendingException
Definition
TD_DbPINVOKE.cs:131
Teigha.TD.TD_DbPINVOKE.SWIGPendingException.Pending
static bool Pending
Definition
TD_DbPINVOKE.cs:137
Teigha.TD.TD_DbPINVOKE.SWIGPendingException.Retrieve
static global::System.Exception Retrieve()
Definition
TD_DbPINVOKE.cs:156
Teigha.TD.TD_DbPINVOKE
Definition
TD_DbPINVOKE.cs:17
Teigha.TD.TD_DbPINVOKE.OdDgnImport_import
static int OdDgnImport_import(HandleRef jarg1)
Teigha.TD.TD_DbPINVOKE.OdDgnImport_properties
static IntPtr OdDgnImport_properties(HandleRef jarg1)
Teigha.TD.TD_DbPINVOKE.delete_OdDgnImport
static void delete_OdDgnImport(HandleRef jarg1)
Teigha.TD.TD_DbPINVOKE.OdDgnImport_getRealClassName
static string OdDgnImport_getRealClassName(IntPtr jarg1)
Teigha.Core
Definition
AbstractClipBoundaryArray.cs:11
Teigha.TD
Definition
_ArcData.cs:11
Teigha
Definition
AbstractClipBoundaryArray.cs:11
Generated on Mon Mar 4 2024 12:45:50