gSAFE
1.3.8
|
Classes | |
class | HBase |
class | HCharHash |
class | HCheck |
class | HConnect |
class | HDataChangeLogger |
class | HDataField |
class | HDataFieldRole |
class | HDate |
class | HDynTable |
class | HDynTableElement |
class | HDynTableSqlConnector |
class | HFloating |
class | HFloatTables |
class | HFloatTablesAsHList |
class | HKey |
class | HLargeText |
class | HList |
class | HNumber |
class | HNumHash |
class | HPlainDataMatrix |
class | HRefreshAgent |
class | HRefreshAgentNetclient |
class | HRefreshAgentNetserver |
class | HSmallText |
class | HSqlChoose |
class | HSqlHandler |
class | HSqlInterface |
class | HSqlSingleInterface |
class | HSqlSingleInterface_MysqlLin |
class | HSqlSingleInterface_MysqlOdbcWin |
class | HSqlSingleInterface_PostgresqlLin |
class | HSqlSingleInterface_PsqlOdbcWin |
class | HSqlSingleInterface_SqliteLin |
class | HSqlSingleInterface_SqliteWin |
class | HStatic |
class | HTable |
class | HTableBase |
class | HTimestamp |
class | HXmlWriter |
Macros | |
#define | FLOATTABLES_STS_ALIVE 1 |
#define | FLOATTABLES_STS_CANCELLED 4 |
#define | FLOATTABLES_STS_DELETED 3 |
#define | FLOATTABLES_STS_NEW 2 |
#define | FLOATTABLES_STS_UNDEF 0 |
#define | GSAFE_VERSION "1.3.8" |
#define | HASHMUL 1.5 |
#define | HDYNELEMENT_DOUBLE 1 |
#define | HDYNELEMENT_STRING 0 |
#define | HEAD true |
#define | INNER_JOIN 0 |
#define | LEFT_OUTER_JOIN 1 |
#define | MAX_SQL_INTERFACES 7 |
#define | MODULE_REFRESHAGENT_NETCLIENT 1 |
#define | MODULE_REFRESHAGENT_NETSERVER 1 |
#define | PROGRESS_POSSIBILITY 1 |
#define | REFRESHAGENT_TCPPORT 1234 |
#define | ROUND_FLOOR 1 |
#define | ROUND_MATH 0 |
#define | VALUE false |
Functions | |
int | charcodehash (const char *c) |
QString | convNationalToHtmlCodes (QString input) |
QStringList * | deep_copy_stringlist (QStringList *target, QStringList *source) |
QString | doubleToQString (double val, int min, int max, int group) |
int | dropchar (const char *c) |
double | dRound (double val, int mode=ROUND_MATH) |
void | error (QString s) |
int | getIndexOf (QStringList l, QString s) |
int | my_dtoa (double v, char *buffer, int bufflen, int min, int max, int group) |
int | nullhash (const char *c) |
void | setErrorLocal (QString s) |
#define HASHMUL 1.5 |
This multiplier is used in HSqlChoose. It is determine the over allocation of the hash table. If the multiplier is bigger, it will be less collision but will use more memory. Must be greater than 1.0.
QStringList* deep_copy_stringlist | ( | QStringList * | target, |
QStringList * | source | ||
) |
Deepcopy a stringlist to another
Definition at line 54 of file datalib.cpp.
QString doubleToQString | ( | double | val, |
int | min, | ||
int | max, | ||
int | group | ||
) |
Converts a double value to QString. It uses the my_dtoa function inside.
Definition at line 273 of file datalib.cpp.
double dRound | ( | double | val, |
int | mode = ROUND_MATH |
||
) |
Round a double value.
val | the value to round |
mode | the round mode. Can be ROUND_MATH or ROUND_FLOOR |
Definition at line 286 of file datalib.cpp.
void error | ( | QString | s | ) |
Pops up an error message with QMessageBox. You can call this function everywhere in the program. (It blocks the execution)
s | the error string |
Definition at line 37 of file datalib.cpp.
int my_dtoa | ( | double | v, |
char * | buffer, | ||
int | bufflen, | ||
int | min, | ||
int | max, | ||
int | group | ||
) |
Converts a double value to char * string
v | the double value to convert |
buffer | the buffer wehre the string is written |
bufflen | the size of the buffer. (limits the max length of converted string) |
min | specified the minimum displayed decimal digit fragments. |
max | specified the maximum displayed decimal digit fragments. |
group | the displayed digits will be groupped by three digit. (if group==1 means "2334455.34" displayed "2 334 455.45" ) |
Definition at line 109 of file datalib.cpp.