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


using System;
using System.Runtime.InteropServices;

public class OBFFParameter : IDisposable {
  private HandleRef swigCPtr;
  protected bool swigCMemOwn;

  internal OBFFParameter(IntPtr cPtr, bool cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = new HandleRef(this, cPtr);
  }

  internal static HandleRef getCPtr(OBFFParameter obj) {
    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
  }

  ~OBFFParameter() {
    Dispose();
  }

  public virtual void Dispose() {
    lock(this) {
      if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
        swigCMemOwn = false;
        openbabelPINVOKE.delete_OBFFParameter(swigCPtr);
      }
      swigCPtr = new HandleRef(null, IntPtr.Zero);
      GC.SuppressFinalize(this);
    }
  }

  public int a {
    set {
      openbabelPINVOKE.OBFFParameter_a_set(swigCPtr, value);
    } 
    get {
      int ret = openbabelPINVOKE.OBFFParameter_a_get(swigCPtr);
      return ret;
    } 
  }

  public int b {
    set {
      openbabelPINVOKE.OBFFParameter_b_set(swigCPtr, value);
    } 
    get {
      int ret = openbabelPINVOKE.OBFFParameter_b_get(swigCPtr);
      return ret;
    } 
  }

  public int c {
    set {
      openbabelPINVOKE.OBFFParameter_c_set(swigCPtr, value);
    } 
    get {
      int ret = openbabelPINVOKE.OBFFParameter_c_get(swigCPtr);
      return ret;
    } 
  }

  public int d {
    set {
      openbabelPINVOKE.OBFFParameter_d_set(swigCPtr, value);
    } 
    get {
      int ret = openbabelPINVOKE.OBFFParameter_d_get(swigCPtr);
      return ret;
    } 
  }

  public string _a {
    set {
      openbabelPINVOKE.OBFFParameter__a_set(swigCPtr, value);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      string ret = openbabelPINVOKE.OBFFParameter__a_get(swigCPtr);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public string _b {
    set {
      openbabelPINVOKE.OBFFParameter__b_set(swigCPtr, value);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      string ret = openbabelPINVOKE.OBFFParameter__b_get(swigCPtr);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public string _c {
    set {
      openbabelPINVOKE.OBFFParameter__c_set(swigCPtr, value);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      string ret = openbabelPINVOKE.OBFFParameter__c_get(swigCPtr);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public string _d {
    set {
      openbabelPINVOKE.OBFFParameter__d_set(swigCPtr, value);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      string ret = openbabelPINVOKE.OBFFParameter__d_get(swigCPtr);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public vectorInt _ipar {
    set {
      openbabelPINVOKE.OBFFParameter__ipar_set(swigCPtr, vectorInt.getCPtr(value));
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      vectorInt ret = new vectorInt(openbabelPINVOKE.OBFFParameter__ipar_get(swigCPtr), false);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public vectorDouble _dpar {
    set {
      openbabelPINVOKE.OBFFParameter__dpar_set(swigCPtr, vectorDouble.getCPtr(value));
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
    } 
    get {
      vectorDouble ret = new vectorDouble(openbabelPINVOKE.OBFFParameter__dpar_get(swigCPtr), false);
      if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
      return ret;
    } 
  }

  public void clear() {
    openbabelPINVOKE.OBFFParameter_clear(swigCPtr);
  }

  public OBFFParameter() : this(openbabelPINVOKE.new_OBFFParameter(), true) {
  }

}
