Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGsViewLocalId.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdGsViewLocalId : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdGsViewLocalId(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdGsViewLocalId obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public OdGsViewLocalId(OdGsViewImpl pView) : this(GlobalsPINVOKE.new_OdGsViewLocalId__SWIG_0(OdGsViewImpl.getCPtr(pView)), true) {
53 }
54
55 public OdGsViewLocalId() : this(GlobalsPINVOKE.new_OdGsViewLocalId__SWIG_1(), true) {
57 }
58
63
64 public OdGsViewImpl view() {
65 OdGsViewImpl ret = (OdGsViewImpl)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsViewImpl),GlobalsPINVOKE.OdGsViewLocalId_view(swigCPtr),false); /*createInt 3_2*/
66
68 return ret;
69}
70
71 public UInt32 localViewportId(OdGsBaseModel pModel) {
72// test csout
73 /*SIMPLETYPE*/
76 return ret;
77 }
78
79 public UInt32 getLocalViewportId(OdGsBaseModel pModel) {
80// test csout
81 /*SIMPLETYPE*/
84 return ret;
85 }
86
91
92}
93
94}
static global::System.Exception Retrieve()
static UInt32 OdGsViewLocalId_localViewportId(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGsViewLocalId_reset(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGsViewLocalId_view(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGsViewLocalId(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGsViewLocalId_getLocalViewportId(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGsViewLocalId_setView(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static HandleRef getCPtr(OdGsBaseModel obj)
static HandleRef getCPtr(OdGsViewImpl obj)
void setView(OdGsViewImpl pView)
static HandleRef getCPtr(OdGsViewLocalId obj)
OdGsViewLocalId(OdGsViewImpl pView)
OdGsViewLocalId(IntPtr cPtr, bool cMemoryOwn)
UInt32 localViewportId(OdGsBaseModel pModel)
virtual void Dispose(bool disposing)
UInt32 getLocalViewportId(OdGsBaseModel pModel)