Extended .NET SDK Documentation
2025 SP0
Loading...
Searching...
No Matches
SDK
DotNet
inc
CFxHistoryObject.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
PCAD_DOT_NET
{
12
13
using
System;
14
using
System.Runtime.InteropServices;
15
using
Teigha.Core
;
16
using
Teigha.TD
;
17
18
public
class
CFxHistoryObject
: global::System.IDisposable {
19
private
Object locker =
new
Object();
20
private
HandleRef swigCPtr;
21
protected
bool
swigCMemOwn
;
22
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23
public
CFxHistoryObject
(IntPtr cPtr,
bool
cMemoryOwn) {
24
swigCMemOwn
= cMemoryOwn;
25
swigCPtr =
new
HandleRef(
this
, cPtr);
26
}
27
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28
public
static
HandleRef
getCPtr
(
CFxHistoryObject
obj) {
29
return
(obj ==
null
) ?
new
HandleRef(
null
, IntPtr.Zero) : obj.swigCPtr;
30
}
31
32
~CFxHistoryObject
() {
33
Dispose
(
false
);
34
}
35
36
public
void
Dispose
() {
37
Dispose
(
true
);
38
global::System.GC.SuppressFinalize(
this
);
39
}
40
41
protected
virtual
void
Dispose
(
bool
disposing) {
42
lock(
this
) {
43
if
(swigCPtr.Handle != global::System.IntPtr.Zero) {
44
if
(
swigCMemOwn
) {
45
swigCMemOwn
=
false
;
46
PCADGlobalsPINVOKE
.
delete_CFxHistoryObject
(swigCPtr);
47
}
48
swigCPtr =
new
global::System.Runtime.InteropServices.HandleRef(
null
, global::System.IntPtr.Zero);
49
}
50
}
51
}
52
53
public
virtual
bool
IsCommand
() {
54
bool
ret =
PCADGlobalsPINVOKE
.
CFxHistoryObject_IsCommand
(swigCPtr);
55
if
(
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Pending
)
throw
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Retrieve
();
56
return
ret;
57
}
58
59
public
virtual
bool
IsArg
() {
60
bool
ret =
PCADGlobalsPINVOKE
.
CFxHistoryObject_IsArg
(swigCPtr);
61
if
(
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Pending
)
throw
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Retrieve
();
62
return
ret;
63
}
64
65
public
virtual
bool
ToString
(
CFxString
output,
CFxUnitsFormatter
pFormatter) {
66
bool
ret =
PCADGlobalsPINVOKE
.
CFxHistoryObject_ToString
(swigCPtr,
CFxString
.
getCPtr
(output),
CFxUnitsFormatter
.
getCPtr
(pFormatter));
67
if
(
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Pending
)
throw
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Retrieve
();
68
return
ret;
69
}
70
71
public
virtual
CFxHistoryObject
Copy
() {
72
global::System.IntPtr cPtr =
PCADGlobalsPINVOKE
.
CFxHistoryObject_Copy
(swigCPtr);
73
CFxHistoryObject
ret = (cPtr == global::System.IntPtr.Zero) ?
null
:
new
CFxHistoryObject
(cPtr,
false
);
74
if
(
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Pending
)
throw
PCADGlobalsPINVOKE
.
SWIGPendingException
.
Retrieve
();
75
return
ret;
76
}
77
78
}
79
80
}
PCAD_DOT_NET.CFxHistoryObject
Definition
CFxHistoryObject.cs:18
PCAD_DOT_NET.CFxHistoryObject.Dispose
void Dispose()
Definition
CFxHistoryObject.cs:36
PCAD_DOT_NET.CFxHistoryObject.swigCMemOwn
bool swigCMemOwn
Definition
CFxHistoryObject.cs:21
PCAD_DOT_NET.CFxHistoryObject.CFxHistoryObject
CFxHistoryObject(IntPtr cPtr, bool cMemoryOwn)
Definition
CFxHistoryObject.cs:23
PCAD_DOT_NET.CFxHistoryObject.IsArg
virtual bool IsArg()
Definition
CFxHistoryObject.cs:59
PCAD_DOT_NET.CFxHistoryObject.getCPtr
static HandleRef getCPtr(CFxHistoryObject obj)
Definition
CFxHistoryObject.cs:28
PCAD_DOT_NET.CFxHistoryObject.ToString
virtual bool ToString(CFxString output, CFxUnitsFormatter pFormatter)
Definition
CFxHistoryObject.cs:65
PCAD_DOT_NET.CFxHistoryObject.Copy
virtual CFxHistoryObject Copy()
Definition
CFxHistoryObject.cs:71
PCAD_DOT_NET.CFxHistoryObject.Dispose
virtual void Dispose(bool disposing)
Definition
CFxHistoryObject.cs:41
PCAD_DOT_NET.CFxHistoryObject.IsCommand
virtual bool IsCommand()
Definition
CFxHistoryObject.cs:53
PCAD_DOT_NET.CFxString
Definition
CFxString.cs:18
PCAD_DOT_NET.CFxString.getCPtr
static HandleRef getCPtr(CFxString obj)
Definition
CFxString.cs:28
PCAD_DOT_NET.CFxUnitsFormatter
Definition
CFxUnitsFormatter.cs:18
PCAD_DOT_NET.CFxUnitsFormatter.getCPtr
static HandleRef getCPtr(CFxUnitsFormatter obj)
Definition
CFxUnitsFormatter.cs:27
PCAD_DOT_NET.PCADGlobalsPINVOKE.SWIGPendingException
Definition
PCADGlobalsPINVOKE.cs:132
PCAD_DOT_NET.PCADGlobalsPINVOKE.SWIGPendingException.Retrieve
static global::System.Exception Retrieve()
Definition
PCADGlobalsPINVOKE.cs:157
PCAD_DOT_NET.PCADGlobalsPINVOKE.SWIGPendingException.Pending
static bool Pending
Definition
PCADGlobalsPINVOKE.cs:138
PCAD_DOT_NET.PCADGlobalsPINVOKE
Definition
PCADGlobalsPINVOKE.cs:18
PCAD_DOT_NET.PCADGlobalsPINVOKE.CFxHistoryObject_Copy
static global::System.IntPtr CFxHistoryObject_Copy(global::System.Runtime.InteropServices.HandleRef jarg1)
PCAD_DOT_NET.PCADGlobalsPINVOKE.delete_CFxHistoryObject
static void delete_CFxHistoryObject(global::System.Runtime.InteropServices.HandleRef jarg1)
PCAD_DOT_NET.PCADGlobalsPINVOKE.CFxHistoryObject_IsCommand
static bool CFxHistoryObject_IsCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
PCAD_DOT_NET.PCADGlobalsPINVOKE.CFxHistoryObject_ToString
static bool CFxHistoryObject_ToString(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
PCAD_DOT_NET.PCADGlobalsPINVOKE.CFxHistoryObject_IsArg
static bool CFxHistoryObject_IsArg(global::System.Runtime.InteropServices.HandleRef jarg1)
PCAD_DOT_NET
Definition
CFxAPI.cs:11
Teigha.Core
Definition
AbstractClipBoundaryArray.cs:11
Teigha.TD
Definition
_ArcData.cs:11
Generated on Mon Mar 4 2024 12:46:21