/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.31
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */


public class OBSSMatch {
  private long swigCPtr;
  protected boolean swigCMemOwn;

  protected OBSSMatch(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected static long getCPtr(OBSSMatch obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      openbabelJNI.delete_OBSSMatch(swigCPtr);
    }
    swigCPtr = 0;
  }

  public OBSSMatch(OBMol arg0, SWIGTYPE_p_OpenBabel__Pattern arg1) {
    this(openbabelJNI.new_OBSSMatch(OBMol.getCPtr(arg0), arg0, SWIGTYPE_p_OpenBabel__Pattern.getCPtr(arg1)), true);
  }

  public void Match(vvInt v, int bidx) {
    openbabelJNI.OBSSMatch_Match__SWIG_0(swigCPtr, this, vvInt.getCPtr(v), v, bidx);
  }

  public void Match(vvInt v) {
    openbabelJNI.OBSSMatch_Match__SWIG_1(swigCPtr, this, vvInt.getCPtr(v), v);
  }

}


syntax highlighted by Code2HTML, v. 0.9.1