/* ----------------------------------------------------------------------------
* 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 Ellogon.JCDM;
public class OCDM_Macros {
private long swigCPtr;
protected boolean swigCMemOwn;
protected OCDM_Macros(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(OCDM_Macros obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
OCDMJNI.delete_OCDM_Macros(swigCPtr);
swigCMemOwn = false;
}
swigCPtr = 0;
}
public OCDM_Macros() {
this(OCDMJNI.new_OCDM_Macros__SWIG_0(), true);
}
public OCDM_Macros(OCDM_Collection col) {
this(OCDMJNI.new_OCDM_Macros__SWIG_1(OCDM_Collection.getCPtr(col), col), true);
}
public void storeObject(OCDM_Document objPtr) {
OCDMJNI.OCDM_Macros_storeObject__SWIG_0(swigCPtr, this, OCDM_Document.getCPtr(objPtr), objPtr);
}
public void storeObject(OCDM_Collection objPtr) {
OCDMJNI.OCDM_Macros_storeObject__SWIG_1(swigCPtr, this, OCDM_Collection.getCPtr(objPtr), objPtr);
}
public void releaseStoredObject() {
OCDMJNI.OCDM_Macros_releaseStoredObject(swigCPtr, this);
}
public void OpenSystem(String name, String folder) {
OCDMJNI.OCDM_Macros_OpenSystem__SWIG_0(swigCPtr, this, name, folder);
}
public void OpenSystem(String name) {
OCDMJNI.OCDM_Macros_OpenSystem__SWIG_1(swigCPtr, this, name);
}
public void EditSystem(String name, String folder) {
OCDMJNI.OCDM_Macros_EditSystem__SWIG_0(swigCPtr, this, name, folder);
}
public void EditSystem(String name) {
OCDMJNI.OCDM_Macros_EditSystem__SWIG_1(swigCPtr, this, name);
}
public void OpenInSystem(String collection_name, String document_id) {
OCDMJNI.OCDM_Macros_OpenInSystem__SWIG_0(swigCPtr, this, collection_name, document_id);
}
public void OpenInSystem(String collection_name) {
OCDMJNI.OCDM_Macros_OpenInSystem__SWIG_1(swigCPtr, this, collection_name);
}
public OCDM_Collection GetOpenedCollection() {
return new OCDM_Collection(OCDMJNI.OCDM_Macros_GetOpenedCollection(swigCPtr, this), true);
}
public OCDM_Document GetOpenedDocument() {
return new OCDM_Document(OCDMJNI.OCDM_Macros_GetOpenedDocument(swigCPtr, this), true);
}
public int RunSystemComponent(String Annotator) {
return OCDMJNI.OCDM_Macros_RunSystemComponent__SWIG_0(swigCPtr, this, Annotator);
}
public int RunSystemComponent(String Annotator, boolean force) {
return OCDMJNI.OCDM_Macros_RunSystemComponent__SWIG_1(swigCPtr, this, Annotator, force);
}
public int RunSystemTool(String Annotator) {
return OCDMJNI.OCDM_Macros_RunSystemTool__SWIG_0(swigCPtr, this, Annotator);
}
public int RunSystemTool(String Annotator, boolean force) {
return OCDMJNI.OCDM_Macros_RunSystemTool__SWIG_1(swigCPtr, this, Annotator, force);
}
public int DisplayViewer(String viewer_name, OCDM_Document doc, String parameter1, String parameter2) {
return OCDMJNI.OCDM_Macros_DisplayViewer(swigCPtr, this, viewer_name, OCDM_Document.getCPtr(doc), doc, parameter1, parameter2);
}
public int NFoldExecution(OCDM_Collection col, int folds, OCDM_ByteSequenceSet TrainingCommands, OCDM_ByteSequenceSet EvaluationCommands) {
return OCDMJNI.OCDM_Macros_NFoldExecution__SWIG_0(swigCPtr, this, OCDM_Collection.getCPtr(col), col, folds, OCDM_ByteSequenceSet.getCPtr(TrainingCommands), TrainingCommands, OCDM_ByteSequenceSet.getCPtr(EvaluationCommands), EvaluationCommands);
}
public int NFoldExecution(OCDM_Collection col, int folds, OCDM_RawDataSet TrainingCommands, OCDM_RawDataSet EvaluationCommands) {
return OCDMJNI.OCDM_Macros_NFoldExecution__SWIG_1(swigCPtr, this, OCDM_Collection.getCPtr(col), col, folds, OCDM_RawDataSet.getCPtr(TrainingCommands), TrainingCommands, OCDM_RawDataSet.getCPtr(EvaluationCommands), EvaluationCommands);
}
}
|