Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbDate.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDbDate : OdTimeStamp {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbDate(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbDate_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbDate 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 OdDbDate() : this(TD_DbPINVOKE.new_OdDbDate__SWIG_0(), true) {
45 }
46
47 public OdDbDate(OdTimeStamp tStamp) : this(TD_DbPINVOKE.new_OdDbDate__SWIG_1(OdTimeStamp.getCPtr(tStamp)), true) {
49 }
50
51 public OdDbDate(OdTimeStamp.InitialValue init) : this(TD_DbPINVOKE.new_OdDbDate__SWIG_2((int)init), true) {
53 }
54
55 public OdDbDate Assign(OdTimeStamp tStamp) {
56 OdDbDate ret = new OdDbDate(TD_DbPINVOKE.OdDbDate_Assign(swigCPtr, OdTimeStamp.getCPtr(tStamp)), true);
58 return ret;
59 }
60
61 public void dwgIn(OdDbDwgFiler pFiler) {
64 }
65
66 public void dwgOut(OdDbDwgFiler pFiler) {
69 }
70
71}
72
73}
static HandleRef getCPtr(OdTimeStamp obj)
Definition: OdTimeStamp.cs:26
override void Dispose(bool disposing)
Definition: OdDbDate.cs:30
OdDbDate(OdTimeStamp.InitialValue init)
Definition: OdDbDate.cs:51
void dwgIn(OdDbDwgFiler pFiler)
Definition: OdDbDate.cs:61
OdDbDate(OdTimeStamp tStamp)
Definition: OdDbDate.cs:47
OdDbDate Assign(OdTimeStamp tStamp)
Definition: OdDbDate.cs:55
static HandleRef getCPtr(OdDbDate obj)
Definition: OdDbDate.cs:26
OdDbDate(IntPtr cPtr, bool cMemoryOwn)
Definition: OdDbDate.cs:21
void dwgOut(OdDbDwgFiler pFiler)
Definition: OdDbDate.cs:66
static HandleRef getCPtr(OdDbDwgFiler obj)
Definition: OdDbDwgFiler.cs:26
static global::System.Exception Retrieve()
static void delete_OdDbDate(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbDate_dwgOut(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdDbDate_dwgIn(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbDate_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)