Example #1
0
 public override void addDocument(Document document)
 {
     digidocPINVOKE.BDoc_addDocument(swigCPtr, Document.getCPtr(document));
     if (digidocPINVOKE.SWIGPendingException.Pending) throw digidocPINVOKE.SWIGPendingException.Retrieve();
 }
Example #2
0
 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;
 }
Example #3
0
 internal static HandleRef getCPtr(Document obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }