Beispiel #1
0
 public synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       CCMCJNI.delete_OpenGGCM(swigCPtr);
     }
     swigCPtr = 0;
   }
   super.delete();
 }
Beispiel #2
0
 public String getZGridName(String variable) {
   return CCMCJNI.OpenGGCM_getZGridName__SWIG_0(swigCPtr, this, variable);
 }
Beispiel #3
0
 public String getYGridName(int variable_id) {
   return CCMCJNI.OpenGGCM_getYGridName__SWIG_1(swigCPtr, this, variable_id);
 }
Beispiel #4
0
 public vector_float getZGrid(int variable) {
   long cPtr = CCMCJNI.OpenGGCM_getZGrid__SWIG_1(swigCPtr, this, variable);
   return (cPtr == 0) ? null : new vector_float(cPtr, false);
 }
Beispiel #5
0
 public Interpolator createNewInterpolator() {
   long cPtr = CCMCJNI.OpenGGCM_createNewInterpolator(swigCPtr, this);
   return (cPtr == 0) ? null : new Interpolator(cPtr, false);
 }
Beispiel #6
0
 public int open(String filename) {
   return CCMCJNI.OpenGGCM_open(swigCPtr, this, filename);
 }
Beispiel #7
0
 public OpenGGCM() {
   this(CCMCJNI.new_OpenGGCM(), true);
 }
Beispiel #8
0
 protected OpenGGCM(long cPtr, boolean cMemoryOwn) {
   super(CCMCJNI.OpenGGCM_SWIGUpcast(cPtr), cMemoryOwn);
   swigCPtr = cPtr;
 }
Beispiel #9
0
 public vector_string getLoadedVariables() {
   return new vector_string(CCMCJNI.OpenGGCM_getLoadedVariables(swigCPtr, this), true);
 }