Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxHistoryCommand.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public CFxHistoryCommand(IntPtr cPtr, bool cMemoryOwn) : base(PCADGlobalsPINVOKE.CFxHistoryCommand_SWIGUpcast(cPtr), cMemoryOwn) {
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(CFxHistoryCommand obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 protected override void Dispose(bool disposing) {
32 lock(this) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
34 if (swigCMemOwn) {
35 swigCMemOwn = false;
37 }
38 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 base.Dispose(disposing);
41 }
42 }
43
44 public virtual CFxString GetNameLocal() {
47 return ret;
48 }
49
50 public virtual CFxString GetNameGlobal() {
53 return ret;
54 }
55
56 public virtual Int32 GetFlags() {
57// test csout
58 /*SIMPLETYPE*/
61 return ret;
62 }
63
64 public virtual int GetArgCount() {
67 return ret;
68 }
69
70 public virtual CFxHistoryObject GetArg(uint index) {
71 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxHistoryCommand_GetArg(swigCPtr, index);
72 CFxHistoryObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxHistoryObject(cPtr, false);
74 return ret;
75 }
76
77 public virtual void AddArg(CFxHistoryObject pArg) {
80 }
81
82 public static CFxHistoryCommand Create(CFxString local, CFxString global, int flags) {
83 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxHistoryCommand_Create(CFxString.getCPtr(local), CFxString.getCPtr(global), flags);
84 CFxHistoryCommand ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxHistoryCommand(cPtr, false);
86 return ret;
87 }
88
89 public new static CFxHistoryCommand Cast(CFxHistoryObject pObject) {
90 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxHistoryCommand_Cast(CFxHistoryObject.getCPtr(pObject));
91 CFxHistoryCommand ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxHistoryCommand(cPtr, false);
93 return ret;
94 }
95
96}
97
98}
static new CFxHistoryCommand Cast(CFxHistoryObject pObject)
static HandleRef getCPtr(CFxHistoryCommand obj)
virtual void AddArg(CFxHistoryObject pArg)
virtual CFxString GetNameLocal()
static CFxHistoryCommand Create(CFxString local, CFxString global, int flags)
virtual CFxHistoryObject GetArg(uint index)
override void Dispose(bool disposing)
virtual CFxString GetNameGlobal()
CFxHistoryCommand(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(CFxHistoryObject obj)
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
static global::System.IntPtr CFxHistoryCommand_GetNameLocal(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHistoryCommand_GetArg(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static global::System.IntPtr CFxHistoryCommand_Cast(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxHistoryCommand_GetArgCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHistoryCommand_GetNameGlobal(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxHistoryCommand_AddArg(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_CFxHistoryCommand(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxHistoryCommand_Create(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static Int32 CFxHistoryCommand_GetFlags(global::System.Runtime.InteropServices.HandleRef jarg1)