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

« back to all changes in this revision

Viewing changes to scripts/java/OBFFCalculation4.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 OBFFCalculation4 extends OBFFCalculation3 {
 
11
  private long swigCPtr;
 
12
 
 
13
  protected OBFFCalculation4(long cPtr, boolean cMemoryOwn) {
 
14
    super(openbabelJNI.SWIGOBFFCalculation4Upcast(cPtr), cMemoryOwn);
 
15
    swigCPtr = cPtr;
 
16
  }
 
17
 
 
18
  protected static long getCPtr(OBFFCalculation4 obj) {
 
19
    return (obj == null) ? 0 : obj.swigCPtr;
 
20
  }
 
21
 
 
22
  protected void finalize() {
 
23
    delete();
 
24
  }
 
25
 
 
26
  public synchronized void delete() {
 
27
    if(swigCPtr != 0 && swigCMemOwn) {
 
28
      swigCMemOwn = false;
 
29
      openbabelJNI.delete_OBFFCalculation4(swigCPtr);
 
30
    }
 
31
    swigCPtr = 0;
 
32
    super.delete();
 
33
  }
 
34
 
 
35
  public void setD(OBAtom value) {
 
36
    openbabelJNI.OBFFCalculation4_d_set(swigCPtr, this, OBAtom.getCPtr(value), value);
 
37
  }
 
38
 
 
39
  public OBAtom getD() {
 
40
    long cPtr = openbabelJNI.OBFFCalculation4_d_get(swigCPtr, this);
 
41
    return (cPtr == 0) ? null : new OBAtom(cPtr, false);
 
42
  }
 
43
 
 
44
  public void setIdx_d(int value) {
 
45
    openbabelJNI.OBFFCalculation4_idx_d_set(swigCPtr, this, value);
 
46
  }
 
47
 
 
48
  public int getIdx_d() {
 
49
    return openbabelJNI.OBFFCalculation4_idx_d_get(swigCPtr, this);
 
50
  }
 
51
 
 
52
  public void setPos_d(SWIGTYPE_p_double value) {
 
53
    openbabelJNI.OBFFCalculation4_pos_d_set(swigCPtr, this, SWIGTYPE_p_double.getCPtr(value));
 
54
  }
 
55
 
 
56
  public SWIGTYPE_p_double getPos_d() {
 
57
    long cPtr = openbabelJNI.OBFFCalculation4_pos_d_get(swigCPtr, this);
 
58
    return (cPtr == 0) ? null : new SWIGTYPE_p_double(cPtr, false);
 
59
  }
 
60
 
 
61
  public void setForce_d(SWIGTYPE_p_double value) {
 
62
    openbabelJNI.OBFFCalculation4_force_d_set(swigCPtr, this, SWIGTYPE_p_double.getCPtr(value));
 
63
  }
 
64
 
 
65
  public SWIGTYPE_p_double getForce_d() {
 
66
    long cPtr = openbabelJNI.OBFFCalculation4_force_d_get(swigCPtr, this);
 
67
    return (cPtr == 0) ? null : new SWIGTYPE_p_double(cPtr, false);
 
68
  }
 
69
 
 
70
  public OBFFCalculation4() {
 
71
    this(openbabelJNI.new_OBFFCalculation4(), true);
 
72
  }
 
73
 
 
74
}