mirror of
https://github.com/openbabel/openbabel.git
synced 2026-08-01 00:58:00 -05:00
73 lines
2.2 KiB
Java
73 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 OBSymmetryData extends OBGenericData {
|
|
private long swigCPtr;
|
|
|
|
protected OBSymmetryData(long cPtr, boolean cMemoryOwn) {
|
|
super(net.sourceforge.openbabelJNI.SWIGOBSymmetryDataUpcast(cPtr), cMemoryOwn);
|
|
swigCPtr = cPtr;
|
|
}
|
|
|
|
protected static long getCPtr(OBSymmetryData 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_OBSymmetryData(swigCPtr);
|
|
}
|
|
swigCPtr = 0;
|
|
super.delete();
|
|
}
|
|
|
|
public OBSymmetryData() {
|
|
this(net.sourceforge.openbabelJNI.new_OBSymmetryData__SWIG_0(), true);
|
|
}
|
|
|
|
public OBSymmetryData(OBSymmetryData arg0) {
|
|
this(net.sourceforge.openbabelJNI.new_OBSymmetryData__SWIG_1(OBSymmetryData.getCPtr(arg0), arg0), true);
|
|
}
|
|
|
|
public OBGenericData Clone(OBBase arg0) {
|
|
long cPtr = net.sourceforge.openbabelJNI.OBSymmetryData_Clone(swigCPtr, this, OBBase.getCPtr(arg0), arg0);
|
|
return (cPtr == 0) ? null : new OBGenericData(cPtr, false);
|
|
}
|
|
|
|
public void SetData(String pg, String sg) {
|
|
net.sourceforge.openbabelJNI.OBSymmetryData_SetData__SWIG_0(swigCPtr, this, pg, sg);
|
|
}
|
|
|
|
public void SetData(String pg) {
|
|
net.sourceforge.openbabelJNI.OBSymmetryData_SetData__SWIG_1(swigCPtr, this, pg);
|
|
}
|
|
|
|
public void SetPointGroup(String pg) {
|
|
net.sourceforge.openbabelJNI.OBSymmetryData_SetPointGroup(swigCPtr, this, pg);
|
|
}
|
|
|
|
public void SetSpaceGroup(String sg) {
|
|
net.sourceforge.openbabelJNI.OBSymmetryData_SetSpaceGroup(swigCPtr, this, sg);
|
|
}
|
|
|
|
public String GetPointGroup() {
|
|
return net.sourceforge.openbabelJNI.OBSymmetryData_GetPointGroup(swigCPtr, this);
|
|
}
|
|
|
|
public String GetSpaceGroup() {
|
|
return net.sourceforge.openbabelJNI.OBSymmetryData_GetSpaceGroup(swigCPtr, this);
|
|
}
|
|
|
|
}
|