OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <stdio.h>
#include <ossim/vpfutil/machine.h>
#include <ossim/ossimConfig.h>
#include <ossim/vpfutil/vpfio.h>
#include <ossim/vpfutil/values.h>
#include <math.h>
Go to the source code of this file.
Classes | |
union | null_field |
struct | header_cell |
struct | column_type |
struct | index_cell |
struct | vpf_table_type |
struct | coordinate_type |
struct | double_coordinate_type |
struct | tri_coordinate_type |
struct | double_tri_coordinate_type |
union | key_field |
struct | id_triplet_type |
Macros | |
#define | TRUE 1 |
#define | FALSE 0 |
#define | LEAST_SIGNIFICANT 0 |
#define | MOST_SIGNIFICANT 1 |
#define | MACHINE_BYTE_ORDER (vpfutilMachineByteOrder()) |
#define | RAM 0 |
#define | DISK 1 |
#define | EITHER 2 |
#define | COMPUTE 3 |
#define | CLOSED 0 |
#define | OPENED 1 |
#define | TYPE0(cell) ((cell>>6)&(3)) |
#define | TYPE1(cell) ((cell>>4)&(3)) |
#define | TYPE2(cell) ((cell>>2)&(3)) |
#define | TYPE3(cell) ((cell)&(3)) |
#define | SETTYPE0(cell, value) cell = (((cell)&(~(3<<6)))|(((3)&(value))<<6)) |
#define | SETTYPE1(cell, value) cell = (((cell)&(~(3<<4)))|(((3)&(value))<<4)) |
#define | SETTYPE2(cell, value) cell = (((cell)&(~(3<<2)))|(((3)&(value))<<2)) |
#define | SETTYPE3(cell, value) cell = (((cell)&(~(3)))|(((3)&(value)))) |
#define | ASSIGN_KEY(tYPE, kEY, loc, val) |
#define | VARIABLE_STRING_NULL_LENGTH 10 |
#define | NULLCHAR ' ' |
#define | NULLTEXT " " |
#define | NULLSHORT -MAXSHORT |
#define | NULLINT -MAXLONG |
#define | NULLDATE " " |
#define | NULLFLOAT ((float) quiet_nan (0)) |
#define | NULLDOUBLE ((double) quiet_nan (0)) |
Typedefs | |
typedef char | date_type[21] |
typedef struct header_cell * | header_type |
typedef column_type * | row_type |
typedef struct index_cell * | index_type |
Enumerations | |
enum | storage_type { ram, disk, either, compute } |
enum | file_mode { Read, Write } |
enum | ddef_state_type { idle_state, name_state, type_state, tuple_state, count_state } |
Variables | |
FILE * | errorfp |
#define ASSIGN_KEY | ( | tYPE, | |
kEY, | |||
loc, | |||
val | |||
) |
Definition at line 157 of file vpftable.h.
#define CLOSED 0 |
Definition at line 82 of file vpftable.h.
Referenced by ossimVpfTable::closeTable(), ossimVpfTable::getColumnValueAsString(), ossimVpfTable::goToRow(), ossimVpfTable::isClosed(), ossimVpfTable::print(), and ossimVpfTable::reset().
#define COMPUTE 3 |
Definition at line 78 of file vpftable.h.
#define DISK 1 |
Definition at line 76 of file vpftable.h.
Referenced by ossimVpfDatabaseHeader::open().
#define EITHER 2 |
Definition at line 77 of file vpftable.h.
#define FALSE 0 |
Definition at line 30 of file vpftable.h.
#define LEAST_SIGNIFICANT 0 |
Definition at line 34 of file vpftable.h.
#define MACHINE_BYTE_ORDER (vpfutilMachineByteOrder()) |
Definition at line 39 of file vpftable.h.
#define MOST_SIGNIFICANT 1 |
Definition at line 35 of file vpftable.h.
#define NULLCHAR ' ' |
Definition at line 194 of file vpftable.h.
#define NULLDATE " " |
Definition at line 198 of file vpftable.h.
#define NULLDOUBLE ((double) quiet_nan (0)) |
Definition at line 201 of file vpftable.h.
#define NULLFLOAT ((float) quiet_nan (0)) |
Definition at line 200 of file vpftable.h.
#define NULLINT -MAXLONG |
Definition at line 197 of file vpftable.h.
#define NULLSHORT -MAXSHORT |
Definition at line 196 of file vpftable.h.
#define NULLTEXT " " |
Definition at line 195 of file vpftable.h.
#define OPENED 1 |
Definition at line 83 of file vpftable.h.
Referenced by ossimVpfTable::getColumnValues().
#define RAM 0 |
Definition at line 75 of file vpftable.h.
#define SETTYPE0 | ( | cell, | |
value | |||
) | cell = (((cell)&(~(3<<6)))|(((3)&(value))<<6)) |
Definition at line 150 of file vpftable.h.
#define SETTYPE1 | ( | cell, | |
value | |||
) | cell = (((cell)&(~(3<<4)))|(((3)&(value))<<4)) |
Definition at line 151 of file vpftable.h.
#define SETTYPE2 | ( | cell, | |
value | |||
) | cell = (((cell)&(~(3<<2)))|(((3)&(value))<<2)) |
Definition at line 152 of file vpftable.h.
#define SETTYPE3 | ( | cell, | |
value | |||
) | cell = (((cell)&(~(3)))|(((3)&(value)))) |
Definition at line 153 of file vpftable.h.
#define TRUE 1 |
Definition at line 27 of file vpftable.h.
#define TYPE0 | ( | cell | ) | ((cell>>6)&(3)) |
Definition at line 143 of file vpftable.h.
#define TYPE1 | ( | cell | ) | ((cell>>4)&(3)) |
Definition at line 144 of file vpftable.h.
#define TYPE2 | ( | cell | ) | ((cell>>2)&(3)) |
Definition at line 145 of file vpftable.h.
#define TYPE3 | ( | cell | ) | ((cell)&(3)) |
Definition at line 146 of file vpftable.h.
#define VARIABLE_STRING_NULL_LENGTH 10 |
Definition at line 193 of file vpftable.h.
typedef char date_type[21] |
Definition at line 47 of file vpftable.h.
typedef struct header_cell * header_type |
typedef struct index_cell * index_type |
typedef column_type* row_type |
Definition at line 93 of file vpftable.h.
enum ddef_state_type |
Enumerator | |
---|---|
idle_state | |
name_state | |
type_state | |
tuple_state | |
count_state |
Definition at line 219 of file vpftable.h.
enum file_mode |
Enumerator | |
---|---|
Read | |
Write |
Definition at line 80 of file vpftable.h.
enum storage_type |
Enumerator | |
---|---|
ram | |
disk | |
either | |
compute |
Definition at line 74 of file vpftable.h.
row_type create_row | ( | vpf_table_type | table | ) |
void free_row | ( | row_type | row, |
vpf_table_type | table | ||
) |
Referenced by ossimVpfAnnotationFeatureInfo::buildPointFeature(), ossimVpfAnnotationFeatureInfo::buildTxtFeature(), ossimVpfTable::getColumnValueAsString(), ossimVpfTable::getColumnValues(), ossimVpfLibrary::getExtent(), ossimVpfBoundingRecordTable::openTable(), ossimVpfTable::print(), ossimVpfAnnotationFeatureInfo::readEdge(), ossimVpfAnnotationFeatureInfo::readGeoPolygon(), ossimVpfAnnotationFeatureInfo::readRngId(), ossimVpfAnnotationFeatureInfo::readStartEdgeId(), ossimVpfAnnotationFeatureInfo::readTableCellAsInt(), ossimVpfFeatureClassSchema::setFeatureClassMapping(), and ossimVpfLibrary::setTileNames().
char get_char | ( | ossim_int32 * | ind, |
char * | src | ||
) |
ossim_int32 get_number | ( | ossim_int32 * | ind, |
char * | src, | ||
char | delemit | ||
) |
row_type get_row | ( | ossim_int32 | row_number, |
vpf_table_type | table | ||
) |
char* get_string | ( | ossim_int32 * | ind, |
char * | src, | ||
char | delimit | ||
) |
void* get_table_element | ( | ossim_int32 | field_number, |
row_type | row, | ||
vpf_table_type | table, | ||
void * | value, | ||
ossim_int32 * | count | ||
) |
ossim_int32 index_length | ( | ossim_int32 | row_number, |
vpf_table_type | table | ||
) |
ossim_int32 index_pos | ( | ossim_int32 | row_number, |
vpf_table_type | table | ||
) |
Referenced by ossimVpfTable::goToRow(), and ossimVpfTable::reset().
int is_vpf_null_double | ( | double | num | ) |
Referenced by ossimVpfTable::getColumnValueAsString(), and ossimVpfTable::print().
int is_vpf_null_float | ( | float | num | ) |
ossim_int32 is_vpf_table | ( | const char * | fname | ) |
Referenced by ossimVpfDatabaseHeader::open(), and ossimVpfTable::openTable().
void* named_table_element | ( | char * | field_name, |
ossim_int32 | row_number, | ||
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 put_table_element | ( | ossim_int32 | field, |
row_type | row, | ||
vpf_table_type | table, | ||
void * | value, | ||
ossim_int32 | count | ||
) |
row_type read_next_row | ( | vpf_table_type | table | ) |
row_type read_row | ( | ossim_int32 | row_number, |
vpf_table_type | table | ||
) |
Referenced by ossimVpfAnnotationFeatureInfo::buildPointFeature(), ossimVpfAnnotationFeatureInfo::buildTxtFeature(), ossimVpfTable::getColumnValueAsString(), ossimVpfLibrary::getExtent(), ossimVpfBoundingRecordTable::openTable(), ossimVpfAnnotationFeatureInfo::readEdge(), ossimVpfAnnotationFeatureInfo::readGeoPolygon(), ossimVpfAnnotationFeatureInfo::readRngId(), ossimVpfAnnotationFeatureInfo::readStartEdgeId(), ossimVpfAnnotationFeatureInfo::readTableCellAsInt(), ossimVpfFeatureClassSchema::setFeatureClassMapping(), and ossimVpfLibrary::setTileNames().
char* read_text_defstr | ( | FILE * | infile, |
FILE * | outerr | ||
) |
void swap_eight | ( | char * | , |
char * | |||
) |
void swap_four | ( | char * | , |
char * | |||
) |
void swap_two | ( | char * | , |
char * | |||
) |
void* table_element | ( | ossim_int32 | field_number, |
ossim_int32 | row_number, | ||
vpf_table_type | table, | ||
void * | value, | ||
ossim_int32 * | count | ||
) |
ossim_int32 table_pos | ( | const char * | field_name, |
vpf_table_type | table | ||
) |
void vpf_close_table | ( | vpf_table_type * | table | ) |
Referenced by ossimVpfTable::closeTable().
void vpf_dump_doc_table | ( | char * | tablename, |
char * | outname | ||
) |
void vpf_dump_table | ( | char * | tablename, |
char * | outname | ||
) |
vpf_table_type vpf_open_table | ( | const char * | tablename, |
storage_type | storage, | ||
const char * | mode, | ||
char * | defstr | ||
) |
Referenced by ossimVpfDatabaseHeader::open(), and ossimVpfTable::openTable().
int vpfutilMachineByteOrder | ( | ) |
ossim_int32 write_next_row | ( | row_type | row, |
vpf_table_type * | table | ||
) |
FILE* errorfp |