X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FIGESControl_Reader.java;h=4127265c74971456a15df7520ef0b5221d89447d;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=5ffe170766706539525c18971a0b4041c7604636;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Reader.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Reader.java index 5ffe1707..4127265c 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Reader.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Reader.java @@ -1,55 +1,55 @@ -/* ---------------------------------------------------------------------------- - * 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 IGESControl_Reader extends XSControl_Reader { - private long swigCPtr; - - public IGESControl_Reader(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.IGESControl_Reader_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(IGESControl_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_IGESControl_Reader(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public IGESControl_Reader() { - this(OccJavaJNI.new_IGESControl_Reader(), true); - } - - public String getLabel(TopoDS_Shape theShape) { - return OccJavaJNI.IGESControl_Reader_getLabel(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape); - } - - public TopoDS_Shape getShape(String shapeName) { - long cPtr = OccJavaJNI.IGESControl_Reader_getShape(swigCPtr, this, shapeName); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public void dumpLabels() { - OccJavaJNI.IGESControl_Reader_dumpLabels(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * 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 IGESControl_Reader extends XSControl_Reader { + private transient long swigCPtr; + + protected IGESControl_Reader(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.IGESControl_Reader_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(IGESControl_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_IGESControl_Reader(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public IGESControl_Reader() { + this(OccJavaJNI.new_IGESControl_Reader(), true); + } + + public String getLabel(TopoDS_Shape theShape) { + return OccJavaJNI.IGESControl_Reader_getLabel(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape); + } + + public TopoDS_Shape getShape(String shapeName) { + long cPtr = OccJavaJNI.IGESControl_Reader_getShape(swigCPtr, this, shapeName); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public void dumpLabels() { + OccJavaJNI.IGESControl_Reader_dumpLabels(swigCPtr, this); + } + +}