Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdExDgnHostAppServices.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.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdExDgnHostAppServices(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdExDgnHostAppServices_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdExDgnHostAppServices 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;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
44 : this(TG_DbPINVOKE.new_OdExDgnHostAppServices(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
45 {
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction(); // MemoryTransaction #1
47 if (null != mTr)
48 {
49 mTr.AddObject(new OdExDgnHostAppServices(swigCPtr.Handle, true));
50 }
52 SwigDirectorConnect();
53 DelegateHolder.OnHoldSwigDirectorDelegates(this);
54 }
55
56 public override bool ttfFileNameByDescriptor(OdTtfDescriptor description, ref string filename) {
57IntPtr tmp_filename = Marshal.StringToCoTaskMemUni(filename);
58 IntPtr saved_filename = tmp_filename;
59 try {
60 bool ret = (SwigDerivedClassHasMethod("ttfFileNameByDescriptor", swigMethodTypes24) ? TG_DbPINVOKE.OdExDgnHostAppServices_ttfFileNameByDescriptorSwigExplicitOdExDgnHostAppServices(swigCPtr, OdTtfDescriptor.getCPtr(description), ref tmp_filename) : TG_DbPINVOKE.OdExDgnHostAppServices_ttfFileNameByDescriptor(swigCPtr, OdTtfDescriptor.getCPtr(description), ref tmp_filename));
62 return ret;
63 } finally {
64if (tmp_filename != saved_filename) filename = Marshal.PtrToStringUni(tmp_filename);
65 }
66 }
67
69 global::System.IntPtr cPtr = (SwigDerivedClassHasMethod("newProgressMeter", swigMethodTypes6) ? TG_DbPINVOKE.OdExDgnHostAppServices_newProgressMeterSwigExplicitOdExDgnHostAppServices(swigCPtr) : TG_DbPINVOKE.OdExDgnHostAppServices_newProgressMeter(swigCPtr));
70 OdDbHostAppProgressMeter ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbHostAppProgressMeter(cPtr, false);
72 return ret;
73 }
74
79
80 public virtual bool getMtMode(MultiThreadedMode uMode) {
81 bool ret = TG_DbPINVOKE.OdExDgnHostAppServices_getMtMode(swigCPtr, (int)uMode);
83 return ret;
84 }
85
86 public virtual void setMtMode(MultiThreadedMode newMode, bool bSet) {
87 if (SwigDerivedClassHasMethod("setMtMode", swigMethodTypes58)) TG_DbPINVOKE.OdExDgnHostAppServices_setMtModeSwigExplicitOdExDgnHostAppServices(swigCPtr, (int)newMode, bSet); else TG_DbPINVOKE.OdExDgnHostAppServices_setMtMode(swigCPtr, (int)newMode, bSet);
89 }
90
91 public virtual void setNumThreads(MultiThreadedMode mtMode, int numThreads) {
92 if (SwigDerivedClassHasMethod("setNumThreads", swigMethodTypes59)) TG_DbPINVOKE.OdExDgnHostAppServices_setNumThreadsSwigExplicitOdExDgnHostAppServices(swigCPtr, (int)mtMode, numThreads); else TG_DbPINVOKE.OdExDgnHostAppServices_setNumThreads(swigCPtr, (int)mtMode, numThreads);
94 }
95
96 public override int numThreads(MultiThreadedMode mtMode) {
97 int ret = (SwigDerivedClassHasMethod("numThreads", swigMethodTypes43) ? TG_DbPINVOKE.OdExDgnHostAppServices_numThreadsSwigExplicitOdExDgnHostAppServices(swigCPtr, (int)mtMode) : TG_DbPINVOKE.OdExDgnHostAppServices_numThreads(swigCPtr, (int)mtMode));
99 return ret;
100 }
101
106
107 protected static string getRealClassName(IntPtr ptr) {
108 string ret = TG_DbPINVOKE.OdExDgnHostAppServices_getRealClassName(ptr /*SIMPLETYPE*/);
110 return ret;
111 }
112
113 private void SwigDirectorConnect() {
114 if (SwigDerivedClassHasMethod("queryX", swigMethodTypes0))
115 swigDelegate0 = new SwigDelegateOdExDgnHostAppServices_0(SwigDirectorMethodqueryX);
116 if (SwigDerivedClassHasMethod("isA", swigMethodTypes1))
117 swigDelegate1 = new SwigDelegateOdExDgnHostAppServices_1(SwigDirectorMethodisA);
118 if (SwigDerivedClassHasMethod("copyFrom", swigMethodTypes2))
119 swigDelegate2 = new SwigDelegateOdExDgnHostAppServices_2(SwigDirectorMethodcopyFrom);
120 if (SwigDerivedClassHasMethod("findFile", swigMethodTypes3))
121 swigDelegate3 = new SwigDelegateOdExDgnHostAppServices_3(SwigDirectorMethodfindFile__SWIG_0);
122 if (SwigDerivedClassHasMethod("findFile", swigMethodTypes4))
123 swigDelegate4 = new SwigDelegateOdExDgnHostAppServices_4(SwigDirectorMethodfindFile__SWIG_1);
124 if (SwigDerivedClassHasMethod("findFile", swigMethodTypes5))
125 swigDelegate5 = new SwigDelegateOdExDgnHostAppServices_5(SwigDirectorMethodfindFile__SWIG_2);
126 if (SwigDerivedClassHasMethod("newProgressMeter", swigMethodTypes6))
127 swigDelegate6 = new SwigDelegateOdExDgnHostAppServices_6(SwigDirectorMethodnewProgressMeter);
128 if (SwigDerivedClassHasMethod("releaseProgressMeter", swigMethodTypes7))
129 swigDelegate7 = new SwigDelegateOdExDgnHostAppServices_7(SwigDirectorMethodreleaseProgressMeter);
130 if (SwigDerivedClassHasMethod("program", swigMethodTypes8))
131 swigDelegate8 = new SwigDelegateOdExDgnHostAppServices_8(SwigDirectorMethodprogram);
132 if (SwigDerivedClassHasMethod("product", swigMethodTypes9))
133 swigDelegate9 = new SwigDelegateOdExDgnHostAppServices_9(SwigDirectorMethodproduct);
134 if (SwigDerivedClassHasMethod("companyName", swigMethodTypes10))
135 swigDelegate10 = new SwigDelegateOdExDgnHostAppServices_10(SwigDirectorMethodcompanyName);
136 if (SwigDerivedClassHasMethod("prodcode", swigMethodTypes11))
137 swigDelegate11 = new SwigDelegateOdExDgnHostAppServices_11(SwigDirectorMethodprodcode);
138 if (SwigDerivedClassHasMethod("releaseMajorMinorString", swigMethodTypes12))
139 swigDelegate12 = new SwigDelegateOdExDgnHostAppServices_12(SwigDirectorMethodreleaseMajorMinorString);
140 if (SwigDerivedClassHasMethod("releaseMajorVersion", swigMethodTypes13))
141 swigDelegate13 = new SwigDelegateOdExDgnHostAppServices_13(SwigDirectorMethodreleaseMajorVersion);
142 if (SwigDerivedClassHasMethod("releaseMinorVersion", swigMethodTypes14))
143 swigDelegate14 = new SwigDelegateOdExDgnHostAppServices_14(SwigDirectorMethodreleaseMinorVersion);
144 if (SwigDerivedClassHasMethod("versionString", swigMethodTypes15))
145 swigDelegate15 = new SwigDelegateOdExDgnHostAppServices_15(SwigDirectorMethodversionString);
146 if (SwigDerivedClassHasMethod("warning", swigMethodTypes16))
147 swigDelegate16 = new SwigDelegateOdExDgnHostAppServices_16(SwigDirectorMethodwarning__SWIG_0);
148 if (SwigDerivedClassHasMethod("warning", swigMethodTypes17))
149 swigDelegate17 = new SwigDelegateOdExDgnHostAppServices_17(SwigDirectorMethodwarning__SWIG_1);
150 if (SwigDerivedClassHasMethod("warning", swigMethodTypes18))
151 swigDelegate18 = new SwigDelegateOdExDgnHostAppServices_18(SwigDirectorMethodwarning__SWIG_2);
152 if (SwigDerivedClassHasMethod("warning", swigMethodTypes19))
153 swigDelegate19 = new SwigDelegateOdExDgnHostAppServices_19(SwigDirectorMethodwarning__SWIG_3);
154 if (SwigDerivedClassHasMethod("getErrorDescription", swigMethodTypes20))
155 swigDelegate20 = new SwigDelegateOdExDgnHostAppServices_20(SwigDirectorMethodgetErrorDescription);
156 if (SwigDerivedClassHasMethod("newUndoController", swigMethodTypes21))
157 swigDelegate21 = new SwigDelegateOdExDgnHostAppServices_21(SwigDirectorMethodnewUndoController);
158 if (SwigDerivedClassHasMethod("newUndoStream", swigMethodTypes22))
159 swigDelegate22 = new SwigDelegateOdExDgnHostAppServices_22(SwigDirectorMethodnewUndoStream);
160 if (SwigDerivedClassHasMethod("auditPrintReport", swigMethodTypes23))
161 swigDelegate23 = new SwigDelegateOdExDgnHostAppServices_23(SwigDirectorMethodauditPrintReport);
162 if (SwigDerivedClassHasMethod("ttfFileNameByDescriptor", swigMethodTypes24))
163 swigDelegate24 = new SwigDelegateOdExDgnHostAppServices_24(SwigDirectorMethodttfFileNameByDescriptor);
164 if (SwigDerivedClassHasMethod("getAlternateFontName", swigMethodTypes25))
165 swigDelegate25 = new SwigDelegateOdExDgnHostAppServices_25(SwigDirectorMethodgetAlternateFontName);
166 if (SwigDerivedClassHasMethod("getFontMapFileName", swigMethodTypes26))
167 swigDelegate26 = new SwigDelegateOdExDgnHostAppServices_26(SwigDirectorMethodgetFontMapFileName);
168 if (SwigDerivedClassHasMethod("getPreferableFont", swigMethodTypes27))
169 swigDelegate27 = new SwigDelegateOdExDgnHostAppServices_27(SwigDirectorMethodgetPreferableFont);
170 if (SwigDerivedClassHasMethod("getSubstituteFont", swigMethodTypes28))
171 swigDelegate28 = new SwigDelegateOdExDgnHostAppServices_28(SwigDirectorMethodgetSubstituteFont);
172 if (SwigDerivedClassHasMethod("getSubstituteFontByChar", swigMethodTypes29))
173 swigDelegate29 = new SwigDelegateOdExDgnHostAppServices_29(SwigDirectorMethodgetSubstituteFontByChar);
174 if (SwigDerivedClassHasMethod("getSystemFontFolders", swigMethodTypes30))
175 swigDelegate30 = new SwigDelegateOdExDgnHostAppServices_30(SwigDirectorMethodgetSystemFontFolders);
176 if (SwigDerivedClassHasMethod("collectFilePathsInDirectory", swigMethodTypes31))
177 swigDelegate31 = new SwigDelegateOdExDgnHostAppServices_31(SwigDirectorMethodcollectFilePathsInDirectory__SWIG_0);
178 if (SwigDerivedClassHasMethod("collectFilePathsInDirectory", swigMethodTypes32))
179 swigDelegate32 = new SwigDelegateOdExDgnHostAppServices_32(SwigDirectorMethodcollectFilePathsInDirectory__SWIG_1);
180 if (SwigDerivedClassHasMethod("fileDialog", swigMethodTypes33))
181 swigDelegate33 = new SwigDelegateOdExDgnHostAppServices_33(SwigDirectorMethodfileDialog__SWIG_0);
182 if (SwigDerivedClassHasMethod("fileDialog", swigMethodTypes34))
183 swigDelegate34 = new SwigDelegateOdExDgnHostAppServices_34(SwigDirectorMethodfileDialog__SWIG_1);
184 if (SwigDerivedClassHasMethod("fileDialog", swigMethodTypes35))
185 swigDelegate35 = new SwigDelegateOdExDgnHostAppServices_35(SwigDirectorMethodfileDialog__SWIG_2);
186 if (SwigDerivedClassHasMethod("fileDialog", swigMethodTypes36))
187 swigDelegate36 = new SwigDelegateOdExDgnHostAppServices_36(SwigDirectorMethodfileDialog__SWIG_3);
188 if (SwigDerivedClassHasMethod("fileDialog", swigMethodTypes37))
189 swigDelegate37 = new SwigDelegateOdExDgnHostAppServices_37(SwigDirectorMethodfileDialog__SWIG_4);
190 if (SwigDerivedClassHasMethod("gsBitmapDevice", swigMethodTypes38))
191 swigDelegate38 = new SwigDelegateOdExDgnHostAppServices_38(SwigDirectorMethodgsBitmapDevice__SWIG_0);
192 if (SwigDerivedClassHasMethod("gsBitmapDevice", swigMethodTypes39))
193 swigDelegate39 = new SwigDelegateOdExDgnHostAppServices_39(SwigDirectorMethodgsBitmapDevice__SWIG_1);
194 if (SwigDerivedClassHasMethod("gsBitmapDevice", swigMethodTypes40))
195 swigDelegate40 = new SwigDelegateOdExDgnHostAppServices_40(SwigDirectorMethodgsBitmapDevice__SWIG_2);
196 if (SwigDerivedClassHasMethod("gsBitmapDevice", swigMethodTypes41))
197 swigDelegate41 = new SwigDelegateOdExDgnHostAppServices_41(SwigDirectorMethodgsBitmapDevice__SWIG_3);
198 if (SwigDerivedClassHasMethod("getTempPath", swigMethodTypes42))
199 swigDelegate42 = new SwigDelegateOdExDgnHostAppServices_42(SwigDirectorMethodgetTempPath);
200 if (SwigDerivedClassHasMethod("numThreads", swigMethodTypes43))
201 swigDelegate43 = new SwigDelegateOdExDgnHostAppServices_43(SwigDirectorMethodnumThreads);
202 if (SwigDerivedClassHasMethod("getEnv", swigMethodTypes44))
203 swigDelegate44 = new SwigDelegateOdExDgnHostAppServices_44(SwigDirectorMethodgetEnv);
204 if (SwigDerivedClassHasMethod("setEnv", swigMethodTypes45))
205 swigDelegate45 = new SwigDelegateOdExDgnHostAppServices_45(SwigDirectorMethodsetEnv);
206 if (SwigDerivedClassHasMethod("getAppUserName", swigMethodTypes46))
207 swigDelegate46 = new SwigDelegateOdExDgnHostAppServices_46(SwigDirectorMethodgetAppUserName__SWIG_0);
208 if (SwigDerivedClassHasMethod("getAppUserName", swigMethodTypes47))
209 swigDelegate47 = new SwigDelegateOdExDgnHostAppServices_47(SwigDirectorMethodgetAppUserName__SWIG_1);
210 if (SwigDerivedClassHasMethod("databaseClass", swigMethodTypes48))
211 swigDelegate48 = new SwigDelegateOdExDgnHostAppServices_48(SwigDirectorMethoddatabaseClass);
212 if (SwigDerivedClassHasMethod("createDatabase", swigMethodTypes49))
213 swigDelegate49 = new SwigDelegateOdExDgnHostAppServices_49(SwigDirectorMethodcreateDatabase__SWIG_0);
214 if (SwigDerivedClassHasMethod("createDatabase", swigMethodTypes50))
215 swigDelegate50 = new SwigDelegateOdExDgnHostAppServices_50(SwigDirectorMethodcreateDatabase__SWIG_1);
216 if (SwigDerivedClassHasMethod("readFile", swigMethodTypes51))
217 swigDelegate51 = new SwigDelegateOdExDgnHostAppServices_51(SwigDirectorMethodreadFile__SWIG_0);
218 if (SwigDerivedClassHasMethod("readFile", swigMethodTypes52))
219 swigDelegate52 = new SwigDelegateOdExDgnHostAppServices_52(SwigDirectorMethodreadFile__SWIG_1);
220 if (SwigDerivedClassHasMethod("readFile", swigMethodTypes53))
221 swigDelegate53 = new SwigDelegateOdExDgnHostAppServices_53(SwigDirectorMethodreadFile__SWIG_2);
222 if (SwigDerivedClassHasMethod("getThumbnail", swigMethodTypes54))
223 swigDelegate54 = new SwigDelegateOdExDgnHostAppServices_54(SwigDirectorMethodgetThumbnail);
224 if (SwigDerivedClassHasMethod("setThumbnail", swigMethodTypes55))
225 swigDelegate55 = new SwigDelegateOdExDgnHostAppServices_55(SwigDirectorMethodsetThumbnail);
226 if (SwigDerivedClassHasMethod("createThumbnail", swigMethodTypes56))
227 swigDelegate56 = new SwigDelegateOdExDgnHostAppServices_56(SwigDirectorMethodcreateThumbnail);
228 if (SwigDerivedClassHasMethod("getDbHostAppServices", swigMethodTypes57))
229 swigDelegate57 = new SwigDelegateOdExDgnHostAppServices_57(SwigDirectorMethodgetDbHostAppServices);
230 if (SwigDerivedClassHasMethod("setMtMode", swigMethodTypes58))
231 swigDelegate58 = new SwigDelegateOdExDgnHostAppServices_58(SwigDirectorMethodsetMtMode);
232 if (SwigDerivedClassHasMethod("setNumThreads", swigMethodTypes59))
233 swigDelegate59 = new SwigDelegateOdExDgnHostAppServices_59(SwigDirectorMethodsetNumThreads);
234 TG_DbPINVOKE.OdExDgnHostAppServices_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate22, swigDelegate23, swigDelegate24, swigDelegate25, swigDelegate26, swigDelegate27, swigDelegate28, swigDelegate29, swigDelegate30, swigDelegate31, swigDelegate32, swigDelegate33, swigDelegate34, swigDelegate35, swigDelegate36, swigDelegate37, swigDelegate38, swigDelegate39, swigDelegate40, swigDelegate41, swigDelegate42, swigDelegate43, swigDelegate44, swigDelegate45, swigDelegate46, swigDelegate47, swigDelegate48, swigDelegate49, swigDelegate50, swigDelegate51, swigDelegate52, swigDelegate53, swigDelegate54, swigDelegate55, swigDelegate56, swigDelegate57, swigDelegate58, swigDelegate59);
235 }
236
237 private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
238 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);
239 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(OdExDgnHostAppServices));
240 return hasDerivedMethod;
241 }
242
243 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
244 return
245 // csdirectorout for OdRxObject*, OdRxObject&
247 (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),protocolClass,false) /*createInt 6_2*/ // csdirectorin for smart pointer
248)).Handle
249;
250 }
251
252 private IntPtr SwigDirectorMethodisA() {
253 return
254 // csdirectorout for OdRxClass*, OdRxClass&
255 OdRxClass.getCPtr(isA()).Handle
256;
257 }
258
259 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
260 copyFrom(
261 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pSource,false) /*createInt 6_2*/ // csdirectorin for smart pointer
262);
263 }
264
265 [return: MarshalAs(UnmanagedType.LPWStr)]
266 private String SwigDirectorMethodfindFile__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr pDb, int hint) {
267 return findFile(filename,
268 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pDb,false) /*createInt 6_1*/ // csdirectorin for smart pointer
270 }
271
272 [return: MarshalAs(UnmanagedType.LPWStr)]
273 private String SwigDirectorMethodfindFile__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr pDb) {
274 return findFile(filename,
275 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pDb,false) /*createInt 6_1*/ // csdirectorin for smart pointer
276);
277 }
278
279 [return: MarshalAs(UnmanagedType.LPWStr)]
280 private String SwigDirectorMethodfindFile__SWIG_2([MarshalAs(UnmanagedType.LPWStr)]String filename) {
281 return findFile(filename);
282 }
283
284 private global::System.IntPtr SwigDirectorMethodnewProgressMeter() {
286 }
287
288 private void SwigDirectorMethodreleaseProgressMeter(global::System.IntPtr pProgressMeter) {
289 releaseProgressMeter((pProgressMeter == global::System.IntPtr.Zero) ? null : new OdDbHostAppProgressMeter(pProgressMeter, false));
290 }
291
292 [return: MarshalAs(UnmanagedType.LPWStr)]
293 private String SwigDirectorMethodprogram() {
294 return program();
295 }
296
297 [return: MarshalAs(UnmanagedType.LPWStr)]
298 private String SwigDirectorMethodproduct() {
299 return product();
300 }
301
302 [return: MarshalAs(UnmanagedType.LPWStr)]
303 private String SwigDirectorMethodcompanyName() {
304 return companyName();
305 }
306
307 private int SwigDirectorMethodprodcode() {
308 return (int)prodcode();
309 }
310
311 [return: MarshalAs(UnmanagedType.LPWStr)]
312 private String SwigDirectorMethodreleaseMajorMinorString() {
314 }
315
316 private int SwigDirectorMethodreleaseMajorVersion() {
317 return releaseMajorVersion();
318 }
319
320 private int SwigDirectorMethodreleaseMinorVersion() {
321 return releaseMinorVersion();
322 }
323
324 [return: MarshalAs(UnmanagedType.LPWStr)]
325 private String SwigDirectorMethodversionString() {
326 return versionString();
327 }
328
329 private void SwigDirectorMethodwarning__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String message) {
330 warning(message);
331 }
332
333 private void SwigDirectorMethodwarning__SWIG_1(string warnVisGroup, [MarshalAs(UnmanagedType.LPWStr)]String message) {
334 warning(warnVisGroup, message);
335 }
336
337 private void SwigDirectorMethodwarning__SWIG_2(int warningOb) {
338 warning((OdResult)warningOb);
339 }
340
341 private void SwigDirectorMethodwarning__SWIG_3(string warnVisGroup, int warningOb) {
342 warning(warnVisGroup, (OdResult)warningOb);
343 }
344
345 [return: MarshalAs(UnmanagedType.LPWStr)]
346 private String SwigDirectorMethodgetErrorDescription(uint errorCode) {
347 return getErrorDescription(errorCode);
348 }
349
350 private IntPtr SwigDirectorMethodnewUndoController() {
352 }
353
354 private IntPtr SwigDirectorMethodnewUndoStream() {
355 return OdStreamBuf.getCPtr(newUndoStream()).Handle;
356 }
357
358 private void SwigDirectorMethodauditPrintReport(global::System.IntPtr pAuditInfo, [MarshalAs(UnmanagedType.LPWStr)]String strLine, int printDest) {
359 auditPrintReport((pAuditInfo == global::System.IntPtr.Zero) ? null : new OdAuditInfo(pAuditInfo, false), strLine, printDest);
360 }
361
362 private bool SwigDirectorMethodttfFileNameByDescriptor(global::System.IntPtr description, IntPtr filename) {
363 string tmp_filename = Marshal.PtrToStringUni(filename);
364 string saved_filename = tmp_filename;
365 try {
366 return ttfFileNameByDescriptor(new OdTtfDescriptor(description, false), ref tmp_filename);
367 } finally {
368 if (tmp_filename != saved_filename) filename = Marshal.StringToCoTaskMemUni(tmp_filename);
369 }
370 }
371
372 [return: MarshalAs(UnmanagedType.LPWStr)]
373 private String SwigDirectorMethodgetAlternateFontName() {
374 return getAlternateFontName();
375 }
376
377 [return: MarshalAs(UnmanagedType.LPWStr)]
378 private String SwigDirectorMethodgetFontMapFileName() {
379 return getFontMapFileName();
380 }
381
382 [return: MarshalAs(UnmanagedType.LPWStr)]
383 private String SwigDirectorMethodgetPreferableFont([MarshalAs(UnmanagedType.LPWStr)]String fontName, int fontType) {
384 return getPreferableFont(fontName, (OdFontType)fontType);
385 }
386
387 [return: MarshalAs(UnmanagedType.LPWStr)]
388 private String SwigDirectorMethodgetSubstituteFont([MarshalAs(UnmanagedType.LPWStr)]String fontName, int fontType) {
389 return getSubstituteFont(fontName, (OdFontType)fontType);
390 }
391
392 [return: MarshalAs(UnmanagedType.LPWStr)]
393 private String SwigDirectorMethodgetSubstituteFontByChar(IntPtr pFont, char /*SIMPLETYPE*/ unicodeChar, IntPtr pDb) {
395 (OdFont)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdFont),pFont,false) /*createInt 6_3*/ // csdirectorin for smart pointer
396, unicodeChar /*SIMPLETYPE*/,
397 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pDb,false) /*createInt 6_1*/ // csdirectorin for smart pointer
398);
399 }
400
401 private bool SwigDirectorMethodgetSystemFontFolders(global::System.IntPtr aDirs) {
402 return getSystemFontFolders(new OdStringArray(aDirs, false));
403 }
404
405 private void SwigDirectorMethodcollectFilePathsInDirectory__SWIG_0(global::System.IntPtr res, [MarshalAs(UnmanagedType.LPWStr)]String sPath, [MarshalAs(UnmanagedType.LPWStr)]String sFilter) {
406 collectFilePathsInDirectory(new OdStringArray(res, false), sPath, sFilter);
407 }
408
409 private void SwigDirectorMethodcollectFilePathsInDirectory__SWIG_1(global::System.IntPtr res, [MarshalAs(UnmanagedType.LPWStr)]String sPath) {
410 collectFilePathsInDirectory(new OdStringArray(res, false), sPath);
411 }
412
413 [return: MarshalAs(UnmanagedType.LPWStr)]
414 private String SwigDirectorMethodfileDialog__SWIG_0(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption, [MarshalAs(UnmanagedType.LPWStr)]String defExt, [MarshalAs(UnmanagedType.LPWStr)]String defFilename, [MarshalAs(UnmanagedType.LPWStr)]String filter) {
415 return fileDialog(flags, dialogCaption, defExt, defFilename, filter);
416 }
417
418 [return: MarshalAs(UnmanagedType.LPWStr)]
419 private String SwigDirectorMethodfileDialog__SWIG_1(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption, [MarshalAs(UnmanagedType.LPWStr)]String defExt, [MarshalAs(UnmanagedType.LPWStr)]String defFilename) {
420 return fileDialog(flags, dialogCaption, defExt, defFilename);
421 }
422
423 [return: MarshalAs(UnmanagedType.LPWStr)]
424 private String SwigDirectorMethodfileDialog__SWIG_2(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption, [MarshalAs(UnmanagedType.LPWStr)]String defExt) {
425 return fileDialog(flags, dialogCaption, defExt);
426 }
427
428 [return: MarshalAs(UnmanagedType.LPWStr)]
429 private String SwigDirectorMethodfileDialog__SWIG_3(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption) {
430 return fileDialog(flags, dialogCaption);
431 }
432
433 [return: MarshalAs(UnmanagedType.LPWStr)]
434 private String SwigDirectorMethodfileDialog__SWIG_4(int flags) {
435 return fileDialog(flags);
436 }
437
438 private IntPtr SwigDirectorMethodgsBitmapDevice__SWIG_0(IntPtr pViewObj, IntPtr pDb, UInt32 /*SIMPLETYPE*/ flags) {
440 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pViewObj,false) /*createInt 6_1*/ // csdirectorin for smart pointer
441,
442 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pDb,false) /*createInt 6_1*/ // csdirectorin for smart pointer
443, flags /*SIMPLETYPE*/)).Handle;
444 }
445
446 private IntPtr SwigDirectorMethodgsBitmapDevice__SWIG_1(IntPtr pViewObj, IntPtr pDb) {
448 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pViewObj,false) /*createInt 6_1*/ // csdirectorin for smart pointer
449,
450 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pDb,false) /*createInt 6_1*/ // csdirectorin for smart pointer
451)).Handle;
452 }
453
454 private IntPtr SwigDirectorMethodgsBitmapDevice__SWIG_2(IntPtr pViewObj) {
456 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pViewObj,false) /*createInt 6_1*/ // csdirectorin for smart pointer
457)).Handle;
458 }
459
460 private IntPtr SwigDirectorMethodgsBitmapDevice__SWIG_3() {
461 return OdGsDevice.getCPtr(gsBitmapDevice()).Handle;
462 }
463
464 [return: MarshalAs(UnmanagedType.LPWStr)]
465 private String SwigDirectorMethodgetTempPath() {
466 return getTempPath();
467 }
468
469 private int SwigDirectorMethodnumThreads(int mtMode) {
470 return numThreads((MultiThreadedMode)mtMode);
471 }
472
473 private int SwigDirectorMethodgetEnv([MarshalAs(UnmanagedType.LPWStr)]String varName, IntPtr value) {
474 string tmp_value = Marshal.PtrToStringUni(value);
475 string saved_value = tmp_value;
476 try {
477 return (int)getEnv(varName, ref tmp_value);
478 } finally {
479 if (tmp_value != saved_value) value = Marshal.StringToCoTaskMemUni(tmp_value);
480 }
481 }
482
483 private int SwigDirectorMethodsetEnv([MarshalAs(UnmanagedType.LPWStr)]String varName, [MarshalAs(UnmanagedType.LPWStr)]String newValue) {
484 return (int)setEnv(varName, newValue);
485 }
486
487 [return: MarshalAs(UnmanagedType.LPWStr)]
488 private String SwigDirectorMethodgetAppUserName__SWIG_0(int unFormat) {
489 return getAppUserName((UserNameFormat)unFormat);
490 }
491
492 [return: MarshalAs(UnmanagedType.LPWStr)]
493 private String SwigDirectorMethodgetAppUserName__SWIG_1() {
494 return getAppUserName();
495 }
496
497 private IntPtr SwigDirectorMethoddatabaseClass() {
498 return
499 // csdirectorout for OdRxClass*, OdRxClass&
501;
502 }
503
504 private IntPtr SwigDirectorMethodcreateDatabase__SWIG_0(int defaultContent) {
505 return OdDgDatabase.getCPtr(createDatabase((OdDgHostAppServices.DatabaseDefaultContent)defaultContent)).Handle;
506 }
507
508 private IntPtr SwigDirectorMethodcreateDatabase__SWIG_1() {
509 return OdDgDatabase.getCPtr(createDatabase()).Handle;
510 }
511
512 private IntPtr SwigDirectorMethodreadFile__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String fileName, int shareMode, bool partialLoad) {
513 return OdDgDatabase.getCPtr(readFile(fileName, (FileShareMode)shareMode, partialLoad)).Handle;
514 }
515
516 private IntPtr SwigDirectorMethodreadFile__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String fileName, int shareMode) {
517 return OdDgDatabase.getCPtr(readFile(fileName, (FileShareMode)shareMode)).Handle;
518 }
519
520 private IntPtr SwigDirectorMethodreadFile__SWIG_2([MarshalAs(UnmanagedType.LPWStr)]String fileName) {
521 return OdDgDatabase.getCPtr(readFile(fileName)).Handle;
522 }
523
524 private bool SwigDirectorMethodgetThumbnail([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr dibData) {
525 return getThumbnail(filename,
526 //csdirectorin of INOUT_PARAM_OBJ
527 new OdBinaryData(dibData,true)
528);
529 }
530
531 private bool SwigDirectorMethodsetThumbnail([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr dibData) {
532 return setThumbnail(filename,
533 //csdirectorin of INOUT_PARAM_OBJ
534 new OdBinaryData(dibData,true)
535);
536 }
537
538 private bool SwigDirectorMethodcreateThumbnail([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr dibData) {
539 return createThumbnail(filename,
540 //csdirectorin of INOUT_PARAM_OBJ
541 new OdBinaryData(dibData,true)
542);
543 }
544
545 private IntPtr SwigDirectorMethodgetDbHostAppServices() {
546 return
547 // csdirectorout for OdDbBaseHostAppServices*, OdDbBaseHostAppServices&
549;
550 }
551
552 private void SwigDirectorMethodsetMtMode(int newMode, bool bSet) {
553 setMtMode((MultiThreadedMode)newMode, bSet);
554 }
555
556 private void SwigDirectorMethodsetNumThreads(int mtMode, int numThreads) {
558 }
559
560 public delegate IntPtr SwigDelegateOdExDgnHostAppServices_0(IntPtr protocolClass);
561 public delegate IntPtr SwigDelegateOdExDgnHostAppServices_1();
562 public delegate void SwigDelegateOdExDgnHostAppServices_2(IntPtr pSource);
563 [return: MarshalAs(UnmanagedType.LPWStr)]
564 public delegate String SwigDelegateOdExDgnHostAppServices_3([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr pDb, int hint);
565 [return: MarshalAs(UnmanagedType.LPWStr)]
566 public delegate String SwigDelegateOdExDgnHostAppServices_4([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr pDb);
567 [return: MarshalAs(UnmanagedType.LPWStr)]
568 public delegate String SwigDelegateOdExDgnHostAppServices_5([MarshalAs(UnmanagedType.LPWStr)]String filename);
569 public delegate global::System.IntPtr SwigDelegateOdExDgnHostAppServices_6();
570 public delegate void SwigDelegateOdExDgnHostAppServices_7(global::System.IntPtr pProgressMeter);
571 [return: MarshalAs(UnmanagedType.LPWStr)]
573 [return: MarshalAs(UnmanagedType.LPWStr)]
575 [return: MarshalAs(UnmanagedType.LPWStr)]
578 [return: MarshalAs(UnmanagedType.LPWStr)]
582 [return: MarshalAs(UnmanagedType.LPWStr)]
584 public delegate void SwigDelegateOdExDgnHostAppServices_16([MarshalAs(UnmanagedType.LPWStr)]String message);
585 public delegate void SwigDelegateOdExDgnHostAppServices_17(string warnVisGroup, [MarshalAs(UnmanagedType.LPWStr)]String message);
586 public delegate void SwigDelegateOdExDgnHostAppServices_18(int warningOb);
587 public delegate void SwigDelegateOdExDgnHostAppServices_19(string warnVisGroup, int warningOb);
588 [return: MarshalAs(UnmanagedType.LPWStr)]
589 public delegate String SwigDelegateOdExDgnHostAppServices_20(uint errorCode);
592 public delegate void SwigDelegateOdExDgnHostAppServices_23(global::System.IntPtr pAuditInfo, [MarshalAs(UnmanagedType.LPWStr)]String strLine, int printDest);
593 public delegate bool SwigDelegateOdExDgnHostAppServices_24(global::System.IntPtr description, IntPtr filename);
594 [return: MarshalAs(UnmanagedType.LPWStr)]
596 [return: MarshalAs(UnmanagedType.LPWStr)]
598 [return: MarshalAs(UnmanagedType.LPWStr)]
599 public delegate String SwigDelegateOdExDgnHostAppServices_27([MarshalAs(UnmanagedType.LPWStr)]String fontName, int fontType);
600 [return: MarshalAs(UnmanagedType.LPWStr)]
601 public delegate String SwigDelegateOdExDgnHostAppServices_28([MarshalAs(UnmanagedType.LPWStr)]String fontName, int fontType);
602 [return: MarshalAs(UnmanagedType.LPWStr)]
603 public delegate String SwigDelegateOdExDgnHostAppServices_29(IntPtr pFont, char /*SIMPLETYPE*/ unicodeChar, IntPtr pDb);
604 public delegate bool SwigDelegateOdExDgnHostAppServices_30(global::System.IntPtr aDirs);
605 public delegate void SwigDelegateOdExDgnHostAppServices_31(global::System.IntPtr res, [MarshalAs(UnmanagedType.LPWStr)]String sPath, [MarshalAs(UnmanagedType.LPWStr)]String sFilter);
606 public delegate void SwigDelegateOdExDgnHostAppServices_32(global::System.IntPtr res, [MarshalAs(UnmanagedType.LPWStr)]String sPath);
607 [return: MarshalAs(UnmanagedType.LPWStr)]
608 public delegate String SwigDelegateOdExDgnHostAppServices_33(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption, [MarshalAs(UnmanagedType.LPWStr)]String defExt, [MarshalAs(UnmanagedType.LPWStr)]String defFilename, [MarshalAs(UnmanagedType.LPWStr)]String filter);
609 [return: MarshalAs(UnmanagedType.LPWStr)]
610 public delegate String SwigDelegateOdExDgnHostAppServices_34(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption, [MarshalAs(UnmanagedType.LPWStr)]String defExt, [MarshalAs(UnmanagedType.LPWStr)]String defFilename);
611 [return: MarshalAs(UnmanagedType.LPWStr)]
612 public delegate String SwigDelegateOdExDgnHostAppServices_35(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption, [MarshalAs(UnmanagedType.LPWStr)]String defExt);
613 [return: MarshalAs(UnmanagedType.LPWStr)]
614 public delegate String SwigDelegateOdExDgnHostAppServices_36(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption);
615 [return: MarshalAs(UnmanagedType.LPWStr)]
617 public delegate IntPtr SwigDelegateOdExDgnHostAppServices_38(IntPtr pViewObj, IntPtr pDb, UInt32 /*SIMPLETYPE*/ flags);
618 public delegate IntPtr SwigDelegateOdExDgnHostAppServices_39(IntPtr pViewObj, IntPtr pDb);
619 public delegate IntPtr SwigDelegateOdExDgnHostAppServices_40(IntPtr pViewObj);
621 [return: MarshalAs(UnmanagedType.LPWStr)]
623 public delegate int SwigDelegateOdExDgnHostAppServices_43(int mtMode);
624 public delegate int SwigDelegateOdExDgnHostAppServices_44([MarshalAs(UnmanagedType.LPWStr)]String varName, IntPtr value);
625 public delegate int SwigDelegateOdExDgnHostAppServices_45([MarshalAs(UnmanagedType.LPWStr)]String varName, [MarshalAs(UnmanagedType.LPWStr)]String newValue);
626 [return: MarshalAs(UnmanagedType.LPWStr)]
627 public delegate String SwigDelegateOdExDgnHostAppServices_46(int unFormat);
628 [return: MarshalAs(UnmanagedType.LPWStr)]
631 public delegate IntPtr SwigDelegateOdExDgnHostAppServices_49(int defaultContent);
633 public delegate IntPtr SwigDelegateOdExDgnHostAppServices_51([MarshalAs(UnmanagedType.LPWStr)]String fileName, int shareMode, bool partialLoad);
634 public delegate IntPtr SwigDelegateOdExDgnHostAppServices_52([MarshalAs(UnmanagedType.LPWStr)]String fileName, int shareMode);
635 public delegate IntPtr SwigDelegateOdExDgnHostAppServices_53([MarshalAs(UnmanagedType.LPWStr)]String fileName);
636 public delegate bool SwigDelegateOdExDgnHostAppServices_54([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr dibData);
637 public delegate bool SwigDelegateOdExDgnHostAppServices_55([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr dibData);
638 public delegate bool SwigDelegateOdExDgnHostAppServices_56([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr dibData);
640 public delegate void SwigDelegateOdExDgnHostAppServices_58(int newMode, bool bSet);
641 public delegate void SwigDelegateOdExDgnHostAppServices_59(int mtMode, int numThreads);
642
643 private SwigDelegateOdExDgnHostAppServices_0 swigDelegate0;
644 private SwigDelegateOdExDgnHostAppServices_1 swigDelegate1;
645 private SwigDelegateOdExDgnHostAppServices_2 swigDelegate2;
646 private SwigDelegateOdExDgnHostAppServices_3 swigDelegate3;
647 private SwigDelegateOdExDgnHostAppServices_4 swigDelegate4;
648 private SwigDelegateOdExDgnHostAppServices_5 swigDelegate5;
649 private SwigDelegateOdExDgnHostAppServices_6 swigDelegate6;
650 private SwigDelegateOdExDgnHostAppServices_7 swigDelegate7;
651 private SwigDelegateOdExDgnHostAppServices_8 swigDelegate8;
652 private SwigDelegateOdExDgnHostAppServices_9 swigDelegate9;
653 private SwigDelegateOdExDgnHostAppServices_10 swigDelegate10;
654 private SwigDelegateOdExDgnHostAppServices_11 swigDelegate11;
655 private SwigDelegateOdExDgnHostAppServices_12 swigDelegate12;
656 private SwigDelegateOdExDgnHostAppServices_13 swigDelegate13;
657 private SwigDelegateOdExDgnHostAppServices_14 swigDelegate14;
658 private SwigDelegateOdExDgnHostAppServices_15 swigDelegate15;
659 private SwigDelegateOdExDgnHostAppServices_16 swigDelegate16;
660 private SwigDelegateOdExDgnHostAppServices_17 swigDelegate17;
661 private SwigDelegateOdExDgnHostAppServices_18 swigDelegate18;
662 private SwigDelegateOdExDgnHostAppServices_19 swigDelegate19;
663 private SwigDelegateOdExDgnHostAppServices_20 swigDelegate20;
664 private SwigDelegateOdExDgnHostAppServices_21 swigDelegate21;
665 private SwigDelegateOdExDgnHostAppServices_22 swigDelegate22;
666 private SwigDelegateOdExDgnHostAppServices_23 swigDelegate23;
667 private SwigDelegateOdExDgnHostAppServices_24 swigDelegate24;
668 private SwigDelegateOdExDgnHostAppServices_25 swigDelegate25;
669 private SwigDelegateOdExDgnHostAppServices_26 swigDelegate26;
670 private SwigDelegateOdExDgnHostAppServices_27 swigDelegate27;
671 private SwigDelegateOdExDgnHostAppServices_28 swigDelegate28;
672 private SwigDelegateOdExDgnHostAppServices_29 swigDelegate29;
673 private SwigDelegateOdExDgnHostAppServices_30 swigDelegate30;
674 private SwigDelegateOdExDgnHostAppServices_31 swigDelegate31;
675 private SwigDelegateOdExDgnHostAppServices_32 swigDelegate32;
676 private SwigDelegateOdExDgnHostAppServices_33 swigDelegate33;
677 private SwigDelegateOdExDgnHostAppServices_34 swigDelegate34;
678 private SwigDelegateOdExDgnHostAppServices_35 swigDelegate35;
679 private SwigDelegateOdExDgnHostAppServices_36 swigDelegate36;
680 private SwigDelegateOdExDgnHostAppServices_37 swigDelegate37;
681 private SwigDelegateOdExDgnHostAppServices_38 swigDelegate38;
682 private SwigDelegateOdExDgnHostAppServices_39 swigDelegate39;
683 private SwigDelegateOdExDgnHostAppServices_40 swigDelegate40;
684 private SwigDelegateOdExDgnHostAppServices_41 swigDelegate41;
685 private SwigDelegateOdExDgnHostAppServices_42 swigDelegate42;
686 private SwigDelegateOdExDgnHostAppServices_43 swigDelegate43;
687 private SwigDelegateOdExDgnHostAppServices_44 swigDelegate44;
688 private SwigDelegateOdExDgnHostAppServices_45 swigDelegate45;
689 private SwigDelegateOdExDgnHostAppServices_46 swigDelegate46;
690 private SwigDelegateOdExDgnHostAppServices_47 swigDelegate47;
691 private SwigDelegateOdExDgnHostAppServices_48 swigDelegate48;
692 private SwigDelegateOdExDgnHostAppServices_49 swigDelegate49;
693 private SwigDelegateOdExDgnHostAppServices_50 swigDelegate50;
694 private SwigDelegateOdExDgnHostAppServices_51 swigDelegate51;
695 private SwigDelegateOdExDgnHostAppServices_52 swigDelegate52;
696 private SwigDelegateOdExDgnHostAppServices_53 swigDelegate53;
697 private SwigDelegateOdExDgnHostAppServices_54 swigDelegate54;
698 private SwigDelegateOdExDgnHostAppServices_55 swigDelegate55;
699 private SwigDelegateOdExDgnHostAppServices_56 swigDelegate56;
700 private SwigDelegateOdExDgnHostAppServices_57 swigDelegate57;
701 private SwigDelegateOdExDgnHostAppServices_58 swigDelegate58;
702 private SwigDelegateOdExDgnHostAppServices_59 swigDelegate59;
703
704 private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(OdRxClass) };
705 private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
706 private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(OdRxObject) };
707 private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(String), typeof(OdRxObject), typeof(OdDbBaseHostAppServices.FindFileHint) };
708 private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(String), typeof(OdRxObject) };
709 private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(String) };
710 private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { };
711 private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(OdDbHostAppProgressMeter) };
712 private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { };
713 private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { };
714 private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { };
715 private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { };
716 private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { };
717 private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
718 private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { };
719 private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { };
720 private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { typeof(String) };
721 private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(string), typeof(String) };
722 private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { typeof(OdResult) };
723 private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { typeof(string), typeof(OdResult) };
724 private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { typeof(uint) };
725 private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
726 private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { };
727 private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(OdAuditInfo), typeof(String), typeof(int) };
728 private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { typeof(OdTtfDescriptor), typeof(string).MakeByRefType() };
729 private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
730 private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { };
731 private static global::System.Type[] swigMethodTypes27 = new global::System.Type[] { typeof(String), typeof(OdFontType) };
732 private static global::System.Type[] swigMethodTypes28 = new global::System.Type[] { typeof(String), typeof(OdFontType) };
733 private static global::System.Type[] swigMethodTypes29 = new global::System.Type[] { typeof(OdFont), typeof(char), typeof(OdRxObject) };
734 private static global::System.Type[] swigMethodTypes30 = new global::System.Type[] { typeof(OdStringArray) };
735 private static global::System.Type[] swigMethodTypes31 = new global::System.Type[] { typeof(OdStringArray), typeof(String), typeof(String) };
736 private static global::System.Type[] swigMethodTypes32 = new global::System.Type[] { typeof(OdStringArray), typeof(String) };
737 private static global::System.Type[] swigMethodTypes33 = new global::System.Type[] { typeof(int), typeof(String), typeof(String), typeof(String), typeof(String) };
738 private static global::System.Type[] swigMethodTypes34 = new global::System.Type[] { typeof(int), typeof(String), typeof(String), typeof(String) };
739 private static global::System.Type[] swigMethodTypes35 = new global::System.Type[] { typeof(int), typeof(String), typeof(String) };
740 private static global::System.Type[] swigMethodTypes36 = new global::System.Type[] { typeof(int), typeof(String) };
741 private static global::System.Type[] swigMethodTypes37 = new global::System.Type[] { typeof(int) };
742 private static global::System.Type[] swigMethodTypes38 = new global::System.Type[] { typeof(OdRxObject), typeof(OdRxObject), typeof(UInt32) };
743 private static global::System.Type[] swigMethodTypes39 = new global::System.Type[] { typeof(OdRxObject), typeof(OdRxObject) };
744 private static global::System.Type[] swigMethodTypes40 = new global::System.Type[] { typeof(OdRxObject) };
745 private static global::System.Type[] swigMethodTypes41 = new global::System.Type[] { };
746 private static global::System.Type[] swigMethodTypes42 = new global::System.Type[] { };
747 private static global::System.Type[] swigMethodTypes43 = new global::System.Type[] { typeof(MultiThreadedMode) };
748 private static global::System.Type[] swigMethodTypes44 = new global::System.Type[] { typeof(String), typeof(string).MakeByRefType() };
749 private static global::System.Type[] swigMethodTypes45 = new global::System.Type[] { typeof(String), typeof(String) };
750 private static global::System.Type[] swigMethodTypes46 = new global::System.Type[] { typeof(UserNameFormat) };
751 private static global::System.Type[] swigMethodTypes47 = new global::System.Type[] { };
752 private static global::System.Type[] swigMethodTypes48 = new global::System.Type[] { };
753 private static global::System.Type[] swigMethodTypes49 = new global::System.Type[] { typeof(OdDgHostAppServices.DatabaseDefaultContent) };
754 private static global::System.Type[] swigMethodTypes50 = new global::System.Type[] { };
755 private static global::System.Type[] swigMethodTypes51 = new global::System.Type[] { typeof(String), typeof(FileShareMode), typeof(bool) };
756 private static global::System.Type[] swigMethodTypes52 = new global::System.Type[] { typeof(String), typeof(FileShareMode) };
757 private static global::System.Type[] swigMethodTypes53 = new global::System.Type[] { typeof(String) };
758 private static global::System.Type[] swigMethodTypes54 = new global::System.Type[] { typeof(String), typeof(OdBinaryData) };
759 private static global::System.Type[] swigMethodTypes55 = new global::System.Type[] { typeof(String), typeof(OdBinaryData) };
760 private static global::System.Type[] swigMethodTypes56 = new global::System.Type[] { typeof(String), typeof(OdBinaryData) };
761 private static global::System.Type[] swigMethodTypes57 = new global::System.Type[] { };
762 private static global::System.Type[] swigMethodTypes58 = new global::System.Type[] { typeof(MultiThreadedMode), typeof(bool) };
763 private static global::System.Type[] swigMethodTypes59 = new global::System.Type[] { typeof(MultiThreadedMode), typeof(int) };
764}
765
766}
virtual void collectFilePathsInDirectory(OdStringArray res, String sPath, String sFilter)
virtual String getErrorDescription(uint errorCode)
virtual bool getSystemFontFolders(OdStringArray aDirs)
virtual void auditPrintReport(OdAuditInfo pAuditInfo, String strLine, int printDest)
virtual OdResult getEnv(String varName, ref string value)
virtual String fileDialog(int flags, String dialogCaption, String defExt, String defFilename, String filter)
static HandleRef getCPtr(OdDbBaseHostAppServices obj)
virtual String getSubstituteFontByChar(OdFont pFont, char unicodeChar, OdRxObject pDb)
virtual OdResult setEnv(String varName, String newValue)
static HandleRef getCPtr(OdDbHostAppProgressMeter obj)
static HandleRef getCPtr(OdDbUndoController obj)
static HandleRef getCPtr(OdGsDevice obj)
Definition OdGsDevice.cs:25
static HandleRef getCPtr(OdRxClass obj)
Definition OdRxClass.cs:25
virtual void copyFrom(OdRxObject pSource)
static HandleRef getCPtr(OdRxObject obj)
Definition OdRxObject.cs:26
static HandleRef getCPtr(OdStreamBuf obj)
static HandleRef getCPtr(OdTtfDescriptor obj)
virtual OdDgDatabase readFile(String fileName, FileShareMode shareMode, bool partialLoad)
virtual bool setThumbnail(String filename, OdBinaryData dibData)
virtual bool getThumbnail(String filename, OdBinaryData dibData)
override String findFile(String filename, OdRxObject pDb, OdDbBaseHostAppServices.FindFileHint hint)
override String getPreferableFont(String fontName, OdFontType fontType)
override OdStreamBuf newUndoStream()
override OdGsDevice gsBitmapDevice()
virtual bool createThumbnail(String filename, OdBinaryData dibData)
override OdDbUndoController newUndoController()
override String getSubstituteFont(String fontName, OdFontType fontType)
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdDbBaseHostAppServices getDbHostAppServices()
virtual OdDgDatabase createDatabase()
delegate void SwigDelegateOdExDgnHostAppServices_7(global::System.IntPtr pProgressMeter)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_40(IntPtr pViewObj)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_57()
delegate void SwigDelegateOdExDgnHostAppServices_2(IntPtr pSource)
delegate String SwigDelegateOdExDgnHostAppServices_29(IntPtr pFont, char unicodeChar, IntPtr pDb)
delegate int SwigDelegateOdExDgnHostAppServices_11()
delegate void SwigDelegateOdExDgnHostAppServices_19(string warnVisGroup, int warningOb)
delegate String SwigDelegateOdExDgnHostAppServices_36(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_39(IntPtr pViewObj, IntPtr pDb)
delegate String SwigDelegateOdExDgnHostAppServices_20(uint errorCode)
override bool ttfFileNameByDescriptor(OdTtfDescriptor description, ref string filename)
delegate void SwigDelegateOdExDgnHostAppServices_59(int mtMode, int numThreads)
delegate String SwigDelegateOdExDgnHostAppServices_33(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption, [MarshalAs(UnmanagedType.LPWStr)]String defExt, [MarshalAs(UnmanagedType.LPWStr)]String defFilename, [MarshalAs(UnmanagedType.LPWStr)]String filter)
delegate String SwigDelegateOdExDgnHostAppServices_42()
delegate IntPtr SwigDelegateOdExDgnHostAppServices_53([MarshalAs(UnmanagedType.LPWStr)]String fileName)
delegate String SwigDelegateOdExDgnHostAppServices_25()
delegate String SwigDelegateOdExDgnHostAppServices_26()
delegate int SwigDelegateOdExDgnHostAppServices_45([MarshalAs(UnmanagedType.LPWStr)]String varName, [MarshalAs(UnmanagedType.LPWStr)]String newValue)
delegate String SwigDelegateOdExDgnHostAppServices_46(int unFormat)
delegate bool SwigDelegateOdExDgnHostAppServices_24(global::System.IntPtr description, IntPtr filename)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_51([MarshalAs(UnmanagedType.LPWStr)]String fileName, int shareMode, bool partialLoad)
delegate int SwigDelegateOdExDgnHostAppServices_43(int mtMode)
delegate void SwigDelegateOdExDgnHostAppServices_58(int newMode, bool bSet)
delegate bool SwigDelegateOdExDgnHostAppServices_56([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr dibData)
virtual void setNumThreads(MultiThreadedMode mtMode, int numThreads)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_0(IntPtr protocolClass)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_52([MarshalAs(UnmanagedType.LPWStr)]String fileName, int shareMode)
delegate String SwigDelegateOdExDgnHostAppServices_9()
delegate bool SwigDelegateOdExDgnHostAppServices_54([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr dibData)
delegate void SwigDelegateOdExDgnHostAppServices_32(global::System.IntPtr res, [MarshalAs(UnmanagedType.LPWStr)]String sPath)
delegate String SwigDelegateOdExDgnHostAppServices_10()
delegate String SwigDelegateOdExDgnHostAppServices_12()
virtual bool getMtMode(MultiThreadedMode uMode)
delegate int SwigDelegateOdExDgnHostAppServices_44([MarshalAs(UnmanagedType.LPWStr)]String varName, IntPtr value)
override void Dispose(bool disposing)
delegate void SwigDelegateOdExDgnHostAppServices_18(int warningOb)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_48()
delegate IntPtr SwigDelegateOdExDgnHostAppServices_22()
delegate int SwigDelegateOdExDgnHostAppServices_14()
static HandleRef getCPtr(OdExDgnHostAppServices obj)
delegate String SwigDelegateOdExDgnHostAppServices_35(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption, [MarshalAs(UnmanagedType.LPWStr)]String defExt)
delegate String SwigDelegateOdExDgnHostAppServices_28([MarshalAs(UnmanagedType.LPWStr)]String fontName, int fontType)
delegate String SwigDelegateOdExDgnHostAppServices_4([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr pDb)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_41()
delegate void SwigDelegateOdExDgnHostAppServices_16([MarshalAs(UnmanagedType.LPWStr)]String message)
delegate int SwigDelegateOdExDgnHostAppServices_13()
delegate IntPtr SwigDelegateOdExDgnHostAppServices_49(int defaultContent)
delegate String SwigDelegateOdExDgnHostAppServices_47()
delegate void SwigDelegateOdExDgnHostAppServices_31(global::System.IntPtr res, [MarshalAs(UnmanagedType.LPWStr)]String sPath, [MarshalAs(UnmanagedType.LPWStr)]String sFilter)
override void releaseProgressMeter(OdDbHostAppProgressMeter pProgressMeter)
override OdDbHostAppProgressMeter newProgressMeter()
delegate String SwigDelegateOdExDgnHostAppServices_8()
delegate void SwigDelegateOdExDgnHostAppServices_17(string warnVisGroup, [MarshalAs(UnmanagedType.LPWStr)]String message)
OdExDgnHostAppServices(IntPtr cPtr, bool cMemoryOwn)
delegate String SwigDelegateOdExDgnHostAppServices_37(int flags)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_1()
virtual void setMtMode(MultiThreadedMode newMode, bool bSet)
delegate void SwigDelegateOdExDgnHostAppServices_23(global::System.IntPtr pAuditInfo, [MarshalAs(UnmanagedType.LPWStr)]String strLine, int printDest)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_50()
delegate String SwigDelegateOdExDgnHostAppServices_27([MarshalAs(UnmanagedType.LPWStr)]String fontName, int fontType)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_21()
delegate String SwigDelegateOdExDgnHostAppServices_34(int flags, [MarshalAs(UnmanagedType.LPWStr)]String dialogCaption, [MarshalAs(UnmanagedType.LPWStr)]String defExt, [MarshalAs(UnmanagedType.LPWStr)]String defFilename)
delegate String SwigDelegateOdExDgnHostAppServices_3([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr pDb, int hint)
delegate IntPtr SwigDelegateOdExDgnHostAppServices_38(IntPtr pViewObj, IntPtr pDb, UInt32 flags)
delegate global::System.IntPtr SwigDelegateOdExDgnHostAppServices_6()
delegate String SwigDelegateOdExDgnHostAppServices_15()
delegate bool SwigDelegateOdExDgnHostAppServices_55([MarshalAs(UnmanagedType.LPWStr)]String filename, IntPtr dibData)
delegate String SwigDelegateOdExDgnHostAppServices_5([MarshalAs(UnmanagedType.LPWStr)]String filename)
delegate bool SwigDelegateOdExDgnHostAppServices_30(global::System.IntPtr aDirs)
static string getRealClassName(IntPtr ptr)
override int numThreads(MultiThreadedMode mtMode)
static global::System.Exception Retrieve()
static void delete_OdExDgnHostAppServices(HandleRef jarg1)
static string OdExDgnHostAppServices_getRealClassName(IntPtr jarg1)
static int OdExDgnHostAppServices_numThreads(HandleRef jarg1, int jarg2)
static bool OdExDgnHostAppServices_ttfFileNameByDescriptor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3)
static void OdExDgnHostAppServices_setNumThreads(HandleRef jarg1, int jarg2, int jarg3)
static bool OdExDgnHostAppServices_ttfFileNameByDescriptorSwigExplicitOdExDgnHostAppServices(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3)
static void OdExDgnHostAppServices_setNumThreadsSwigExplicitOdExDgnHostAppServices(HandleRef jarg1, int jarg2, int jarg3)
static int OdExDgnHostAppServices_numThreadsSwigExplicitOdExDgnHostAppServices(HandleRef jarg1, int jarg2)
static bool OdExDgnHostAppServices_getMtMode(HandleRef jarg1, int jarg2)
static global::System.IntPtr OdExDgnHostAppServices_newProgressMeterSwigExplicitOdExDgnHostAppServices(HandleRef jarg1)
static void OdExDgnHostAppServices_setMtModeSwigExplicitOdExDgnHostAppServices(HandleRef jarg1, int jarg2, bool jarg3)
static void OdExDgnHostAppServices_setMtMode(HandleRef jarg1, int jarg2, bool jarg3)
static void OdExDgnHostAppServices_releaseProgressMeter(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdExDgnHostAppServices_newProgressMeter(HandleRef jarg1)
static void OdExDgnHostAppServices_disableProgressMeterOutput(HandleRef jarg1, bool jarg2)
static void OdExDgnHostAppServices_releaseProgressMeterSwigExplicitOdExDgnHostAppServices(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdExDgnHostAppServices_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_0 delegate0, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_1 delegate1, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_2 delegate2, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_3 delegate3, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_4 delegate4, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_5 delegate5, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_6 delegate6, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_7 delegate7, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_8 delegate8, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_9 delegate9, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_10 delegate10, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_11 delegate11, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_12 delegate12, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_13 delegate13, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_14 delegate14, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_15 delegate15, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_16 delegate16, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_17 delegate17, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_18 delegate18, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_19 delegate19, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_20 delegate20, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_21 delegate21, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_22 delegate22, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_23 delegate23, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_24 delegate24, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_25 delegate25, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_26 delegate26, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_27 delegate27, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_28 delegate28, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_29 delegate29, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_30 delegate30, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_31 delegate31, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_32 delegate32, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_33 delegate33, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_34 delegate34, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_35 delegate35, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_36 delegate36, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_37 delegate37, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_38 delegate38, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_39 delegate39, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_40 delegate40, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_41 delegate41, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_42 delegate42, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_43 delegate43, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_44 delegate44, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_45 delegate45, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_46 delegate46, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_47 delegate47, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_48 delegate48, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_49 delegate49, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_50 delegate50, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_51 delegate51, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_52 delegate52, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_53 delegate53, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_54 delegate54, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_55 delegate55, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_56 delegate56, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_57 delegate57, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_58 delegate58, OdExDgnHostAppServices.SwigDelegateOdExDgnHostAppServices_59 delegate59)