internal static global::System.Runtime.InteropServices.HandleRef getCPtr(treeT obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
public treeT getTree() { treeT ret = new treeT(ScidPINVOKE.cachedTreeT_getTree(swigCPtr), false); return ret; }
public bool Add(SWIGTYPE_p_Position pos, treeT tree, SWIGTYPE_p_Filter filter) { bool ret = ScidPINVOKE.TreeCache_Add(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos), treeT.getCPtr(tree), SWIGTYPE_p_Filter.getCPtr(filter)); return ret; }
public void set(SWIGTYPE_p_Position pos, treeT tree, SWIGTYPE_p_Filter filter, SWIGTYPE_p_uint32_t time) { ScidPINVOKE.cachedTreeT_set(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos), treeT.getCPtr(tree), SWIGTYPE_p_Filter.getCPtr(filter), SWIGTYPE_p_uint32_t.getCPtr(time)); if (ScidPINVOKE.SWIGPendingException.Pending) throw ScidPINVOKE.SWIGPendingException.Retrieve(); }