14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
24 swigCPtr =
new HandleRef(
this, cPtr);
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
37 global::System.GC.SuppressFinalize(
this);
40 protected virtual void Dispose(
bool disposing) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
47 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
53IntPtr tmp_sValue = Marshal.StringToCoTaskMemUni(sValue);
54 IntPtr saved_sValue = tmp_sValue;
60if (tmp_sValue != saved_sValue) sValue = Marshal.PtrToStringUni(tmp_sValue);
64 public virtual void getUnits(Int32 pAngularUnits, Int32 pAngularPrec, Int32 pLinearUnits, Int32 pLinearPrec, Int32 pDimzin, Int32 pUnitMode) {
70IntPtr tmp_sValue = Marshal.StringToCoTaskMemUni(sValue);
71 IntPtr saved_sValue = tmp_sValue;
77if (tmp_sValue != saved_sValue) sValue = Marshal.PtrToStringUni(tmp_sValue);
82IntPtr tmp_sValue = Marshal.StringToCoTaskMemUni(sValue);
83 IntPtr saved_sValue = tmp_sValue;
89if (tmp_sValue != saved_sValue) sValue = Marshal.PtrToStringUni(tmp_sValue);
virtual bool getSystemVariable(String sName, ref string sValue)
static HandleRef getCPtr(OdDieselService obj)
virtual bool getDrawingProperty(String sName, ref string sValue)
virtual void getUnits(Int32 pAngularUnits, Int32 pAngularPrec, Int32 pLinearUnits, Int32 pLinearPrec, Int32 pDimzin, Int32 pUnitMode)
OdDieselService(IntPtr cPtr, bool cMemoryOwn)
virtual bool getEnvironmentVariable(String sName, ref string sValue)
virtual void Dispose(bool disposing)
static global::System.Exception Retrieve()
static bool OdDieselService_getDrawingProperty(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, ref IntPtr jarg3)
static bool OdDieselService_getEnvironmentVariable(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, ref IntPtr jarg3)
static bool OdDieselService_getSystemVariable(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, ref IntPtr jarg3)
static void OdDieselService_getUnits(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2, Int32 jarg3, Int32 jarg4, Int32 jarg5, Int32 jarg6, Int32 jarg7)
static void delete_OdDieselService(global::System.Runtime.InteropServices.HandleRef jarg1)