/* ----------------------------------------------------------------------------
 * 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.
 * ----------------------------------------------------------------------------- */


public class OBAngleData extends OBGenericData {
  private long swigCPtr;

  protected OBAngleData(long cPtr, boolean cMemoryOwn) {
    super(openbabelJNI.SWIGOBAngleDataUpcast(cPtr), cMemoryOwn);
    swigCPtr = cPtr;
  }

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

  protected void finalize() {
    delete();
  }

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

  public void Clear() {
    openbabelJNI.OBAngleData_Clear(swigCPtr, this);
  }

  public long FillAngleArray(SWIGTYPE_p_p_int angles, SWIGTYPE_p_unsigned_int size) {
    return openbabelJNI.OBAngleData_FillAngleArray__SWIG_0(swigCPtr, this, SWIGTYPE_p_p_int.getCPtr(angles), SWIGTYPE_p_unsigned_int.getCPtr(size));
  }

  public boolean FillAngleArray(SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_t angles) {
    return openbabelJNI.OBAngleData_FillAngleArray__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_t.getCPtr(angles));
  }

  public void SetData(OBAngle arg0) {
    openbabelJNI.OBAngleData_SetData(swigCPtr, this, OBAngle.getCPtr(arg0), arg0);
  }

  public long GetSize() {
    return openbabelJNI.OBAngleData_GetSize(swigCPtr, this);
  }

}
