Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxProfile.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
18public class CFxProfile : 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 CFxProfile(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(CFxProfile obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
32 ~CFxProfile() {
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;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
53 public virtual CFxString GetName() {
56 return ret;
57 }
58
59 public virtual CFxString GetDescription() {
62 return ret;
63 }
64
65 public virtual CFxSettings GetSettings() {
66 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxProfile_GetSettings(swigCPtr);
67 CFxSettings ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxSettings(cPtr, false);
69 return ret;
70 }
71
72 public virtual CFxProfileStorage GetStorage(bool bCreateIfNotExists) {
73 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxProfile_GetStorage(swigCPtr, bCreateIfNotExists);
74 CFxProfileStorage ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxProfileStorage(cPtr, false);
76 return ret;
77 }
78
79 public virtual CFxSystemFiles GetSystemFiles() {
80 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxProfile_GetSystemFiles(swigCPtr);
81 CFxSystemFiles ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxSystemFiles(cPtr, false);
83 return ret;
84 }
85
86 public virtual CFxRecentFiles GetRecentFiles() {
87 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxProfile_GetRecentFiles(swigCPtr);
88 CFxRecentFiles ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxRecentFiles(cPtr, false);
90 return ret;
91 }
92
93 public virtual CFxString ResolveAlias(CFxString strAlias) {
96 return ret;
97 }
98
99 public virtual void LoadAliases() {
102 }
103
105 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxProfile_GetPreferences(swigCPtr);
106 CFxPreferences ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxPreferences(cPtr, false);
108 return ret;
109 }
110
111 public virtual void Flush() {
114 }
115
116}
117
118}
virtual void Dispose(bool disposing)
Definition: CFxProfile.cs:41
virtual CFxString ResolveAlias(CFxString strAlias)
Definition: CFxProfile.cs:93
virtual CFxSystemFiles GetSystemFiles()
Definition: CFxProfile.cs:79
virtual CFxString GetName()
Definition: CFxProfile.cs:53
static HandleRef getCPtr(CFxProfile obj)
Definition: CFxProfile.cs:28
virtual void Flush()
Definition: CFxProfile.cs:111
virtual CFxString GetDescription()
Definition: CFxProfile.cs:59
virtual CFxProfileStorage GetStorage(bool bCreateIfNotExists)
Definition: CFxProfile.cs:72
virtual void LoadAliases()
Definition: CFxProfile.cs:99
virtual CFxPreferences GetPreferences()
Definition: CFxProfile.cs:104
CFxProfile(IntPtr cPtr, bool cMemoryOwn)
Definition: CFxProfile.cs:23
virtual CFxSettings GetSettings()
Definition: CFxProfile.cs:65
virtual CFxRecentFiles GetRecentFiles()
Definition: CFxProfile.cs:86
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
static global::System.IntPtr CFxProfile_GetPreferences(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxProfile_GetRecentFiles(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxProfile_GetDescription(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxProfile_Flush(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxProfile_GetName(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxProfile_GetStorage(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxProfile_LoadAliases(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxProfile_GetSettings(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxProfile_GetSystemFiles(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxProfile_ResolveAlias(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_CFxProfile(global::System.Runtime.InteropServices.HandleRef jarg1)