| 1 |
/** |
| 2 |
* JNA-InChI - Library for calling InChI from Java |
| 3 |
* Copyright © 2018 Daniel Lowe |
| 4 |
* |
| 5 |
* This library is free software; you can redistribute it and/or |
| 6 |
* modify it under the terms of the GNU Lesser General Public |
| 7 |
* License as published by the Free Software Foundation; either |
| 8 |
* version 2.1 of the License, or (at your option) any later version. |
| 9 |
* |
| 10 |
* This program is distributed in the hope that it will be useful, |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
* GNU Lesser General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU Lesser General Public License |
| 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
*/ |
| 18 |
package io.github.dan2097.jnainchi.inchi; |
| 19 |
import java.util.Arrays; |
| 20 |
import java.util.List; |
| 21 |
|
| 22 |
import com.sun.jna.Structure; |
| 23 |
import com.sun.jna.Structure.ByReference; |
| 24 |
import com.sun.jna.ptr.IntByReference; |
| 25 |
import com.sun.jna.ptr.PointerByReference; |
| 26 |
/** |
| 27 |
* This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br> |
| 28 |
* a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br> |
| 29 |
* For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> , <a href="http://rococoa.dev.java.net/">Rococoa</a>, or <a href="http://jna.dev.java.net/">JNA</a>. |
| 30 |
*/ |
| 31 |
public class inchi_Input_V3000 extends Structure implements ByReference { |
| 32 |
public int n_non_star_atoms; |
| 33 |
public int n_star_atoms; |
| 34 |
/** |
| 35 |
* Index as supplied for atoms<br> |
| 36 |
* C type : int* |
| 37 |
*/ |
| 38 |
public IntByReference atom_index_orig; |
| 39 |
/** |
| 40 |
* = index or -1 for star atom<br> |
| 41 |
* C type : int* |
| 42 |
*/ |
| 43 |
public IntByReference atom_index_fin; |
| 44 |
/** Not used yet. */ |
| 45 |
public int n_sgroups; |
| 46 |
/** Not used yet. */ |
| 47 |
public int n_3d_constraints; |
| 48 |
public int n_collections; |
| 49 |
public int n_non_haptic_bonds; |
| 50 |
public int n_haptic_bonds; |
| 51 |
/** |
| 52 |
* Haptic_bonds[i] is pointer to int<br> |
| 53 |
* C type : int** |
| 54 |
*/ |
| 55 |
public PointerByReference lists_haptic_bonds; |
| 56 |
public int n_steabs; |
| 57 |
/** |
| 58 |
* steabs[k][0] - not used<br> |
| 59 |
* C type : int** |
| 60 |
*/ |
| 61 |
public PointerByReference lists_steabs; |
| 62 |
public int n_sterel; |
| 63 |
/** |
| 64 |
* sterel[k][0] - n from "STERELn" tag<br> |
| 65 |
* C type : int** |
| 66 |
*/ |
| 67 |
public PointerByReference lists_sterel; |
| 68 |
public int n_sterac; |
| 69 |
/** |
| 70 |
* sterac[k][0] - n from "STERACn" tag<br> |
| 71 |
* C type : int** |
| 72 |
*/ |
| 73 |
public PointerByReference lists_sterac; |
| 74 |
|
| 75 |
protected List<String> getFieldOrder() { |
| 76 |
return Arrays.asList("n_non_star_atoms", "n_star_atoms", "atom_index_orig", "atom_index_fin", "n_sgroups", "n_3d_constraints", "n_collections", "n_non_haptic_bonds", "n_haptic_bonds", "lists_haptic_bonds", "n_steabs", "lists_steabs", "n_sterel", "lists_sterel", "n_sterac", "lists_sterac"); |
| 77 |
} |
| 78 |
|
| 79 |
} |