/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version: 1.3.19
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package SimbodyAPI;


public class SubfeatureNameNotFound {
  private long swigCPtr;
  protected boolean swigCMemOwn;

  protected SubfeatureNameNotFound(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected SubfeatureNameNotFound() {
    this(0, false);
  }

  protected void finalize() {
    delete();
  }

  public void delete() {
    if(swigCPtr != 0 && swigCMemOwn) {
      ModelJNI.delete_SubfeatureNameNotFound(swigCPtr);
      swigCMemOwn = false;
    }
    swigCPtr = 0;
  }

  protected static long getCPtr(SubfeatureNameNotFound obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  public SubfeatureNameNotFound(String fn, int ln, String subname, String featurename) {
    this(ModelJNI.new_SubfeatureNameNotFound(fn, ln, subname, featurename), true);
  }

}
