34 #define LEAST_SIGNIFICANT 0 35 #define MOST_SIGNIFICANT 1 39 #define MACHINE_BYTE_ORDER (vpfutilMachineByteOrder()) 107 char description[81];
143 #define TYPE0(cell) ((cell>>6)&(3)) 144 #define TYPE1(cell) ((cell>>4)&(3)) 145 #define TYPE2(cell) ((cell>>2)&(3)) 146 #define TYPE3(cell) ((cell)&(3)) 150 #define SETTYPE0(cell,value) cell = (((cell)&(~(3<<6)))|(((3)&(value))<<6)) 151 #define SETTYPE1(cell,value) cell = (((cell)&(~(3<<4)))|(((3)&(value))<<4)) 152 #define SETTYPE2(cell,value) cell = (((cell)&(~(3<<2)))|(((3)&(value))<<2)) 153 #define SETTYPE3(cell,value) cell = (((cell)&(~(3)))|(((3)&(value)))) 157 #define ASSIGN_KEY(tYPE,kEY,loc,val)\ 162 } else if (val < (1<<8)) \ 166 } else if ( val < (1<<16)) \ 178 #if defined(__CYGWIN__) || defined(__APPLE__) || defined(USING_VISUALAGE) || defined(_WIN32) 187 double quiet_nan(
int unused);
193 #define VARIABLE_STRING_NULL_LENGTH 10 196 #define NULLSHORT -MAXSHORT 197 #define NULLINT -MAXLONG 200 #define NULLFLOAT ((float) quiet_nan (0)) 201 #define NULLDOUBLE ((double) quiet_nan (0)) 209 unsigned short int f2;
309 #if defined(__cplusplus)
void free_row(row_type row, vpf_table_type table)
char * read_text_defstr(FILE *infile, FILE *outerr)
row_type create_row(vpf_table_type table)
void swap_four(char *, char *)
vpf_table_type vpf_open_table(const char *tablename, storage_type storage, const char *mode, char *defstr)
void swap_two(char *, char *)
row_type read_row(ossim_int32 row_number, vpf_table_type table)
ossim_int32 get_number(ossim_int32 *ind, char *src, char delemit)
void * table_element(ossim_int32 field_number, ossim_int32 row_number, vpf_table_type table, void *value, ossim_int32 *count)
ossim_int32 index_pos(ossim_int32 row_number, vpf_table_type table)
ossim_int32 table_pos(const char *field_name, vpf_table_type table)
void * named_table_element(char *field_name, ossim_int32 row_number, vpf_table_type table, void *value, ossim_int32 *count)
ossim_int32 put_table_element(ossim_int32 field, row_type row, vpf_table_type table, void *value, ossim_int32 count)
void nullify_table_element(ossim_int32 field, row_type row, vpf_table_type table)
ossim_int32 parse_data_def(vpf_table_type *table)
ossim_int32 is_vpf_table(const char *fname)
ossim_int32 write_next_row(row_type row, vpf_table_type *table)
row_type get_row(ossim_int32 row_number, vpf_table_type table)
int is_vpf_null_float(float num)
unsigned int ossim_uint32
void vpf_dump_doc_table(char *tablename, char *outname)
void vpf_dump_table(char *tablename, char *outname)
void * get_table_element(ossim_int32 field_number, row_type row, vpf_table_type table, void *value, ossim_int32 *count)
int vpfutilMachineByteOrder()
ossim_int32 index_length(ossim_int32 row_number, vpf_table_type table)
int is_vpf_null_double(double num)
row_type read_next_row(vpf_table_type table)
void vpf_close_table(vpf_table_type *table)
char * get_string(ossim_int32 *ind, char *src, char delimit)
char get_char(ossim_int32 *ind, char *src)
struct index_cell * index_type
struct header_cell * header_type
void swap_eight(char *, char *)