InChI
 
Loading...
Searching...
No Matches
ichi_io.h File Reference
#include "mode.h"
+ Include dependency graph for ichi_io.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INCHI_STRBUF_INITIAL_SIZE   262144
 
#define INCHI_STRBUF_SIZE_INCREMENT   262144
 
#define INCHI_STRBUF_SMALLER_INITIAL_SIZE   1024
 
#define INCHI_STRBUF_SMALLER_SIZE_INCREMENT   4096
 
#define ITRACE_   0 && _inchi_trace
 

Functions

void inchi_ios_init (INCHI_IOSTREAM *ios, int io_type, FILE *f)
 
void inchi_ios_flush (INCHI_IOSTREAM *ios)
 
void inchi_ios_flush2 (INCHI_IOSTREAM *ios, FILE *f2)
 
void inchi_ios_close (INCHI_IOSTREAM *ios)
 
void inchi_ios_reset (INCHI_IOSTREAM *ios)
 
void inchi_ios_free_str (INCHI_IOSTREAM *ios)
 
int inchi_ios_create_copy (INCHI_IOSTREAM *ios, INCHI_IOSTREAM *ios0)
 
int inchi_ios_gets (char *szLine, int len, INCHI_IOSTREAM *ios, int *bTooLongLine)
 
int inchi_ios_getsTab (char *szLine, int len, INCHI_IOSTREAM *ios, int *bTooLongLine)
 
int inchi_ios_getsTab1 (char *szLine, int len, INCHI_IOSTREAM *ios, int *bTooLongLine)
 
int inchi_ios_print (INCHI_IOSTREAM *ios, const char *lpszFormat,...)
 
int inchi_ios_print_nodisplay (INCHI_IOSTREAM *ios, const char *lpszFormat,...)
 
int inchi_ios_flush_not_displayed (INCHI_IOSTREAM *ios)
 
int push_to_winchi_text_window (INCHI_IOSTREAM *ios)
 
int inchi_ios_eprint (INCHI_IOSTREAM *ios, const char *lpszFormat,...)
 
int inchi_fprintf (FILE *f, const char *lpszFormat,...)
 
int inchi_print_nodisplay (FILE *f, const char *lpszFormat,...)
 
char * inchi_fgetsLf (char *line, int line_len, INCHI_IOSTREAM *inp_stream)
 
int inchi_fgetsLfTab (char *szLine, int len, FILE *f)
 
char * inchi_sgets (char *s, int n, INCHI_IOSTREAM *ios)
 
int inchi_strbuf_init (INCHI_IOS_STRING *buf, int start_size, int incr_size)
 
void inchi_strbuf_reset (INCHI_IOS_STRING *buf)
 
void inchi_strbuf_close (INCHI_IOS_STRING *buf)
 
int inchi_strbuf_printf (INCHI_IOS_STRING *buf, const char *lpszFormat,...)
 
int inchi_strbuf_printf_from (INCHI_IOS_STRING *buf, int npos, const char *lpszFormat,...)
 
int inchi_strbuf_create_copy (INCHI_IOS_STRING *buf2, INCHI_IOS_STRING *buf)
 
int inchi_strbuf_update (INCHI_IOS_STRING *buf, int new_addition_size)
 
int inchi_strbuf_getline (INCHI_IOS_STRING *buf, FILE *f, int crlf2lf, int preserve_lf)
 
int inchi_strbuf_addline (INCHI_IOS_STRING *buf, INCHI_IOSTREAM *inp_stream, int crlf2lf, int preserve_lf)
 
void print_sequence_of_nums_compressing_ranges (int n, int *num, INCHI_IOS_STRING *strbuf)
 
int _inchi_trace (char *format,...)
 
int Output_RecordInfo (INCHI_IOSTREAM *out_file, int num_input_struct, int bNoStructLabels, const char *szSdfLabel, const char *szSdfValue, unsigned long lSdfId, char *pLF, char *pTAB)
 

Macro Definition Documentation

◆ INCHI_STRBUF_INITIAL_SIZE

#define INCHI_STRBUF_INITIAL_SIZE   262144

◆ INCHI_STRBUF_SIZE_INCREMENT

#define INCHI_STRBUF_SIZE_INCREMENT   262144

◆ INCHI_STRBUF_SMALLER_INITIAL_SIZE

#define INCHI_STRBUF_SMALLER_INITIAL_SIZE   1024

◆ INCHI_STRBUF_SMALLER_SIZE_INCREMENT

#define INCHI_STRBUF_SMALLER_SIZE_INCREMENT   4096

◆ ITRACE_

#define ITRACE_   0 && _inchi_trace

Function Documentation

◆ _inchi_trace()

int _inchi_trace ( char *  format,
  ... 
)

◆ inchi_fgetsLf()

char * inchi_fgetsLf ( char *  line,
int  line_len,
INCHI_IOSTREAM inp_stream 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_fgetsLfTab()

int inchi_fgetsLfTab ( char *  szLine,
int  len,
FILE *  f 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_fprintf()

int inchi_fprintf ( FILE *  f,
const char *  lpszFormat,
  ... 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_ios_close()

void inchi_ios_close ( INCHI_IOSTREAM ios)
+ Here is the caller graph for this function:

◆ inchi_ios_create_copy()

int inchi_ios_create_copy ( INCHI_IOSTREAM ios,
INCHI_IOSTREAM ios0 
)

◆ inchi_ios_eprint()

int inchi_ios_eprint ( INCHI_IOSTREAM ios,
const char *  lpszFormat,
  ... 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_ios_flush()

void inchi_ios_flush ( INCHI_IOSTREAM ios)
+ Here is the caller graph for this function:

◆ inchi_ios_flush2()

void inchi_ios_flush2 ( INCHI_IOSTREAM ios,
FILE *  f2 
)
+ Here is the caller graph for this function:

◆ inchi_ios_flush_not_displayed()

int inchi_ios_flush_not_displayed ( INCHI_IOSTREAM ios)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_ios_free_str()

void inchi_ios_free_str ( INCHI_IOSTREAM ios)
+ Here is the caller graph for this function:

◆ inchi_ios_gets()

int inchi_ios_gets ( char *  szLine,
int  len,
INCHI_IOSTREAM ios,
int *  bTooLongLine 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_ios_getsTab()

int inchi_ios_getsTab ( char *  szLine,
int  len,
INCHI_IOSTREAM ios,
int *  bTooLongLine 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_ios_getsTab1()

int inchi_ios_getsTab1 ( char *  szLine,
int  len,
INCHI_IOSTREAM ios,
int *  bTooLongLine 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_ios_init()

void inchi_ios_init ( INCHI_IOSTREAM ios,
int  io_type,
FILE *  f 
)
+ Here is the caller graph for this function:

◆ inchi_ios_print()

int inchi_ios_print ( INCHI_IOSTREAM ios,
const char *  lpszFormat,
  ... 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_ios_print_nodisplay()

int inchi_ios_print_nodisplay ( INCHI_IOSTREAM ios,
const char *  lpszFormat,
  ... 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_ios_reset()

void inchi_ios_reset ( INCHI_IOSTREAM ios)
+ Here is the caller graph for this function:

◆ inchi_print_nodisplay()

int inchi_print_nodisplay ( FILE *  f,
const char *  lpszFormat,
  ... 
)
+ Here is the caller graph for this function:

◆ inchi_sgets()

char * inchi_sgets ( char *  s,
int  n,
INCHI_IOSTREAM ios 
)
+ Here is the caller graph for this function:

◆ inchi_strbuf_addline()

int inchi_strbuf_addline ( INCHI_IOS_STRING buf,
INCHI_IOSTREAM inp_stream,
int  crlf2lf,
int  preserve_lf 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_strbuf_close()

void inchi_strbuf_close ( INCHI_IOS_STRING buf)
+ Here is the caller graph for this function:

◆ inchi_strbuf_create_copy()

int inchi_strbuf_create_copy ( INCHI_IOS_STRING buf2,
INCHI_IOS_STRING buf 
)
+ Here is the caller graph for this function:

◆ inchi_strbuf_getline()

int inchi_strbuf_getline ( INCHI_IOS_STRING buf,
FILE *  f,
int  crlf2lf,
int  preserve_lf 
)
+ Here is the call graph for this function:

◆ inchi_strbuf_init()

int inchi_strbuf_init ( INCHI_IOS_STRING buf,
int  start_size,
int  incr_size 
)
+ Here is the caller graph for this function:

◆ inchi_strbuf_printf()

int inchi_strbuf_printf ( INCHI_IOS_STRING buf,
const char *  lpszFormat,
  ... 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inchi_strbuf_printf_from()

int inchi_strbuf_printf_from ( INCHI_IOS_STRING buf,
int  npos,
const char *  lpszFormat,
  ... 
)
+ Here is the call graph for this function:

◆ inchi_strbuf_reset()

void inchi_strbuf_reset ( INCHI_IOS_STRING buf)
+ Here is the caller graph for this function:

◆ inchi_strbuf_update()

int inchi_strbuf_update ( INCHI_IOS_STRING buf,
int  new_addition_size 
)
+ Here is the caller graph for this function:

◆ Output_RecordInfo()

int Output_RecordInfo ( INCHI_IOSTREAM out_file,
int  num_input_struct,
int  bNoStructLabels,
const char *  szSdfLabel,
const char *  szSdfValue,
unsigned long  lSdfId,
char *  pLF,
char *  pTAB 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ print_sequence_of_nums_compressing_ranges()

void print_sequence_of_nums_compressing_ranges ( int  n,
int *  num,
INCHI_IOS_STRING strbuf 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ push_to_winchi_text_window()

int push_to_winchi_text_window ( INCHI_IOSTREAM ios)
+ Here is the caller graph for this function: