* scripts/*: Split openbabel.i into individual copies for each

language.

  * scripts/java/*: Initial attempt at a java interface from SWIG. Untested.
This commit is contained in:
Geoffrey Hutchison
2006-11-03 22:23:31 +00:00
parent 8f931dcba5
commit 07164cb7be
126 changed files with 48931 additions and 368 deletions
+376
View File
@@ -0,0 +1,376 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
public class OBMolBondIter {
private long swigCPtr;
protected boolean swigCMemOwn;
protected OBMolBondIter(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(OBMolBondIter obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
net.sourceforge.openbabelJNI.delete_OBMolBondIter(swigCPtr);
}
swigCPtr = 0;
}
public OBMolBondIter() {
this(net.sourceforge.openbabelJNI.new_OBMolBondIter__SWIG_0(), true);
}
public OBMolBondIter(OBMol mol) {
this(net.sourceforge.openbabelJNI.new_OBMolBondIter__SWIG_1(OBMol.getCPtr(mol)), true);
}
public OBMolBondIter(OBMolBondIter bi) {
this(net.sourceforge.openbabelJNI.new_OBMolBondIter__SWIG_3(OBMolBondIter.getCPtr(bi)), true);
}
public boolean good() {
return net.sourceforge.openbabelJNI.OBMolBondIter_good(swigCPtr);
}
public OBMolBondIter inc(int arg0) {
return new OBMolBondIter(net.sourceforge.openbabelJNI.OBMolBondIter_inc(swigCPtr, arg0), true);
}
public OBBond deref() {
long cPtr = net.sourceforge.openbabelJNI.OBMolBondIter_deref(swigCPtr);
return (cPtr == 0) ? null : new OBBond(cPtr, false);
}
public OBBond __ref__() {
return new OBBond(net.sourceforge.openbabelJNI.OBMolBondIter___ref__(swigCPtr), false);
}
public void SetIdx(int idx) {
net.sourceforge.openbabelJNI.OBMolBondIter_SetIdx(swigCPtr, idx);
}
public void SetBO(int order) {
net.sourceforge.openbabelJNI.OBMolBondIter_SetBO(swigCPtr, order);
}
public void SetBegin(OBAtom begin) {
net.sourceforge.openbabelJNI.OBMolBondIter_SetBegin(swigCPtr, OBAtom.getCPtr(begin));
}
public void SetEnd(OBAtom end) {
net.sourceforge.openbabelJNI.OBMolBondIter_SetEnd(swigCPtr, OBAtom.getCPtr(end));
}
public void SetLength(OBAtom arg0, double arg1) {
net.sourceforge.openbabelJNI.OBMolBondIter_SetLength(swigCPtr, OBAtom.getCPtr(arg0), arg1);
}
public void Set(int arg0, OBAtom arg1, OBAtom arg2, int arg3, int arg4) {
net.sourceforge.openbabelJNI.OBMolBondIter_Set(swigCPtr, arg0, OBAtom.getCPtr(arg1), OBAtom.getCPtr(arg2), arg3, arg4);
}
public void SetKSingle() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetKSingle(swigCPtr);
}
public void SetKDouble() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetKDouble(swigCPtr);
}
public void SetKTriple() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetKTriple(swigCPtr);
}
public void SetAromatic() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetAromatic(swigCPtr);
}
public void SetHash() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetHash(swigCPtr);
}
public void SetWedge() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetWedge(swigCPtr);
}
public void SetUp() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetUp(swigCPtr);
}
public void SetDown() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetDown(swigCPtr);
}
public void SetInRing() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetInRing(swigCPtr);
}
public void SetClosure() {
net.sourceforge.openbabelJNI.OBMolBondIter_SetClosure(swigCPtr);
}
public void UnsetHash() {
net.sourceforge.openbabelJNI.OBMolBondIter_UnsetHash(swigCPtr);
}
public void UnsetWedge() {
net.sourceforge.openbabelJNI.OBMolBondIter_UnsetWedge(swigCPtr);
}
public void UnsetUp() {
net.sourceforge.openbabelJNI.OBMolBondIter_UnsetUp(swigCPtr);
}
public void UnsetDown() {
net.sourceforge.openbabelJNI.OBMolBondIter_UnsetDown(swigCPtr);
}
public void UnsetAromatic() {
net.sourceforge.openbabelJNI.OBMolBondIter_UnsetAromatic(swigCPtr);
}
public void UnsetKekule() {
net.sourceforge.openbabelJNI.OBMolBondIter_UnsetKekule(swigCPtr);
}
public long GetBO() {
return net.sourceforge.openbabelJNI.OBMolBondIter_GetBO(swigCPtr);
}
public long GetBondOrder() {
return net.sourceforge.openbabelJNI.OBMolBondIter_GetBondOrder(swigCPtr);
}
public long GetFlags() {
return net.sourceforge.openbabelJNI.OBMolBondIter_GetFlags(swigCPtr);
}
public long GetBeginAtomIdx() {
return net.sourceforge.openbabelJNI.OBMolBondIter_GetBeginAtomIdx(swigCPtr);
}
public long GetEndAtomIdx() {
return net.sourceforge.openbabelJNI.OBMolBondIter_GetEndAtomIdx(swigCPtr);
}
public OBAtom GetBeginAtom() {
long cPtr = net.sourceforge.openbabelJNI.OBMolBondIter_GetBeginAtom(swigCPtr);
return (cPtr == 0) ? null : new OBAtom(cPtr, false);
}
public OBAtom GetEndAtom() {
long cPtr = net.sourceforge.openbabelJNI.OBMolBondIter_GetEndAtom(swigCPtr);
return (cPtr == 0) ? null : new OBAtom(cPtr, false);
}
public OBAtom GetNbrAtom(OBAtom ptr) {
long cPtr = net.sourceforge.openbabelJNI.OBMolBondIter_GetNbrAtom(swigCPtr, OBAtom.getCPtr(ptr));
return (cPtr == 0) ? null : new OBAtom(cPtr, false);
}
public double GetEquibLength() {
return net.sourceforge.openbabelJNI.OBMolBondIter_GetEquibLength(swigCPtr);
}
public double GetLength() {
return net.sourceforge.openbabelJNI.OBMolBondIter_GetLength(swigCPtr);
}
public int GetNbrAtomIdx(OBAtom ptr) {
return net.sourceforge.openbabelJNI.OBMolBondIter_GetNbrAtomIdx(swigCPtr, OBAtom.getCPtr(ptr));
}
public boolean IsAromatic() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsAromatic(swigCPtr);
}
public boolean IsInRing() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsInRing(swigCPtr);
}
public boolean IsRotor() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsRotor(swigCPtr);
}
public boolean IsAmide() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsAmide(swigCPtr);
}
public boolean IsPrimaryAmide() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsPrimaryAmide(swigCPtr);
}
public boolean IsSecondaryAmide() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsSecondaryAmide(swigCPtr);
}
public boolean IsEster() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsEster(swigCPtr);
}
public boolean IsCarbonyl() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsCarbonyl(swigCPtr);
}
public boolean IsSingle() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsSingle(swigCPtr);
}
public boolean IsDouble() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsDouble(swigCPtr);
}
public boolean IsTriple() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsTriple(swigCPtr);
}
public boolean IsKSingle() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsKSingle(swigCPtr);
}
public boolean IsKDouble() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsKDouble(swigCPtr);
}
public boolean IsKTriple() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsKTriple(swigCPtr);
}
public boolean IsClosure() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsClosure(swigCPtr);
}
public boolean IsUp() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsUp(swigCPtr);
}
public boolean IsDown() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsDown(swigCPtr);
}
public boolean IsWedge() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsWedge(swigCPtr);
}
public boolean IsHash() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsHash(swigCPtr);
}
public boolean IsDoubleBondGeometry() {
return net.sourceforge.openbabelJNI.OBMolBondIter_IsDoubleBondGeometry(swigCPtr);
}
public void setVisit(boolean value) {
net.sourceforge.openbabelJNI.OBMolBondIter_Visit_set(swigCPtr, value);
}
public boolean getVisit() {
return net.sourceforge.openbabelJNI.OBMolBondIter_Visit_get(swigCPtr);
}
public OBGraphBase GetParent() {
long cPtr = net.sourceforge.openbabelJNI.OBMolBondIter_GetParent(swigCPtr);
return (cPtr == 0) ? null : new OBGraphBase(cPtr, false);
}
public void SetParent(OBGraphBase arg0) {
net.sourceforge.openbabelJNI.OBMolBondIter_SetParent(swigCPtr, OBGraphBase.getCPtr(arg0));
}
public long GetIdx() {
return net.sourceforge.openbabelJNI.OBMolBondIter_GetIdx(swigCPtr);
}
public void SetBgn(OBNodeBase n) {
net.sourceforge.openbabelJNI.OBMolBondIter_SetBgn(swigCPtr, OBNodeBase.getCPtr(n));
}
public void SwapEnds() {
net.sourceforge.openbabelJNI.OBMolBondIter_SwapEnds(swigCPtr);
}
public OBNodeBase GetBgn() {
long cPtr = net.sourceforge.openbabelJNI.OBMolBondIter_GetBgn(swigCPtr);
return (cPtr == 0) ? null : new OBNodeBase(cPtr, false);
}
public OBNodeBase GetEnd() {
long cPtr = net.sourceforge.openbabelJNI.OBMolBondIter_GetEnd(swigCPtr);
return (cPtr == 0) ? null : new OBNodeBase(cPtr, false);
}
public void Error(int f) {
net.sourceforge.openbabelJNI.OBMolBondIter_Error(swigCPtr, f);
}
public boolean Eval(OBEdgeBase arg0) {
return net.sourceforge.openbabelJNI.OBMolBondIter_Eval(swigCPtr, OBEdgeBase.getCPtr(arg0));
}
public OBBase DoTransformations(SWIGTYPE_p_std__mapTstd__string_std__string_t arg0) {
long cPtr = net.sourceforge.openbabelJNI.OBMolBondIter_DoTransformations(swigCPtr, SWIGTYPE_p_std__mapTstd__string_std__string_t.getCPtr(arg0));
return (cPtr == 0) ? null : new OBBase(cPtr, false);
}
public String ClassDescription() {
return net.sourceforge.openbabelJNI.OBMolBondIter_ClassDescription(swigCPtr);
}
public boolean HasData(long type) {
return net.sourceforge.openbabelJNI.OBMolBondIter_HasData__SWIG_2(swigCPtr, type);
}
public void DeleteData(long type) {
net.sourceforge.openbabelJNI.OBMolBondIter_DeleteData__SWIG_0(swigCPtr, type);
}
public void DeleteData(OBGenericData arg0) {
net.sourceforge.openbabelJNI.OBMolBondIter_DeleteData__SWIG_1(swigCPtr, OBGenericData.getCPtr(arg0));
}
public void DeleteData(vectorData arg0) {
net.sourceforge.openbabelJNI.OBMolBondIter_DeleteData__SWIG_2(swigCPtr, vectorData.getCPtr(arg0));
}
public void SetData(OBGenericData d) {
net.sourceforge.openbabelJNI.OBMolBondIter_SetData(swigCPtr, OBGenericData.getCPtr(d));
}
public long DataSize() {
return net.sourceforge.openbabelJNI.OBMolBondIter_DataSize(swigCPtr);
}
public OBGenericData GetData(long type) {
long cPtr = net.sourceforge.openbabelJNI.OBMolBondIter_GetData__SWIG_0(swigCPtr, type);
return (cPtr == 0) ? null : new OBGenericData(cPtr, false);
}
public vectorData GetData() {
return new vectorData(net.sourceforge.openbabelJNI.OBMolBondIter_GetData__SWIG_3(swigCPtr), false);
}
public SWIGTYPE_p_std__vectorTOpenBabel__OBGenericData_p_t__iterator BeginData() {
return new SWIGTYPE_p_std__vectorTOpenBabel__OBGenericData_p_t__iterator(net.sourceforge.openbabelJNI.OBMolBondIter_BeginData(swigCPtr), true);
}
public SWIGTYPE_p_std__vectorTOpenBabel__OBGenericData_p_t__iterator EndData() {
return new SWIGTYPE_p_std__vectorTOpenBabel__OBGenericData_p_t__iterator(net.sourceforge.openbabelJNI.OBMolBondIter_EndData(swigCPtr), true);
}
}