X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FSTEPControl_Reader.java;h=91cc5e4c265d1423a340c807f72d0c10dc4a2cc1;hb=8c8a6f597d1c56ebe788a028d70c7851f58dae9f;hp=37027acf1b3da67c85ed4f587b3f5e10a0b6db80;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Reader.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Reader.java index 37027acf..91cc5e4c 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Reader.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Reader.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class STEPControl_Reader extends XSControl_Reader { - private long swigCPtr; - - public STEPControl_Reader(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.STEPControl_Reader_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(STEPControl_Reader obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_STEPControl_Reader(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public STEPControl_Reader() { - this(OccJavaJNI.new_STEPControl_Reader(), true); - } - - public String getLabel(TopoDS_Shape theShape) { - return OccJavaJNI.STEPControl_Reader_getLabel(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class STEPControl_Reader extends XSControl_Reader { + private transient long swigCPtr; + + protected STEPControl_Reader(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.STEPControl_Reader_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(STEPControl_Reader obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_STEPControl_Reader(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public STEPControl_Reader() { + this(OccJavaJNI.new_STEPControl_Reader(), true); + } + + public String getLabel(TopoDS_Shape theShape) { + return OccJavaJNI.STEPControl_Reader_getLabel(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape); + } + +}