Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsBlockReferenceNodeImpl.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 OdGsBlockReferenceNodeImpl : 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 OdGsBlockReferenceNodeImpl(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(OdGsBlockReferenceNodeImpl 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;
44 GlobalsPINVOKE.deletePD_OdGsBlockReferenceNodeImpl(swigCPtr); // PROTECTED_DTOR_CSHARP
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public virtual bool invalidate(OdGsContainerNode pParent, OdGsViewImpl pView, UInt32 /*SIMPLETYPE*/ mask) {
52 bool ret = GlobalsPINVOKE.OdGsBlockReferenceNodeImpl_invalidate(swigCPtr, OdGsContainerNode.getCPtr(pParent), OdGsViewImpl.getCPtr(pView), mask /*SIMPLETYPE*/);
54 return ret;
55 }
56
57 public virtual bool destroy() {
60 return ret;
61 }
62
63 public virtual bool destroySubitems() {
66 return ret;
67 }
68
69 public virtual bool select(OdGsBaseVectorizer view, OdSiRecursiveVisitor pVisitor, bool bHasExtents, OdGsView.SelectionMode mode) {
70 bool ret = GlobalsPINVOKE.OdGsBlockReferenceNodeImpl_select(swigCPtr, OdGsBaseVectorizer.getCPtr(view), OdSiRecursiveVisitor.getCPtr(pVisitor), bHasExtents, (int)mode);
72 return ret;
73 }
74
75 public virtual void highlight(bool bDoIt, bool bWholeBranch, UInt32 /*SIMPLETYPE*/ nSelStyle) {
76 GlobalsPINVOKE.OdGsBlockReferenceNodeImpl_highlight__SWIG_0(swigCPtr, bDoIt, bWholeBranch, nSelStyle /*SIMPLETYPE*/);
78 }
79
80 public virtual void highlight(bool bDoIt, bool bWholeBranch) {
83 }
84
85 public virtual OdGsEntityNode firstEntity() {
86 OdGsEntityNode ret = (OdGsEntityNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsEntityNode),GlobalsPINVOKE.OdGsBlockReferenceNodeImpl_firstEntity(swigCPtr),false); /*createInt 3_2*/
87
89 return ret;
90}
91
92 public virtual void playAsGeometry(OdGsBaseVectorizer view, EMetafilePlayMode eMode) {
95 }
96
97 public virtual bool isSharedReference() {
100 return ret;
101 }
102
103 public virtual bool isSharedDefinition() {
106 return ret;
107 }
108
109 public virtual bool layersChanged(OdGsViewImpl view) {
112 return ret;
113 }
114
115 public virtual void makeStock() {
118 }
119
120 public virtual void releaseStock() {
123 }
124
125 public virtual void propagateLayerChangesStock() {
128 }
129
130 public virtual bool saveNodeImplState(OdGsFiler pFiler, OdGsBaseVectorizer pVectorizer) {
133 return ret;
134 }
135
136 public virtual bool loadNodeImplState(OdGsFiler pFiler, OdGsBaseVectorizer pVectorizer, OdGsBaseModel pModel) {
139 return ret;
140 }
141
142 public virtual void postprocessNodeImplLoading(OdGsFiler arg0) {
145 }
146
147}
148
149}
static global::System.Exception Retrieve()
static void OdGsBlockReferenceNodeImpl_postprocessNodeImplLoading(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdGsBlockReferenceNodeImpl_playAsGeometry(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static bool OdGsBlockReferenceNodeImpl_destroy(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsBlockReferenceNodeImpl_makeStock(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsBlockReferenceNodeImpl_highlight__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, bool jarg3)
static bool OdGsBlockReferenceNodeImpl_layersChanged(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGsBlockReferenceNodeImpl_firstEntity(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGsBlockReferenceNodeImpl_invalidate(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, UInt32 jarg4)
static bool OdGsBlockReferenceNodeImpl_isSharedReference(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGsBlockReferenceNodeImpl_select(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4, int jarg5)
static bool OdGsBlockReferenceNodeImpl_isSharedDefinition(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr deletePD_OdGsBlockReferenceNodeImpl(HandleRef jarg1)
static void OdGsBlockReferenceNodeImpl_propagateLayerChangesStock(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGsBlockReferenceNodeImpl_destroySubitems(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsBlockReferenceNodeImpl_releaseStock(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsBlockReferenceNodeImpl_highlight__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, bool jarg3, UInt32 jarg4)
static bool OdGsBlockReferenceNodeImpl_saveNodeImplState(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGsBlockReferenceNodeImpl_loadNodeImplState(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, HandleRef jarg4)
static HandleRef getCPtr(OdGsBaseModel obj)
static HandleRef getCPtr(OdGsBaseVectorizer obj)
static HandleRef getCPtr(OdGsBlockReferenceNodeImpl obj)
virtual bool invalidate(OdGsContainerNode pParent, OdGsViewImpl pView, UInt32 mask)
virtual bool layersChanged(OdGsViewImpl view)
virtual void postprocessNodeImplLoading(OdGsFiler arg0)
virtual bool loadNodeImplState(OdGsFiler pFiler, OdGsBaseVectorizer pVectorizer, OdGsBaseModel pModel)
OdGsBlockReferenceNodeImpl(IntPtr cPtr, bool cMemoryOwn)
virtual void highlight(bool bDoIt, bool bWholeBranch)
virtual void highlight(bool bDoIt, bool bWholeBranch, UInt32 nSelStyle)
virtual bool select(OdGsBaseVectorizer view, OdSiRecursiveVisitor pVisitor, bool bHasExtents, OdGsView.SelectionMode mode)
virtual void playAsGeometry(OdGsBaseVectorizer view, EMetafilePlayMode eMode)
virtual bool saveNodeImplState(OdGsFiler pFiler, OdGsBaseVectorizer pVectorizer)
static HandleRef getCPtr(OdGsContainerNode obj)
static HandleRef getCPtr(OdGsFiler obj)
Definition: OdGsFiler.cs:25
static HandleRef getCPtr(OdGsViewImpl obj)
Definition: OdGsViewImpl.cs:26
static HandleRef getCPtr(OdSiRecursiveVisitor obj)