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();
104 IntPtr tmp_pCategoryDefinition = pCategoryDefinition ==
null ? IntPtr.Zero :
OdCategoryDefinition.
getCPtr(pCategoryDefinition).Handle;
105 IntPtr saved_pCategoryDefinition = tmp_pCategoryDefinition;
112if(tmp_pCategoryDefinition == IntPtr.Zero) pCategoryDefinition =
null;
113 if(tmp_pCategoryDefinition != IntPtr.Zero && tmp_pCategoryDefinition != saved_pCategoryDefinition)
115 MemoryTransaction mTrans_pCategoryDefinition = MemoryManager.GetMemoryManager().GetCurrentTransaction();
116 if(mTrans_pCategoryDefinition !=
null)
143IntPtr tmp_sCode = Marshal.StringToCoTaskMemUni(sCode);
144 IntPtr saved_sCode = tmp_sCode;
150if (tmp_sCode != saved_sCode) sCode = Marshal.PtrToStringUni(tmp_sCode);
static global::System.Exception Retrieve()
static IntPtr OdCategoryDefinition_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdCategoryDefinition_contains(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, out bool jarg3)
static int OdCategoryDefinition_loadAll__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdCategoryDefinition_getAt(HandleRef jarg1, UInt32 jarg2, ref IntPtr jarg3)
static IntPtr OdCategoryDefinition_cast(HandleRef jarg1)
static int OdCategoryDefinition_add(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static int OdCategoryDefinition_remove__SWIG_1_0(HandleRef jarg1)
static int OdCategoryDefinition_remove__SWIG_0(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static int OdCategoryDefinition_load([MarshalAs(UnmanagedType.LPWStr)]String jarg1, ref IntPtr jarg2)
static int OdCategoryDefinition_loadAll__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdCategoryDefinition_getCount(HandleRef jarg1, out UInt32 jarg2)
static IntPtr OdCategoryDefinition_desc()
static IntPtr OdCategoryDefinition_createObject()
static int OdCategoryDefinition_clear(HandleRef jarg1)
static void delete_OdCategoryDefinition(HandleRef jarg1)
static IntPtr OdCategoryDefinition_isA(HandleRef jarg1)
static string OdCategoryDefinition_getRealClassName(IntPtr jarg1)
static bool OdCategoryDefinition_isLegalCode([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
OdResult contains(String sCode, out bool bContains)
static OdCategoryDefinition cast(OdRxObject pObj)
override OdRxObject queryX(OdRxClass protocolClass)
static OdResult loadAll(SWIGTYPE_p_OdArrayT_OdSmartPtrT_OdSpatialReference__OdCategoryDefinition_t_t arrCD)
static OdResult loadAll(String sCsCode, SWIGTYPE_p_OdArrayT_OdSmartPtrT_OdSpatialReference__OdCategoryDefinition_t_t arrCD)
static OdResult load(String sCode, ref OdCategoryDefinition pCategoryDefinition)
OdCategoryDefinition(IntPtr cPtr, bool cMemoryOwn)
static new OdRxClass desc()
OdResult getAt(UInt32 uIndex, ref string sCode)
static string getRealClassName(IntPtr ptr)
static HandleRef getCPtr(OdCategoryDefinition obj)
override void Dispose(bool disposing)
OdResult add(String sCode)
OdResult getCount(out UInt32 uCount)
static bool isLegalCode(String sCode)
static OdCategoryDefinition createObject()
static HandleRef getCPtr(OdRxClass obj)
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdRxObject obj)