public override void addDocument(Document document) { digidocPINVOKE.BDoc_addDocument(swigCPtr, Document.getCPtr(document)); if (digidocPINVOKE.SWIGPendingException.Pending) throw digidocPINVOKE.SWIGPendingException.Retrieve(); }
public override Document getDocument(uint id) { Document ret = new Document(digidocPINVOKE.BDoc_getDocument(swigCPtr, id), true); if (digidocPINVOKE.SWIGPendingException.Pending) throw digidocPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(Document obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }