14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 swigCPtr =
new HandleRef(
this, cPtr);
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
105 IntPtr saved_pGeodeticPathDefinition = tmp_pGeodeticPathDefinition;
112if(tmp_pGeodeticPathDefinition == IntPtr.Zero) pGeodeticPathDefinition =
null;
113 if(tmp_pGeodeticPathDefinition != IntPtr.Zero && tmp_pGeodeticPathDefinition != saved_pGeodeticPathDefinition)
115 MemoryTransaction mTrans_pGeodeticPathDefinition = MemoryManager.GetMemoryManager().GetCurrentTransaction();
116 if(mTrans_pGeodeticPathDefinition !=
null)
131IntPtr tmp_sSourceDatum = Marshal.StringToCoTaskMemUni(sSourceDatum);
132 IntPtr saved_sSourceDatum = tmp_sSourceDatum;
138if (tmp_sSourceDatum != saved_sSourceDatum) sSourceDatum = Marshal.PtrToStringUni(tmp_sSourceDatum);
149IntPtr tmp_sTargetDatum = Marshal.StringToCoTaskMemUni(sTargetDatum);
150 IntPtr saved_sTargetDatum = tmp_sTargetDatum;
156if (tmp_sTargetDatum != saved_sTargetDatum) sTargetDatum = Marshal.PtrToStringUni(tmp_sTargetDatum);
191IntPtr tmp_sGroup = Marshal.StringToCoTaskMemUni(sGroup);
192 IntPtr saved_sGroup = tmp_sGroup;
198if (tmp_sGroup != saved_sGroup) sGroup = Marshal.PtrToStringUni(tmp_sGroup);
static global::System.Exception Retrieve()
static bool OdGeodeticPathDefinition_isLegalGroup([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static int OdGeodeticPathDefinition_getIsReversible(HandleRef jarg1, out bool jarg2)
static IntPtr OdGeodeticPathDefinition_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdGeodeticPathDefinition_setEpsgVariant(HandleRef jarg1, Int16 jarg2)
static int OdGeodeticPathDefinition_getTargetDatum(HandleRef jarg1, ref IntPtr jarg2)
static IntPtr OdGeodeticPathDefinition_cast(HandleRef jarg1)
static int OdGeodeticPathDefinition_loadAll(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGeodeticPathDefinition_isA(HandleRef jarg1)
static bool OdGeodeticPathDefinition_isLegalSource([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static int OdGeodeticPathDefinition_getEpsgCode(HandleRef jarg1, out Int16 jarg2)
static int OdGeodeticPathDefinition_setAccuracy(HandleRef jarg1, double jarg2)
static string OdGeodeticPathDefinition_getRealClassName(IntPtr jarg1)
static IntPtr OdGeodeticPathDefinition_createObject()
static int OdGeodeticPathDefinition_setPathElements(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeodeticPathDefinition_setIsReversible(HandleRef jarg1, bool jarg2)
static int OdGeodeticPathDefinition_getGroup(HandleRef jarg1, ref IntPtr jarg2)
static int OdGeodeticPathDefinition_setGroup(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void delete_OdGeodeticPathDefinition(HandleRef jarg1)
static int OdGeodeticPathDefinition_getAccuracy(HandleRef jarg1, out double jarg2)
static int OdGeodeticPathDefinition_getSourceDatum(HandleRef jarg1, ref IntPtr jarg2)
static bool OdGeodeticPathDefinition_isLegalCode([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static int OdGeodeticPathDefinition_setEpsgCode(HandleRef jarg1, Int16 jarg2)
static int OdGeodeticPathDefinition_getEpsgVariant(HandleRef jarg1, out Int16 jarg2)
static int OdGeodeticPathDefinition_setSourceDatum(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static IntPtr OdGeodeticPathDefinition_desc()
static int OdGeodeticPathDefinition_load([MarshalAs(UnmanagedType.LPWStr)]String jarg1, ref IntPtr jarg2)
static int OdGeodeticPathDefinition_getPathElements(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdGeodeticPathDefinition_setTargetDatum(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool OdGeodeticPathDefinition_isLegalDescription([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
OdResult getTargetDatum(ref string sTargetDatum)
override void Dispose(bool disposing)
OdResult getIsReversible(out bool bIsReversible)
static bool isLegalSource(String sSource)
OdResult setEpsgCode(Int16 nEpsgCode)
OdGeodeticPathDefinition(IntPtr cPtr, bool cMemoryOwn)
static string getRealClassName(IntPtr ptr)
static OdGeodeticPathDefinition createObject()
static bool isLegalCode(String sCode)
OdResult getEpsgCode(out Int16 nEpsgCode)
static bool isLegalDescription(String sDescription)
static HandleRef getCPtr(OdGeodeticPathDefinition obj)
OdResult getEpsgVariant(out Int16 nEpsgVariant)
OdResult getSourceDatum(ref string sSourceDatum)
OdResult setAccuracy(double dAccuracy)
OdResult setTargetDatum(String sTargetDatum)
OdResult getGroup(ref string sGroup)
override OdRxObject queryX(OdRxClass protocolClass)
static OdResult loadAll(SWIGTYPE_p_OdArrayT_OdSmartPtrT_OdSpatialReference__OdGeodeticPathDefinition_t_t arrGeodeticPathDefinition)
OdResult setPathElements(SWIGTYPE_p_OdArrayT_OdSmartPtrT_OdSpatialReference__OdGeodeticPathElement_t_t arrPathElements)
static new OdRxClass desc()
OdResult getPathElements(SWIGTYPE_p_OdArrayT_OdSmartPtrT_OdSpatialReference__OdGeodeticPathElement_t_t arrPathElements)
static OdGeodeticPathDefinition cast(OdRxObject pObj)
static bool isLegalGroup(String sGroup)
OdResult setSourceDatum(String sSourceDatum)
OdResult getAccuracy(out double dAccuracy)
OdResult setEpsgVariant(Int16 nEpsgVariant)
static OdResult load(String sCode, ref OdGeodeticPathDefinition pGeodeticPathDefinition)
OdResult setIsReversible(bool bIsReversible)
OdResult setGroup(String sGroup)
static HandleRef getCPtr(OdRxClass obj)
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdRxObject obj)