getCPtr() static private method

static private getCPtr ( Database obj ) : HandleRef
obj Database
return System.Runtime.InteropServices.HandleRef
Exemplo n.º 1
0
 public Enquire(Database databases) : this(XapianPINVOKE.new_Enquire(Database.getCPtr(databases)), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public Database(Database other) : this(XapianPINVOKE.new_Database__SWIG_2(Database.getCPtr(other)), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public override void Init(Database db_)
 {
     XapianPINVOKE.ValuePostingSource_Init(swigCPtr, Database.getCPtr(db_));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 public void SetDatabase(Database db)
 {
     XapianPINVOKE.QueryParser_SetDatabase(swigCPtr, Database.getCPtr(db));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 public virtual void Init(Database db)
 {
     XapianPINVOKE.PostingSource_Init(swigCPtr, Database.getCPtr(db));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 6
0
 public void AddDatabase(Database database)
 {
     XapianPINVOKE.Database_AddDatabase(swigCPtr, Database.getCPtr(database));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }