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 OBAngleData : OBGenericData {
14
private HandleRef swigCPtr;
16
internal OBAngleData(IntPtr cPtr, bool cMemoryOwn) : base(openbabelPINVOKE.OBAngleDataUpcast(cPtr), cMemoryOwn) {
17
swigCPtr = new HandleRef(this, cPtr);
20
internal static HandleRef getCPtr(OBAngleData obj) {
21
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28
public override void Dispose() {
30
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
32
openbabelPINVOKE.delete_OBAngleData(swigCPtr);
34
swigCPtr = new HandleRef(null, IntPtr.Zero);
35
GC.SuppressFinalize(this);
41
openbabelPINVOKE.OBAngleData_Clear(swigCPtr);
44
public uint FillAngleArray(SWIGTYPE_p_p_int angles, SWIGTYPE_p_unsigned_int size) {
45
uint ret = openbabelPINVOKE.OBAngleData_FillAngleArray__SWIG_0(swigCPtr, SWIGTYPE_p_p_int.getCPtr(angles), SWIGTYPE_p_unsigned_int.getCPtr(size));
46
if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
50
public bool FillAngleArray(SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_t angles) {
51
bool ret = openbabelPINVOKE.OBAngleData_FillAngleArray__SWIG_1(swigCPtr, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_t_t.getCPtr(angles));
52
if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
56
public void SetData(OBAngle arg0) {
57
openbabelPINVOKE.OBAngleData_SetData(swigCPtr, OBAngle.getCPtr(arg0));
58
if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
61
public uint GetSize() {
62
uint ret = openbabelPINVOKE.OBAngleData_GetSize(swigCPtr);