18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 : this(
TD_DbPINVOKE.new_OdDbObjectOverrule(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
52 SwigDirectorConnect();
53 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
136 MemoryManager mMan = MemoryManager.GetMemoryManager();
137 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
156 MemoryManager mMan = MemoryManager.GetMemoryManager();
157 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
176 MemoryManager mMan = MemoryManager.GetMemoryManager();
177 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
196 MemoryManager mMan = MemoryManager.GetMemoryManager();
197 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
221 private void SwigDirectorConnect() {
222 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
224 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
226 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
228 if (SwigDerivedClassHasMethod(
"isApplicable", swigMethodTypes3))
230 if (SwigDerivedClassHasMethod(
"open", swigMethodTypes4))
232 if (SwigDerivedClassHasMethod(
"close", swigMethodTypes5))
234 if (SwigDerivedClassHasMethod(
"erase", swigMethodTypes6))
236 if (SwigDerivedClassHasMethod(
"deepClone", swigMethodTypes7))
238 if (SwigDerivedClassHasMethod(
"deepClone", swigMethodTypes8))
240 if (SwigDerivedClassHasMethod(
"wblockClone", swigMethodTypes9))
242 if (SwigDerivedClassHasMethod(
"wblockClone", swigMethodTypes10))
244 TD_DbPINVOKE.
OdDbObjectOverrule_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
247 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
248 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
249 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdDbObjectOverrule));
250 return hasDerivedMethod;
253 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
262 private IntPtr SwigDirectorMethodisA() {
269 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
275 private bool SwigDirectorMethodisApplicable(IntPtr pOverruledSubject) {
281 private int SwigDirectorMethodopen(IntPtr pSubject,
int mode) {
283 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pSubject,
false)
287 private int SwigDirectorMethodclose(IntPtr pSubject) {
289 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pSubject,
false)
293 private int SwigDirectorMethoderase(IntPtr pSubject,
bool erasing) {
295 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pSubject,
false)
299 private IntPtr SwigDirectorMethoddeepClone__SWIG_0(IntPtr pSubject, IntPtr idMap, IntPtr pOwner,
bool bPrimary) {
301 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pSubject,
false)
303 (OdDbIdMapping)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbIdMapping),idMap,
false)
305 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pOwner,
false)
309 private IntPtr SwigDirectorMethoddeepClone__SWIG_1(IntPtr pSubject, IntPtr idMap, IntPtr pOwner) {
311 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pSubject,
false)
313 (OdDbIdMapping)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbIdMapping),idMap,
false)
315 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pOwner,
false)
319 private IntPtr SwigDirectorMethodwblockClone__SWIG_0(IntPtr pSubject, IntPtr idMap, IntPtr pOwner,
bool bPrimary) {
321 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pSubject,
false)
323 (OdDbIdMapping)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbIdMapping),idMap,
false)
325 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pOwner,
false)
329 private IntPtr SwigDirectorMethodwblockClone__SWIG_1(IntPtr pSubject, IntPtr idMap, IntPtr pOwner) {
331 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pSubject,
false)
333 (OdDbIdMapping)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbIdMapping),idMap,
false)
335 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pOwner,
false)
363 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
364 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
365 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
366 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(
OdRxObject) };
367 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbObject), typeof(
OpenMode) };
368 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbObject) };
369 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDbObject), typeof(
bool) };
370 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdDbObject), typeof(OdDbIdMapping), typeof(OdDbObject), typeof(
bool) };
371 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdDbObject), typeof(OdDbIdMapping), typeof(OdDbObject) };
372 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(OdDbObject), typeof(OdDbIdMapping), typeof(OdDbObject), typeof(
bool) };
373 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(OdDbObject), typeof(OdDbIdMapping), typeof(OdDbObject) };