FreeXL
1.0.6
|
Container for a cell value. More...
#include <freexl.h>
Data Fields | |
unsigned char | type |
The type of data stored in this cell. More... | |
union { | |
int int_value | |
if type is FREEXL_CELL_INT, then the corresponding value will be returned as int_value | |
double double_value | |
if type is FREEXL_CELL_DOUBLE, then the corresponding value will be returned as double_value | |
const char * text_value | |
if type is FREEXL_CELL_TEXT, FREEXL_CELL_SST_TEXT, FREEXL_CELL_DATE, FREEXL_CELL_DATETIME or FREEXL_CELL_TIME the corresponding value will be returned as text_value | |
} | value |
The value of the data stored in the cell. More... | |
Container for a cell value.
freexl_get_cell_value() takes a pointer to this structure, and fills in the appropriate values.
unsigned char FreeXL_CellValue_str::type |
The type of data stored in this cell.
Can be one of the following:
union { ... } FreeXL_CellValue_str::value |
The value of the data stored in the cell.
Which part of the union is valid is determined by the type value.