1
/* ----------------------------------------------------------------------------
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
* Do not make changes to this file unless you know what you are doing--modify
6
* the SWIG interface file instead.
7
* ----------------------------------------------------------------------------- */
11
using System.Runtime.InteropServices;
13
public class OBSSMatch : IDisposable {
14
private HandleRef swigCPtr;
15
protected bool swigCMemOwn;
17
internal OBSSMatch(IntPtr cPtr, bool cMemoryOwn) {
18
swigCMemOwn = cMemoryOwn;
19
swigCPtr = new HandleRef(this, cPtr);
22
internal static HandleRef getCPtr(OBSSMatch obj) {
23
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30
public virtual void Dispose() {
32
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
34
openbabelPINVOKE.delete_OBSSMatch(swigCPtr);
36
swigCPtr = new HandleRef(null, IntPtr.Zero);
37
GC.SuppressFinalize(this);
41
public OBSSMatch(OBMol arg0, SWIGTYPE_p_OpenBabel__Pattern arg1) : this(openbabelPINVOKE.new_OBSSMatch(OBMol.getCPtr(arg0), SWIGTYPE_p_OpenBabel__Pattern.getCPtr(arg1)), true) {
42
if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
45
public void Match(SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t v, int bidx) {
46
openbabelPINVOKE.OBSSMatch_Match__SWIG_0(swigCPtr, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t.getCPtr(v), bidx);
47
if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
50
public void Match(SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t v) {
51
openbabelPINVOKE.OBSSMatch_Match__SWIG_1(swigCPtr, SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t.getCPtr(v));
52
if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();