/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.31
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package hep.aida.swig;
import hep.aida.jni.AIDAJNIUtil;
public class IDataPointSetFactory implements hep.aida.IDataPointSetFactory {
private long swigCPtr;
protected boolean swigCMemOwn;
public IDataPointSetFactory(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(hep.aida.IDataPointSetFactory obj) {
if (obj instanceof IDataPointSetFactory) {
return (obj == null) ? 0 : ((IDataPointSetFactory)obj).swigCPtr;
} else {
long cPtr = AIDAJNI.new_IDataPointSetFactory();
// FIXME, memory leak if Java class gets finalized, since C++ director is not freed.
AIDAJNI.IDataPointSetFactory_director_connect(obj, cPtr, true, true);
return cPtr;
}
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
AIDAJNI.delete_IDataPointSetFactory(swigCPtr);
}
swigCPtr = 0;
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
AIDAJNI.IDataPointSetFactory_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
AIDAJNI.IDataPointSetFactory_change_ownership(this, swigCPtr, true);
}
public hep.aida.IDataPointSet create(String path, String title, int dimOfPoints) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_0(swigCPtr, this, path, title, dimOfPoints);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String pathAndTitle, int dimOfPoints) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_1(swigCPtr, this, pathAndTitle, dimOfPoints);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createY(String path, String title, double[] y, double[] ey) {
long cPtr = AIDAJNI.IDataPointSetFactory_createY__SWIG_0(swigCPtr, this, path, title, y, ey);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createY(String path, String title, double[] y, double[] eyp, double[] eym) {
long cPtr = AIDAJNI.IDataPointSetFactory_createY__SWIG_1(swigCPtr, this, path, title, y, eyp, eym);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createY(String pathAndTitle, double[] y, double[] ey) {
long cPtr = AIDAJNI.IDataPointSetFactory_createY__SWIG_2(swigCPtr, this, pathAndTitle, y, ey);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createY(String pathAndTitle, double[] y, double[] eyp, double[] eym) {
long cPtr = AIDAJNI.IDataPointSetFactory_createY__SWIG_3(swigCPtr, this, pathAndTitle, y, eyp, eym);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createX(String path, String title, double[] x, double[] ex) {
long cPtr = AIDAJNI.IDataPointSetFactory_createX__SWIG_0(swigCPtr, this, path, title, x, ex);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createX(String path, String title, double[] x, double[] exp, double[] exm) {
long cPtr = AIDAJNI.IDataPointSetFactory_createX__SWIG_1(swigCPtr, this, path, title, x, exp, exm);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createX(String pathAndTitle, double[] x, double[] ex) {
long cPtr = AIDAJNI.IDataPointSetFactory_createX__SWIG_2(swigCPtr, this, pathAndTitle, x, ex);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createX(String pathAndTitle, double[] x, double[] exp, double[] exm) {
long cPtr = AIDAJNI.IDataPointSetFactory_createX__SWIG_3(swigCPtr, this, pathAndTitle, x, exp, exm);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createXY(String path, String title, double[] x, double[] y, double[] exp, double[] eyp, double[] exm, double[] eym) {
long cPtr = AIDAJNI.IDataPointSetFactory_createXY__SWIG_0(swigCPtr, this, path, title, x, y, exp, eyp, exm, eym);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createXY(String path, String title, double[] x, double[] y, double[] ex, double[] ey) {
long cPtr = AIDAJNI.IDataPointSetFactory_createXY__SWIG_1(swigCPtr, this, path, title, x, y, ex, ey);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createXY(String pathAndTitle, double[] x, double[] y, double[] exp, double[] eyp, double[] exm, double[] eym) {
long cPtr = AIDAJNI.IDataPointSetFactory_createXY__SWIG_2(swigCPtr, this, pathAndTitle, x, y, exp, eyp, exm, eym);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createXY(String pathAndTitle, double[] x, double[] y, double[] ex, double[] ey) {
long cPtr = AIDAJNI.IDataPointSetFactory_createXY__SWIG_3(swigCPtr, this, pathAndTitle, x, y, ex, ey);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createXYZ(String path, String title, double[] x, double[] y, double[] z, double[] exp, double[] eyp, double[] ezp, double[] exm, double[] eym, double[] ezm) {
long cPtr = AIDAJNI.IDataPointSetFactory_createXYZ__SWIG_0(swigCPtr, this, path, title, x, y, z, exp, eyp, ezp, exm, eym, ezm);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createXYZ(String path, String title, double[] x, double[] y, double[] z, double[] ex, double[] ey, double[] ez) {
long cPtr = AIDAJNI.IDataPointSetFactory_createXYZ__SWIG_1(swigCPtr, this, path, title, x, y, z, ex, ey, ez);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createXYZ(String pathAndTitle, double[] x, double[] y, double[] z, double[] exp, double[] eyp, double[] ezp, double[] exm, double[] eym, double[] ezm) {
long cPtr = AIDAJNI.IDataPointSetFactory_createXYZ__SWIG_2(swigCPtr, this, pathAndTitle, x, y, z, exp, eyp, ezp, exm, eym, ezm);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createXYZ(String pathAndTitle, double[] x, double[] y, double[] z, double[] ex, double[] ey, double[] ez) {
long cPtr = AIDAJNI.IDataPointSetFactory_createXYZ__SWIG_3(swigCPtr, this, pathAndTitle, x, y, z, ex, ey, ez);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet createCopy(String path, hep.aida.IDataPointSet dataPointSet) {
long cPtr = AIDAJNI.IDataPointSetFactory_createCopy(swigCPtr, this, path, IDataPointSet.getCPtr(dataPointSet), (hep.aida.IDataPointSet)dataPointSet);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public void destroy(hep.aida.IDataPointSet dataPointSet) {
AIDAJNI.IDataPointSetFactory_destroy(swigCPtr, this, IDataPointSet.getCPtr(dataPointSet), (hep.aida.IDataPointSet)dataPointSet);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IHistogram1D hist, String options) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_2(swigCPtr, this, path, IHistogram1D.getCPtr(hist), (hep.aida.IHistogram1D)hist, options);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IHistogram1D hist) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_3(swigCPtr, this, path, IHistogram1D.getCPtr(hist), (hep.aida.IHistogram1D)hist);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IHistogram2D hist, String options) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_4(swigCPtr, this, path, IHistogram2D.getCPtr(hist), (hep.aida.IHistogram2D)hist, options);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IHistogram2D hist) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_5(swigCPtr, this, path, IHistogram2D.getCPtr(hist), (hep.aida.IHistogram2D)hist);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IHistogram3D hist, String options) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_6(swigCPtr, this, path, IHistogram3D.getCPtr(hist), (hep.aida.IHistogram3D)hist, options);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IHistogram3D hist) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_7(swigCPtr, this, path, IHistogram3D.getCPtr(hist), (hep.aida.IHistogram3D)hist);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.ICloud1D cloud, String options) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_8(swigCPtr, this, path, ICloud1D.getCPtr(cloud), (hep.aida.ICloud1D)cloud, options);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.ICloud1D cloud) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_9(swigCPtr, this, path, ICloud1D.getCPtr(cloud), (hep.aida.ICloud1D)cloud);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.ICloud2D cloud, String options) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_10(swigCPtr, this, path, ICloud2D.getCPtr(cloud), (hep.aida.ICloud2D)cloud, options);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.ICloud2D cloud) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_11(swigCPtr, this, path, ICloud2D.getCPtr(cloud), (hep.aida.ICloud2D)cloud);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.ICloud3D cloud, String options) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_12(swigCPtr, this, path, ICloud3D.getCPtr(cloud), (hep.aida.ICloud3D)cloud, options);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.ICloud3D cloud) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_13(swigCPtr, this, path, ICloud3D.getCPtr(cloud), (hep.aida.ICloud3D)cloud);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IProfile1D profile, String options) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_14(swigCPtr, this, path, IProfile1D.getCPtr(profile), (hep.aida.IProfile1D)profile, options);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IProfile1D profile) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_15(swigCPtr, this, path, IProfile1D.getCPtr(profile), (hep.aida.IProfile1D)profile);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IProfile2D profile, String options) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_16(swigCPtr, this, path, IProfile2D.getCPtr(profile), (hep.aida.IProfile2D)profile, options);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet create(String path, hep.aida.IProfile2D profile) {
long cPtr = AIDAJNI.IDataPointSetFactory_create__SWIG_17(swigCPtr, this, path, IProfile2D.getCPtr(profile), (hep.aida.IProfile2D)profile);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet add(String path, hep.aida.IDataPointSet dataPointSet1, hep.aida.IDataPointSet dataPointSet2) {
long cPtr = AIDAJNI.IDataPointSetFactory_add(swigCPtr, this, path, IDataPointSet.getCPtr(dataPointSet1), (hep.aida.IDataPointSet)dataPointSet1, IDataPointSet.getCPtr(dataPointSet2), (hep.aida.IDataPointSet)dataPointSet2);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet subtract(String path, hep.aida.IDataPointSet dataPointSet1, hep.aida.IDataPointSet dataPointSet2) {
long cPtr = AIDAJNI.IDataPointSetFactory_subtract(swigCPtr, this, path, IDataPointSet.getCPtr(dataPointSet1), (hep.aida.IDataPointSet)dataPointSet1, IDataPointSet.getCPtr(dataPointSet2), (hep.aida.IDataPointSet)dataPointSet2);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet multiply(String path, hep.aida.IDataPointSet dataPointSet1, hep.aida.IDataPointSet dataPointSet2) {
long cPtr = AIDAJNI.IDataPointSetFactory_multiply(swigCPtr, this, path, IDataPointSet.getCPtr(dataPointSet1), (hep.aida.IDataPointSet)dataPointSet1, IDataPointSet.getCPtr(dataPointSet2), (hep.aida.IDataPointSet)dataPointSet2);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet divide(String path, hep.aida.IDataPointSet dataPointSet1, hep.aida.IDataPointSet dataPointSet2) {
long cPtr = AIDAJNI.IDataPointSetFactory_divide(swigCPtr, this, path, IDataPointSet.getCPtr(dataPointSet1), (hep.aida.IDataPointSet)dataPointSet1, IDataPointSet.getCPtr(dataPointSet2), (hep.aida.IDataPointSet)dataPointSet2);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public hep.aida.IDataPointSet weightedMean(String path, hep.aida.IDataPointSet dataPointSet1, hep.aida.IDataPointSet dataPointSet2) {
long cPtr = AIDAJNI.IDataPointSetFactory_weightedMean(swigCPtr, this, path, IDataPointSet.getCPtr(dataPointSet1), (hep.aida.IDataPointSet)dataPointSet1, IDataPointSet.getCPtr(dataPointSet2), (hep.aida.IDataPointSet)dataPointSet2);
return (cPtr == 0) ? null : new IDataPointSet(cPtr, false);
}
public IDataPointSetFactory() {
this(AIDAJNI.new_IDataPointSetFactory(), true);
AIDAJNI.IDataPointSetFactory_director_connect(this, swigCPtr, swigCMemOwn, true);
}
}