mirror of
https://github.com/openbabel/openbabel.git
synced 2026-07-30 16:18:20 -05:00
68 lines
2.2 KiB
Java
68 lines
2.2 KiB
Java
/* ----------------------------------------------------------------------------
|
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
|
* Version 1.3.30
|
|
*
|
|
* Do not make changes to this file unless you know what you are doing--modify
|
|
* the SWIG interface file instead.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
|
|
public class OBResidueData extends OBGlobalDataBase {
|
|
private long swigCPtr;
|
|
|
|
protected OBResidueData(long cPtr, boolean cMemoryOwn) {
|
|
super(net.sourceforge.openbabelJNI.SWIGOBResidueDataUpcast(cPtr), cMemoryOwn);
|
|
swigCPtr = cPtr;
|
|
}
|
|
|
|
protected static long getCPtr(OBResidueData obj) {
|
|
return (obj == null) ? 0 : obj.swigCPtr;
|
|
}
|
|
|
|
protected void finalize() {
|
|
delete();
|
|
}
|
|
|
|
public synchronized void delete() {
|
|
if(swigCPtr != 0 && swigCMemOwn) {
|
|
swigCMemOwn = false;
|
|
net.sourceforge.openbabelJNI.delete_OBResidueData(swigCPtr);
|
|
}
|
|
swigCPtr = 0;
|
|
super.delete();
|
|
}
|
|
|
|
public OBResidueData() {
|
|
this(net.sourceforge.openbabelJNI.new_OBResidueData(), true);
|
|
}
|
|
|
|
public void ParseLine(String arg0) {
|
|
net.sourceforge.openbabelJNI.OBResidueData_ParseLine(swigCPtr, this, arg0);
|
|
}
|
|
|
|
public long GetSize() {
|
|
return net.sourceforge.openbabelJNI.OBResidueData_GetSize(swigCPtr, this);
|
|
}
|
|
|
|
public boolean SetResName(String arg0) {
|
|
return net.sourceforge.openbabelJNI.OBResidueData_SetResName(swigCPtr, this, arg0);
|
|
}
|
|
|
|
public int LookupBO(String arg0) {
|
|
return net.sourceforge.openbabelJNI.OBResidueData_LookupBO__SWIG_0(swigCPtr, this, arg0);
|
|
}
|
|
|
|
public int LookupBO(String arg0, String arg1) {
|
|
return net.sourceforge.openbabelJNI.OBResidueData_LookupBO__SWIG_1(swigCPtr, this, arg0, arg1);
|
|
}
|
|
|
|
public boolean LookupType(String arg0, SWIGTYPE_p_std__string arg1, SWIGTYPE_p_int arg2) {
|
|
return net.sourceforge.openbabelJNI.OBResidueData_LookupType(swigCPtr, this, arg0, SWIGTYPE_p_std__string.getCPtr(arg1), SWIGTYPE_p_int.getCPtr(arg2));
|
|
}
|
|
|
|
public boolean AssignBonds(OBMol arg0, OBBitVec arg1) {
|
|
return net.sourceforge.openbabelJNI.OBResidueData_AssignBonds(swigCPtr, this, OBMol.getCPtr(arg0), arg0, OBBitVec.getCPtr(arg1), arg1);
|
|
}
|
|
|
|
}
|