InChI
 
Loading...
Searching...
No Matches
inchi_gui.h
Go to the documentation of this file.
1/*
2 * International Chemical Identifier (InChI)
3 * Version 1
4 * Software version 1.07
5 * April 30, 2024
6 *
7 * MIT License
8 *
9 * Copyright (c) 2024 IUPAC and InChI Trust
10 *
11 * Permission is hereby granted, free of charge, to any person obtaining a copy
12 * of this software and associated documentation files (the "Software"), to deal
13 * in the Software without restriction, including without limitation the rights
14 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15 * copies of the Software, and to permit persons to whom the Software is
16 * furnished to do so, subject to the following conditions:
17 *
18 * The above copyright notice and this permission notice shall be included in all
19 * copies or substantial portions of the Software.
20 *
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27 * SOFTWARE.
28*
29* The InChI library and programs are free software developed under the
30 * auspices of the International Union of Pure and Applied Chemistry (IUPAC).
31 * Originally developed at NIST.
32 * Modifications and additions by IUPAC and the InChI Trust.
33 * Some portions of code were developed/changed by external contributors
34 * (either contractor or volunteer) which are listed in the file
35 * 'External-contributors' included in this distribution.
36 *
37 * info@inchi-trust.org
38 *
39*/
40
41
42#ifndef _INCHI_GUI_H_
43#define _INCHI_GUI_H_
44
45
46#include "strutil.h"
47#include "ichicomn.h"
48
49
50#ifndef COMPILE_ANSI_ONLY
51
52struct tagCANON_GLOBALS;
53
54
55int DisplayStructure( struct tagCANON_GLOBALS *pCG,
56 inp_ATOM *at,
57 int num_at,
58 OAD_Polymer *polymer,
59 int num_removed_H,
60 int bAdd_DT_to_num_H,
61 int nNumRemovedProtons,
62 NUM_H nNumRemovedProtonsIsotopic[],
63 int bIsotopic,
64 int j /*bTautomeric*/,
65 INChI **cur_INChI,
66 INChI_Aux **cur_INChI_Aux,
67 int bAbcNumbers,
68 DRAW_PARMS *dp,
69 INCHI_MODE nMode,
70 char *szTitle );
71
72int DisplayCompositeStructure( struct tagCANON_GLOBALS *pCG,
73 COMP_ATOM_DATA *composite_norm_data,
74 OAD_Polymer *polymer,
75 int bIsotopic,
76 int bTautomeric,
77 PINChI2 *pINChI2,
78 PINChI_Aux2 *pINChI_Aux2,
79 int bAbcNumbers,
80 DRAW_PARMS *dp,
81 INCHI_MODE nMode,
82 char *szTitle );
83
84
86 struct tagINCHI_CLOCK *ic,
87 struct tagStructData *sd,
88 INPUT_PARMS *ip,
89 char *szTitle,
90 INCHI_IOSTREAM *inp_file,
91 INCHI_IOSTREAM *log_file,
92 ORIG_ATOM_DATA *orig_inp_data,
93 long num_inp,
94 int iINChI,
95 int bShowStruct,
96 int bINCHI_LIB_Flag );
97
98int DisplayTheWholeCompositeStructure( struct tagCANON_GLOBALS *pCG,
99 struct tagINCHI_CLOCK *ic,
100 INPUT_PARMS *ip,
101 struct tagStructData *sd,
102 long num_inp,
103 int iINChI,
104 PINChI2 *pINChI2,
105 PINChI_Aux2 *pINChI_Aux2,
106 ORIG_ATOM_DATA *orig_inp_data,
107 ORIG_ATOM_DATA *prep_inp_data,
108 COMP_ATOM_DATA composite_norm_data[TAUT_NUM + 1] );
109
110
111void FillTableParms( SET_DRAW_PARMS *sdp,
112 INChI **cur_INChI,
113 INChI_Aux **cur_INChI_Aux,
114 INCHI_MODE nMode,
115 int bShowIsotopic,
116 int bShowTaut );
117
118void FillCompositeTableParms( SET_DRAW_PARMS *sdp,
119 AT_NUMB StereoFlags,
120 INCHI_MODE nMode,
121 int bShowIsotopic,
122 int bShowTaut );
123
124#endif
125
126#endif /* _INCHI_GUI_H_ */
INChI * PINChI2[TAUT_NUM]
Definition ichi.h:259
INChI_Aux * PINChI_Aux2[TAUT_NUM]
Definition ichi.h:302
unsigned short AT_NUMB
Definition ichisize.h:45
signed short NUM_H
Definition ichisize.h:49
unsigned long INCHI_MODE
Definition ichisize.h:60
#define TAUT_NUM
Definition mode.h:593
int DisplayStructure(struct tagCANON_GLOBALS *pCG, inp_ATOM *at, int num_at, OAD_Polymer *polymer, int num_removed_H, int bAdd_DT_to_num_H, int nNumRemovedProtons, NUM_H *nNumRemovedProtonsIsotopic, int bIsotopic, int j, INChI **cur_INChI, INChI_Aux **cur_INChI_Aux, int bAbcNumbers, DRAW_PARMS *dp, INCHI_MODE nMode, char *szTitle)
Definition runichi4.c:1222
int DisplayTheWholeStructure(struct tagCANON_GLOBALS *pCG, struct tagINCHI_CLOCK *ic, struct tagStructData *sd, INPUT_PARMS *ip, char *szTitle, INCHI_IOSTREAM *inp_file, INCHI_IOSTREAM *log_file, ORIG_ATOM_DATA *orig_inp_data, long num_inp, int iINChI, int bShowStruct, int bINCHI_LIB_Flag)
Definition runichi4.c:1204
Definition inpdef.h:240
Definition ichicant.h:338
Definition inpdef.h:443
Definition ichidrp.h:63
Definition ichidrp.h:78
Definition ichitime.h:85
Definition ichi.h:267
Definition ichi.h:209
Definition inpdef.h:110
Definition ichidrp.h:120
Definition inpdef.h:305
Definition mode.h:1030
Definition ichimain.h:77