Main Page   Modules   Data Structures   File List   Data Fields   Globals  

incl/iofuncdecl.h

Go to the documentation of this file.
00001 /* === Doxygen File Comment ============================== */
00009 /* ======================================================= */
00010 
00011 /*    functions contained in iolib.c   */
00012 
00013 void init_session(char **, int , char ***, char ***);
00014 void exit_session(int);
00015 void stop_by_user();
00016 int RD_desc(void *, char *, short, int, void *);
00017 int WR_desc(void *, char *, short, int, void *);
00018 int delete_desc(void *, char *);
00019 int write_file_class(void *anyfile,int type);
00020 int read_file_class(void *anyfile);
00021 int add_file_class(void *anyfile,int type);
00022 int check_file_class(void *anyfile,int type);
00023 int get_all_desc(void *, char ***);
00024 int get_descr_type(void *, char *, short *);
00025 int CP_non_std_desc(void *, void *);
00026 int WR_history(void *, void *); 
00027 int create_spec(SPECTRUM *, char *, int, double, double, short, char*, char*);
00028 int header_spec(SPECTRUM *, char *, char *);
00029 int open_spec(SPECTRUM *, char *, char *);
00030 int close_spec(SPECTRUM *);
00031 int delete_spec(SPECTRUM *);
00032 int create_spec_mem(SPECTRUM *, int, double, double, short);
00033 int create_frame(IMAGE2D*, char*, int*, double*, double*, short, char*, char*);
00034 int header_frame(IMAGE2D *, char *, char *);
00035 int open_frame(IMAGE2D *, char *, char *);
00036 int close_frame(IMAGE2D *);
00037 int delete_frame(IMAGE2D *);
00038 int create_table(TABLE *, char *, int, int, char, char *); 
00039 int open_table(TABLE *, char *, char *);
00040 int close_table(TABLE *);
00041 int handle_select_flag(TABLE *, char, char *);
00042 int write_selection(TABLE *,int *, char *);
00043 int get_col_ref (TABLE *, char *);
00044 int get_col_info (TABLE *, int, int *, char *, char *);
00045 int get_col_name (TABLE *, int, char *);
00046 int create_col(TABLE *, char *, short, char, char *, char *);
00047 int search_in_col (TABLE *, int, void *);
00048 int delete_col (TABLE *, int);
00049 int delete_row (TABLE *, int);
00050 int RD_col(TABLE *, int, void *);
00051 int RD_tbl(TABLE *, int, int, void *);
00052 int WR_tbl(TABLE *, int, int, void *);
00053 int WR_null(TABLE *, int, int);
00054 int delete_table(TABLE *);
00055 int create_cube(IMAGE3D*, char*, int*, double*, double*, short, char*, char*);
00056 int header_cube(IMAGE3D *, char *, char *);
00057 int open_cube(IMAGE3D *, char *, char *);
00058 int close_cube(IMAGE3D *);
00059 int delete_cube(IMAGE3D *);
00060 int RD_catalog(char *, char *);
00061 
00062 /*    functions contained in io_utils.c   */
00063 
00064 int set_inputformat(char *);
00065 int set_outputformat(char *);
00066 int set_user_dataformat();
00067 int get_iomode_code(short ,int);
00068 int get_datatype_code(short , short );
00069 short decode_datatype(short , short );
00070 int sizeof_item(short );
00071 void coord_frame(IMAGE2D *,int ,int , float *, float *);
00072 void pixel_frame(IMAGE2D *, float, float, int *, int *);
00073 int set_subspec(SPECTRUM *, double, double);
00074 int subspec_minmax(SPECTRUM *);
00075 int spec_minmax(SPECTRUM *);
00076 int inter_spec(SPECTRUM *,SPECTRUM *);
00077 int image_minmax(IMAGE2D *);
00078 int flip_frame(IMAGE2D *);
00079 int cube_minmax(IMAGE3D *);
00080 
00081 /*    functions contained in io_misc.c   */
00082 
00083 int set_path(Anyfile *, char *);
00084 int set_inputformat(char *);
00085 int set_outputformat(char *);
00086 short user_dataformat(); 
00087 void append_ima_extension(char *, short);
00088 void append_tbl_extension(char *, short);
00089 void append_datacube_extension(char *, short);
00090 void remove_file_extension(char *);
00091 char *file_format(char *);
00092 int file_type(char *);
00093 int get_iomode_code(short, int);
00094 int get_datatype_code(short, short);
00095 short decode_datatype(short, short);
00096 int sizeof_item(short);
00097 int alloc_spec_mem(SPECTRUM *, short);
00098 int free_spec_mem(SPECTRUM *);
00099 int alloc_frame_mem(IMAGE2D *, short);
00100 int free_frame_mem(IMAGE2D *);
00101 int alloc_cube_mem(IMAGE3D *, short);
00102 int free_cube_mem(IMAGE3D *);
00103 int alloc_new_desc(Anyfile *, short, int); 
00104 int free_all_desc(Anyfile *);
00105 int read_file_class(void *);
00106 int check_file_class(void *, int);
00107 int add_file_class(void *, int);
00108 int write_file_class(void *, int);
00109 int set_super_class(void *);
00110 int unset_super_class(void *);
00111 int fits_bitpix(short);
00112 int fits_datatype(int);
00113 int fits_non_std_desc(char *);
00114 int copy_table_desc(void *, void *);
00115 
00116 /* functions used in fit_poly.c (poly) */
00117 void save_poly_nag(double *, long, SPECTRUM *);
00118 double val_poly_nag(double, double *,long, double, double, int *);
00119 int fit_poly_rej_nag(SPECTRUM *, long, double, double,int, double *,
00120     int *, double *, int *, double, double, int *);
00121 int fit_poly_rej_nag_tab(double *, double *, double *, long, long, double, double,
00122     int, double *, int *, double *, int *, double, double, int *);
00123 double val_minipoly(double, double *, long, double, double);
00124 void save_minipoly_nag(double *, long, SPECTRUM *, double, double);
00125 void fit_minipoly_rej_nag_tab(double *, double *, long, long, double, double,
00126     int, double *, double, double, int *, double *);
00127 int fit_xpoly_rej_nag_tab(double *, double *, double *, long, long, double, double,
00128     int, double *, int *, double *, int *);
00129 int fit_spline_nag(SPECTRUM *, double, double *, double *, long *, double *, 
00130                     double *);
00131 int fit_spline_with_knots(double *, double *, int , double *, 
00132                     double *, long , double *, double *);
00133 double val_spline_nag(double, double *, long, double *);
00134 
00135 /* functions defined in version.c */
00136 int set_version(char *);
00137 int set_purpose(char *);

Generated on Tue Jul 1 17:35:45 2003 for IFU_C_iolibs by doxygen1.3