10 #define _TMST_MAGI_ "USTS"
11 #define _TMST_VERS_ "1.0"
12 #define _TMST_INOVAL_ ((1<<15)-1)
13 #define _TMST_FNOVAL_ ((pow(2.0,19.0)-1.0)/4.0)
39 int open_write_data( QString,
double = 0.0,
double = 0.0 );
45 int set_key( QString, QString );
51 int set_keys( QStringList&, QStringList& );
57 int set_keys( QStringList& );
63 int set_value( QString,
int );
69 int set_value( QString,
double );
75 int set_value( QString, QString );
79 int flush_record(
void );
84 int write_defs(
double = 0.0 );
88 int close_write_data(
void );
93 int open_read_data( QString );
104 int time_range(
bool*,
double*,
double* );
110 int field_keys( QStringList*, QStringList* );
115 int read_record(
int = -1 );
122 int time_ivalue(
const QString,
int* = 0 );
129 double time_dvalue(
const QString,
int* = 0 );
136 QString time_svalue(
const QString,
int* = 0 );
140 int close_read_data(
void );
145 QString error_message(
int );
149 QString last_error_message(
void );
156 static int dbCreate (
US_DB2*,
const int,
const QString );
162 static int dbDelete (
US_DB2*,
const int );
173 static int dbExamine (
US_DB2*,
int* = 0,
int* = 0, QString* = 0,
174 QString* = 0, QString* = 0, QDateTime* = 0 );
181 static int dbDownload(
US_DB2*,
const int,
const QString );
188 static int dbUpload (
US_DB2*,
const int,
const QString );
231 int uhword (
char* );
237 float fword (
char* );
239 double dword (
char* );
241 double d8word (
char* );
243 void store_hword (
char*,
int );
245 void store_iword (
char*,
int );
247 void store_fword (
char*,
double );
249 void store_dword (
char*,
double );
251 void store_hwords(
char*,
int*,
int );
253 void store_iwords(
char*,
int*,
int );
255 void store_fwords(
char*,
double*,
int );
257 int set_error (
int );
259 int key_parameters(
const QString,
int*,
int*,
int* );