Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgPointSymbolResource.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 OdDgPointSymbolResource(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgPointSymbolResource_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgPointSymbolResource 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
43 public static OdDgPointSymbolResource cast(OdRxObject pObj) {// OdSmartPtr<OdDgPointSymbolResource>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDgPointSymbolResource ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDgPointSymbolResource)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointSymbolResource),ptr, true));
52 ret = (OdDgPointSymbolResource)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointSymbolResource),ptr, false);
53 }
54 else
55 {
56 ret = (OdDgPointSymbolResource)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointSymbolResource),ptr, true);
57 }
58
60 return ret;
61}
62
63 public new static OdRxClass desc() {
64 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgPointSymbolResource_desc(),false); /*createInt 3_2*/
65
67 return ret;
68}
69
70 public override OdRxClass isA() {
71 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgPointSymbolResource_isA(swigCPtr),false); /*createInt 3_2*/
72
74 return ret;
75}
76
77 public override OdRxObject queryX(OdRxClass protocolClass) {
78 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TG_DbPINVOKE.OdDgPointSymbolResource_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDgPointSymbolResource createObject() {// OdSmartPtr<OdDgPointSymbolResource>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDgPointSymbolResource ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDgPointSymbolResource)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointSymbolResource),ptr, true));
93 ret = (OdDgPointSymbolResource)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointSymbolResource),ptr, false);
94 }
95 else
96 {
97 ret = (OdDgPointSymbolResource)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgPointSymbolResource),ptr, true);
98 }
99
101 return ret;
102}
103
104 public override void dgnInFields(OdDgFiler pFiler, UInt32 /*SIMPLETYPE*/ dataSize) {
105 TG_DbPINVOKE.OdDgPointSymbolResource_dgnInFields(swigCPtr, OdDgFiler.getCPtr(pFiler), dataSize /*SIMPLETYPE*/);
107 }
108
109 public override void dgnOutFields(OdDgFiler pFiler) {
112 }
113
114 public override UInt16 getType() {
115// test csout
116 /*SIMPLETYPE*/
117 UInt16 ret = TG_DbPINVOKE.OdDgPointSymbolResource_getType(swigCPtr);
119 return ret;
120 }
121
122 public override UInt16 getRawDataSize() {
123// test csout
124 /*SIMPLETYPE*/
127 return ret;
128 }
129
133 return ret;
134}
135
136 public void setDescription(String strDescription) {
139 }
140
144 return ret;
145 }
146
147 public void setSymbolOffset(OdGePoint3d ptOffset) {
150 }
151
152 public double getSymbolScale() {
155 return ret;
156 }
157
158 public void setSymbolScale(double dScale) {
161 }
162
164// test csout
165 /*SIMPLETYPE*/
168 return ret;
169 }
170
171 public void setDependedCellHeaderHandle(UInt64 /*SIMPLETYPE*/ idHandle) {
172 TG_DbPINVOKE.OdDgPointSymbolResource_setDependedCellHeaderHandle(swigCPtr, idHandle /*SIMPLETYPE*/);
174 }
175
179 return ret;
180 }
181
182 public void setSymbolExtents(OdGeExtents3d extSymbol) {
185 }
186
187 public void getSymbolBuffer(OdBinaryData symbolData) {
190 }
191
192 public void setSymbolBuffer(OdBinaryData symbolData) {
195 }
196
197 public bool getSymbol3DFlag() {
200 return ret;
201 }
202
203 public void setSymbol3DFlag(bool bSet) {
206 }
207
208 public OdDgElementId getCell(OdDgDatabase pDb, UInt32 /*SIMPLETYPE*/ symbolEntryId, bool bV7Symbol) {
209 OdDgElementId ret = new OdDgElementId(TG_DbPINVOKE.OdDgPointSymbolResource_getCell(swigCPtr, OdDgDatabase.getCPtr(pDb), symbolEntryId /*SIMPLETYPE*/, bV7Symbol), true);
211 return ret;
212 }
213
214 public override void scaleResource(double dScale) {
217 }
218
219 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
220 string ret = TG_DbPINVOKE.OdDgPointSymbolResource_getRealClassName(ptr /*SIMPLETYPE*/);
222 return ret;
223 }
224
225}
226
227}
static HandleRef getCPtr(OdBinaryData obj)
Definition: OdBinaryData.cs:25
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdDgDatabase obj)
Definition: OdDgDatabase.cs:26
static HandleRef getCPtr(OdDgFiler obj)
Definition: OdDgFiler.cs:26
OdDgPointSymbolResource(IntPtr cPtr, bool cMemoryOwn)
override OdRxObject queryX(OdRxClass protocolClass)
static OdDgPointSymbolResource cast(OdRxObject pObj)
void setSymbolBuffer(OdBinaryData symbolData)
static HandleRef getCPtr(OdDgPointSymbolResource obj)
OdDgElementId getCell(OdDgDatabase pDb, UInt32 symbolEntryId, bool bV7Symbol)
void getSymbolBuffer(OdBinaryData symbolData)
static string getRealClassName(IntPtr ptr)
void setDescription(String strDescription)
void setDependedCellHeaderHandle(UInt64 idHandle)
override void Dispose(bool disposing)
static new OdDgPointSymbolResource createObject()
override void scaleResource(double dScale)
void setSymbolExtents(OdGeExtents3d extSymbol)
override void dgnOutFields(OdDgFiler pFiler)
void setSymbolOffset(OdGePoint3d ptOffset)
override void dgnInFields(OdDgFiler pFiler, UInt32 dataSize)
static global::System.Exception Retrieve()
static void OdDgPointSymbolResource_setSymbolOffset(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgPointSymbolResource_setSymbol3DFlag(HandleRef jarg1, bool jarg2)
static void OdDgPointSymbolResource_setDependedCellHeaderHandle(HandleRef jarg1, UInt64 jarg2)
static IntPtr OdDgPointSymbolResource_desc()
static IntPtr OdDgPointSymbolResource_queryX(HandleRef jarg1, HandleRef jarg2)
static String OdDgPointSymbolResource_getDescription(HandleRef jarg1)
static IntPtr OdDgPointSymbolResource_cast(HandleRef jarg1)
static global::System.IntPtr OdDgPointSymbolResource_getSymbolExtents(HandleRef jarg1)
static void OdDgPointSymbolResource_dgnOutFields(HandleRef jarg1, HandleRef jarg2)
static double OdDgPointSymbolResource_getSymbolScale(HandleRef jarg1)
static void OdDgPointSymbolResource_setSymbolScale(HandleRef jarg1, double jarg2)
static UInt64 OdDgPointSymbolResource_getDependedCellHeaderHandle(HandleRef jarg1)
static IntPtr OdDgPointSymbolResource_createObject()
static bool OdDgPointSymbolResource_getSymbol3DFlag(HandleRef jarg1)
static void OdDgPointSymbolResource_getSymbolBuffer(HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdDgPointSymbolResource_getCell(HandleRef jarg1, HandleRef jarg2, UInt32 jarg3, bool jarg4)
static IntPtr OdDgPointSymbolResource_isA(HandleRef jarg1)
static void OdDgPointSymbolResource_scaleResource(HandleRef jarg1, double jarg2)
static void OdDgPointSymbolResource_setSymbolBuffer(HandleRef jarg1, IntPtr jarg2)
static void OdDgPointSymbolResource_setDescription(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static UInt16 OdDgPointSymbolResource_getRawDataSize(HandleRef jarg1)
static void OdDgPointSymbolResource_setSymbolExtents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdDgPointSymbolResource(HandleRef jarg1)
static string OdDgPointSymbolResource_getRealClassName(IntPtr jarg1)
static UInt16 OdDgPointSymbolResource_getType(HandleRef jarg1)
static global::System.IntPtr OdDgPointSymbolResource_getSymbolOffset(HandleRef jarg1)
static void OdDgPointSymbolResource_dgnInFields(HandleRef jarg1, HandleRef jarg2, UInt32 jarg3)