Main Page   Modules   Data Structures   File List   Data Fields   Globals  

incl/gendef.h File Reference

variables generales a l'application More...

#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <float.h>
#include <alloc.h>
#include <malloc.h>
#include <macro.h>
#include <funcdef.h>
#include <funcdecl.h>
#include <soft_version.h>
#include <error_codes.h>

Go to the source code of this file.

Defines

#define MINSHORT   SHRT_MIN
#define MININT   INT_MIN
#define MINLONG   LONG_MIN
#define MAXSHORT   SHRT_MAX
#define MAXINT   INT_MAX
#define MAXLONG   LONG_MAX
#define MAXDOUBLE   DBL_MAX
#define MAXFLOAT   FLT_MAX
#define MINDOUBLE   DBL_MIN
#define MINFLOAT   FLT_MIN
#define DMINEXP   DBL_MIN_EXP
#define FMINEXP   FLT_MIN_EXP
#define DMAXEXP   DBL_MAX_EXP
#define FMAXEXP   FLT_MAX_EXP
#define lg_name   80L
#define lg_ident   72L
#define lg_unit   48L
#define lg_label   16L
#define lg_hist   1024L
#define lg_version   4L
#define tble_nb_row   450L
#define tble_nb_col   256L
#define TRUE   1
#define FALSE   0
#define IMA_TYPE   'I'
#define TBL_TYPE   'T'
#define T_IMA1D   's'
#define T_IMA2D   'i'
#define T_TABLE   't'
#define T_TIGER   'T'
#define T_TIGMAX   'M'
#define DONT_KNOW   0
#define RAW_MPUP   1
#define PRE_MPUP   2
#define RAW_CAL_FRAME   3
#define PRE_CAL_FRAME   4
#define RAW_CAL_CUBE   5
#define WAV_CAL_CUBE   6
#define RAW_CON_FRAME   7
#define PRE_CON_FRAME   8
#define RAW_CON_CUBE   9
#define WAV_CON_CUBE   10
#define FLA_CON_CUBE   11
#define FLAT_CUBE   30
#define RAW_SKY_FRAME   12
#define PRE_SKY_FRAME   13
#define RAW_SKY_CUBE   14
#define WAV_SKY_CUBE   15
#define FLA_SKY_CUBE   16
#define RAW_OBJ_FRAME   17
#define PRE_OBJ_FRAME   18
#define RAW_OBJ_CUBE   19
#define WAV_OBJ_CUBE   20
#define FLA_OBJ_CUBE   21
#define COS_OBJ_CUBE   22
#define FLX_OBJ_CUBE   23
#define THR_SPEC   32
#define RAW_BIAS   24
#define DARK_FRAME   25
#define TBL_FILE   26
#define TBL_FILE_CAL   29
#define TBL_FILE_REF   31
#define MSK_FILE   27
#define MAX_FILE   28
#define REC_IMAGE   33
#define MER_OBJ_CUBE   35
#define DEBUG_FILE   36
#define BIAS_FRAME   37
#define SKY_OBJ_CUBE   38
#define LOSVD_RAW   39
#define LOSVD_FIT   40
#define TBL_FLUX_REF   41
#define SKY_FILE_REF   42
#define SKY_FILE_VAR   43
#define COS_CON_CUBE   44
#define COS_SKY_CUBE   45
#define HF_FLAT   46
#define FLT_CON_FRAME   47
#define FLT_CAL_FRAME   48
#define FLT_SKY_FRAME   49
#define FLT_OBJ_FRAME   50
#define SUPER_CLASS   99

Variables

int DEBUG
int VERBOSE
int TK
int ASK
int ASK_BACK


Detailed Description

variables generales a l'application

Author:
A.Rousset

Version:
1.0 1990-Jan-03 : Creation, AR
Copyright:
(c) 1992 Observatoire de Lyon - St Genis Laval (FRANCE)

Definition in file gendef.h.


Define Documentation

#define MINSHORT   SHRT_MIN
 

Definition at line 22 of file gendef.h.

#define MININT   INT_MIN
 

Definition at line 23 of file gendef.h.

#define MINLONG   LONG_MIN
 

Definition at line 24 of file gendef.h.

#define MAXSHORT   SHRT_MAX
 

Definition at line 25 of file gendef.h.

Referenced by extract_E3D_slice().

#define MAXINT   INT_MAX
 

Definition at line 26 of file gendef.h.

#define MAXLONG   LONG_MAX
 

Definition at line 27 of file gendef.h.

Referenced by extract_E3D_slice().

#define MAXDOUBLE   DBL_MAX
 

Definition at line 28 of file gendef.h.

Referenced by extract_E3D_slice().

#define MAXFLOAT   FLT_MAX
 

Definition at line 29 of file gendef.h.

Referenced by alloc_3D_max(), extract_E3D_slice(), open_E3D_file(), and spec_minmax().

#define MINDOUBLE   DBL_MIN
 

Definition at line 30 of file gendef.h.

#define MINFLOAT   FLT_MIN
 

Definition at line 31 of file gendef.h.

#define DMINEXP   DBL_MIN_EXP
 

Definition at line 32 of file gendef.h.

#define FMINEXP   FLT_MIN_EXP
 

Definition at line 33 of file gendef.h.

#define DMAXEXP   DBL_MAX_EXP
 

Definition at line 34 of file gendef.h.

#define FMAXEXP   FLT_MAX_EXP
 

Definition at line 35 of file gendef.h.

#define lg_name   80L
 

Definition at line 46 of file gendef.h.

Referenced by close_cube(), close_E3D_file(), close_frame(), close_spec(), close_table(), convert_datacube(), copy_table_desc(), create_cube(), create_E3D_file(), create_frame(), create_spec(), create_table(), delete_cube(), delete_E3D_file(), delete_frame(), delete_spec(), delete_table(), get_assoc_table_name(), get_ID_and_coordinates(), get_lens_coordinates(), get_lenses_coord(), get_lenses_coord_select(), get_lenses_no_from_table(), header_cube(), header_frame(), header_spec(), init_new_E3D_slice(), load_3D_max(), open_cube(), open_E3D_file(), open_frame(), open_spec(), open_table(), RD_catalog(), save_3D_max(), set_ID_and_coordinates(), set_lens_coordinates(), set_lenses_coord(), and WR_history().

#define lg_ident   72L
 

Definition at line 47 of file gendef.h.

Referenced by create_cube(), create_E3D_file(), create_frame(), create_spec(), create_table(), get_assoc_table_name(), get_E3D_frame(), header_cube(), header_frame(), header_spec(), open_cube(), open_E3D_file(), open_frame(), open_spec(), and open_table().

#define lg_unit   48L
 

Definition at line 48 of file gendef.h.

Referenced by create_col(), create_cube(), create_E3D_file(), create_frame(), create_spec(), delete_desc(), get_assoc_table_name(), get_col_name(), get_E3D_frame(), header_cube(), header_frame(), header_spec(), open_cube(), open_E3D_file(), open_frame(), open_spec(), RD_col(), RD_tbl(), search_in_col(), WR_desc(), WR_null(), and WR_tbl().

#define lg_label   16L
 

Definition at line 49 of file gendef.h.

Referenced by alloc_new_desc(), close_E3D_file(), CP_non_std_desc(), get_all_desc(), get_col_width(), open_E3D_file(), and set_tiger_group().

#define lg_hist   1024L
 

Definition at line 50 of file gendef.h.

Referenced by get_assoc_table_name(), get_E3D_frame(), header_cube(), header_frame(), header_spec(), open_cube(), open_E3D_file(), open_frame(), open_spec(), open_table(), and WR_history().

#define lg_version   4L
 

Definition at line 51 of file gendef.h.

Referenced by create_E3D_file(), get_assoc_table_name(), and open_E3D_file().

#define tble_nb_row   450L
 

Definition at line 54 of file gendef.h.

Referenced by create_table().

#define tble_nb_col   256L
 

Definition at line 55 of file gendef.h.

#define TRUE   1
 

Definition at line 58 of file gendef.h.

Referenced by handle_select_flag(), and write_selection().

#define FALSE   0
 

Definition at line 59 of file gendef.h.

Referenced by create_table(), and open_table().

#define IMA_TYPE   'I'
 

Definition at line 68 of file gendef.h.

Referenced by create_cube(), create_frame(), create_spec(), create_spec_mem(), file_format(), file_type(), get_E3D_frame(), header_cube(), header_frame(), header_spec(), open_cube(), open_frame(), and open_spec().

#define TBL_TYPE   'T'
 

Definition at line 69 of file gendef.h.

Referenced by create_table(), delete_desc(), file_format(), file_type(), open_table(), Read_one_desc(), and WR_desc().

#define T_IMA1D   's'
 

Definition at line 73 of file gendef.h.

Referenced by file_type().

#define T_IMA2D   'i'
 

Definition at line 74 of file gendef.h.

Referenced by file_type().

#define T_TABLE   't'
 

Definition at line 75 of file gendef.h.

Referenced by file_type().

#define T_TIGER   'T'
 

Definition at line 76 of file gendef.h.

Referenced by file_format().

#define T_TIGMAX   'M'
 

Definition at line 77 of file gendef.h.

Referenced by file_format().

#define DONT_KNOW   0
 

Definition at line 81 of file gendef.h.

#define RAW_MPUP   1
 

Definition at line 82 of file gendef.h.

#define PRE_MPUP   2
 

Definition at line 83 of file gendef.h.

#define RAW_CAL_FRAME   3
 

Definition at line 84 of file gendef.h.

#define PRE_CAL_FRAME   4
 

Definition at line 85 of file gendef.h.

#define RAW_CAL_CUBE   5
 

Definition at line 86 of file gendef.h.

#define WAV_CAL_CUBE   6
 

Definition at line 87 of file gendef.h.

#define RAW_CON_FRAME   7
 

Definition at line 88 of file gendef.h.

#define PRE_CON_FRAME   8
 

Definition at line 89 of file gendef.h.

#define RAW_CON_CUBE   9
 

Definition at line 90 of file gendef.h.

#define WAV_CON_CUBE   10
 

Definition at line 91 of file gendef.h.

#define FLA_CON_CUBE   11
 

Definition at line 92 of file gendef.h.

#define FLAT_CUBE   30
 

Definition at line 93 of file gendef.h.

#define RAW_SKY_FRAME   12
 

Definition at line 94 of file gendef.h.

#define PRE_SKY_FRAME   13
 

Definition at line 95 of file gendef.h.

#define RAW_SKY_CUBE   14
 

Definition at line 96 of file gendef.h.

#define WAV_SKY_CUBE   15
 

Definition at line 97 of file gendef.h.

#define FLA_SKY_CUBE   16
 

Definition at line 98 of file gendef.h.

#define RAW_OBJ_FRAME   17
 

Definition at line 99 of file gendef.h.

#define PRE_OBJ_FRAME   18
 

Definition at line 100 of file gendef.h.

#define RAW_OBJ_CUBE   19
 

Definition at line 101 of file gendef.h.

#define WAV_OBJ_CUBE   20
 

Definition at line 102 of file gendef.h.

#define FLA_OBJ_CUBE   21
 

Definition at line 103 of file gendef.h.

#define COS_OBJ_CUBE   22
 

Definition at line 104 of file gendef.h.

#define FLX_OBJ_CUBE   23
 

Definition at line 105 of file gendef.h.

#define THR_SPEC   32
 

Definition at line 106 of file gendef.h.

#define RAW_BIAS   24
 

Definition at line 107 of file gendef.h.

#define DARK_FRAME   25
 

Definition at line 108 of file gendef.h.

#define TBL_FILE   26
 

Definition at line 109 of file gendef.h.

#define TBL_FILE_CAL   29
 

Definition at line 110 of file gendef.h.

#define TBL_FILE_REF   31
 

Definition at line 111 of file gendef.h.

#define MSK_FILE   27
 

Definition at line 112 of file gendef.h.

#define MAX_FILE   28
 

Definition at line 113 of file gendef.h.

#define REC_IMAGE   33
 

Definition at line 114 of file gendef.h.

#define MER_OBJ_CUBE   35
 

Definition at line 115 of file gendef.h.

#define DEBUG_FILE   36
 

Definition at line 116 of file gendef.h.

#define BIAS_FRAME   37
 

Definition at line 117 of file gendef.h.

#define SKY_OBJ_CUBE   38
 

Definition at line 118 of file gendef.h.

#define LOSVD_RAW   39
 

Definition at line 119 of file gendef.h.

#define LOSVD_FIT   40
 

Definition at line 120 of file gendef.h.

#define TBL_FLUX_REF   41
 

Definition at line 121 of file gendef.h.

#define SKY_FILE_REF   42
 

Definition at line 122 of file gendef.h.

#define SKY_FILE_VAR   43
 

Definition at line 123 of file gendef.h.

#define COS_CON_CUBE   44
 

Definition at line 124 of file gendef.h.

#define COS_SKY_CUBE   45
 

Definition at line 125 of file gendef.h.

#define HF_FLAT   46
 

Definition at line 126 of file gendef.h.

#define FLT_CON_FRAME   47
 

Definition at line 127 of file gendef.h.

#define FLT_CAL_FRAME   48
 

Definition at line 128 of file gendef.h.

#define FLT_SKY_FRAME   49
 

Definition at line 129 of file gendef.h.

#define FLT_OBJ_FRAME   50
 

Definition at line 130 of file gendef.h.

#define SUPER_CLASS   99
 

Definition at line 131 of file gendef.h.

Referenced by read_file_class(), and write_file_class().


Variable Documentation

int DEBUG
 

Definition at line 137 of file gendef.h.

Referenced by parse_arg().

int VERBOSE
 

Definition at line 138 of file gendef.h.

Referenced by parse_arg().

int TK
 

Definition at line 139 of file gendef.h.

int ASK
 

Definition at line 140 of file gendef.h.

int ASK_BACK
 

Definition at line 141 of file gendef.h.

Referenced by confirme_erase(), sig_usr1(), and sig_usr2().


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