~ubuntu-branches/debian/stretch/openbabel/stretch

« back to all changes in this revision

Viewing changes to scripts/java/OBMolTorsionIter.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2008-07-22 23:54:58 UTC
  • mfrom: (3.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080722235458-3o606czluviz4akx
Tags: 2.2.0-2
* Upload to unstable.
* debian/control: Updated descriptions.
* debian/patches/gauss_cube_format.patch: New patch, makes the 
  gaussian cube format available again.
* debian/rules (DEB_DH_MAKESHLIBS_ARGS_libopenbabel3): Removed.
* debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Likewise.
* debian/libopenbabel3.install: Adjust formats directory to single 
  version hierarchy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ----------------------------------------------------------------------------
 
2
 * This file was automatically generated by SWIG (http://www.swig.org).
 
3
 * Version 1.3.36
 
4
 *
 
5
 * Do not make changes to this file unless you know what you are doing--modify
 
6
 * the SWIG interface file instead.
 
7
 * ----------------------------------------------------------------------------- */
 
8
 
 
9
 
 
10
public class OBMolTorsionIter {
 
11
  private long swigCPtr;
 
12
  protected boolean swigCMemOwn;
 
13
 
 
14
  protected OBMolTorsionIter(long cPtr, boolean cMemoryOwn) {
 
15
    swigCMemOwn = cMemoryOwn;
 
16
    swigCPtr = cPtr;
 
17
  }
 
18
 
 
19
  protected static long getCPtr(OBMolTorsionIter obj) {
 
20
    return (obj == null) ? 0 : obj.swigCPtr;
 
21
  }
 
22
 
 
23
  protected void finalize() {
 
24
    delete();
 
25
  }
 
26
 
 
27
  public synchronized void delete() {
 
28
    if(swigCPtr != 0 && swigCMemOwn) {
 
29
      swigCMemOwn = false;
 
30
      openbabelJNI.delete_OBMolTorsionIter(swigCPtr);
 
31
    }
 
32
    swigCPtr = 0;
 
33
  }
 
34
 
 
35
  public OBMolTorsionIter() {
 
36
    this(openbabelJNI.new_OBMolTorsionIter__SWIG_0(), true);
 
37
  }
 
38
 
 
39
  public OBMolTorsionIter(OBMol mol) {
 
40
    this(openbabelJNI.new_OBMolTorsionIter__SWIG_1(OBMol.getCPtr(mol), mol), true);
 
41
  }
 
42
 
 
43
  public OBMolTorsionIter(OBMolTorsionIter ai) {
 
44
    this(openbabelJNI.new_OBMolTorsionIter__SWIG_2(OBMolTorsionIter.getCPtr(ai), ai), true);
 
45
  }
 
46
 
 
47
  public vectorUnsignedInt __ref__() {
 
48
    return new vectorUnsignedInt(openbabelJNI.OBMolTorsionIter___ref__(swigCPtr, this), true);
 
49
  }
 
50
 
 
51
}