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 OBElementTable : OBGlobalDataBase {
14
private HandleRef swigCPtr;
16
internal OBElementTable(IntPtr cPtr, bool cMemoryOwn) : base(openbabelPINVOKE.OBElementTableUpcast(cPtr), cMemoryOwn) {
17
swigCPtr = new HandleRef(this, cPtr);
20
internal static HandleRef getCPtr(OBElementTable 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_OBElementTable(swigCPtr);
34
swigCPtr = new HandleRef(null, IntPtr.Zero);
35
GC.SuppressFinalize(this);
40
public OBElementTable() : this(openbabelPINVOKE.new_OBElementTable(), true) {
43
public uint GetNumberOfElements() {
44
uint ret = openbabelPINVOKE.OBElementTable_GetNumberOfElements(swigCPtr);
48
public int GetAtomicNum(string arg0) {
49
int ret = openbabelPINVOKE.OBElementTable_GetAtomicNum__SWIG_0(swigCPtr, arg0);
53
public int GetAtomicNum(string arg0, SWIGTYPE_p_int iso) {
54
int ret = openbabelPINVOKE.OBElementTable_GetAtomicNum__SWIG_1(swigCPtr, arg0, SWIGTYPE_p_int.getCPtr(iso));
55
if (openbabelPINVOKE.SWIGPendingException.Pending) throw openbabelPINVOKE.SWIGPendingException.Retrieve();
59
public string GetSymbol(int arg0) {
60
string ret = openbabelPINVOKE.OBElementTable_GetSymbol(swigCPtr, arg0);
64
public double GetVdwRad(int arg0) {
65
double ret = openbabelPINVOKE.OBElementTable_GetVdwRad(swigCPtr, arg0);
69
public double GetCovalentRad(int arg0) {
70
double ret = openbabelPINVOKE.OBElementTable_GetCovalentRad(swigCPtr, arg0);
74
public double GetMass(int arg0) {
75
double ret = openbabelPINVOKE.OBElementTable_GetMass(swigCPtr, arg0);
79
public double CorrectedBondRad(int arg0, int arg1) {
80
double ret = openbabelPINVOKE.OBElementTable_CorrectedBondRad__SWIG_0(swigCPtr, arg0, arg1);
84
public double CorrectedBondRad(int arg0) {
85
double ret = openbabelPINVOKE.OBElementTable_CorrectedBondRad__SWIG_1(swigCPtr, arg0);
89
public double CorrectedVdwRad(int arg0, int arg1) {
90
double ret = openbabelPINVOKE.OBElementTable_CorrectedVdwRad__SWIG_0(swigCPtr, arg0, arg1);
94
public double CorrectedVdwRad(int arg0) {
95
double ret = openbabelPINVOKE.OBElementTable_CorrectedVdwRad__SWIG_1(swigCPtr, arg0);
99
public int GetMaxBonds(int arg0) {
100
int ret = openbabelPINVOKE.OBElementTable_GetMaxBonds(swigCPtr, arg0);
104
public double GetElectroNeg(int arg0) {
105
double ret = openbabelPINVOKE.OBElementTable_GetElectroNeg(swigCPtr, arg0);
109
public double GetAllredRochowElectroNeg(int arg0) {
110
double ret = openbabelPINVOKE.OBElementTable_GetAllredRochowElectroNeg(swigCPtr, arg0);
114
public double GetIonization(int arg0) {
115
double ret = openbabelPINVOKE.OBElementTable_GetIonization(swigCPtr, arg0);
119
public double GetElectronAffinity(int arg0) {
120
double ret = openbabelPINVOKE.OBElementTable_GetElectronAffinity(swigCPtr, arg0);
124
public vectorDouble GetRGB(int arg0) {
125
vectorDouble ret = new vectorDouble(openbabelPINVOKE.OBElementTable_GetRGB(swigCPtr, arg0), true);
129
public string GetName(int arg0) {
130
string ret = openbabelPINVOKE.OBElementTable_GetName(swigCPtr, arg0);