|
TPCCLIB
|
Check if the information in two IFT files is the same. More...
Go to the source code of this file.
Functions | |
| int | iftCheckKeyValue (IFT *ift1, IFT *ift2, char *key, int test_lt, int test_gt, double test_abs, int verbose) |
| int | iftCheckKeyValues (IFT *ift1, IFT *ift2, char *key1, char *key2, int test_lt, int test_gt, double test_abs, int verbose) |
Check if the information in two IFT files is the same.
Definition in file iftmatch.c.
| int iftCheckKeyValue | ( | IFT * | ift1, |
| IFT * | ift2, | ||
| char * | key, | ||
| int | test_lt, | ||
| int | test_gt, | ||
| double | test_abs, | ||
| int | verbose ) |
Verify that specified key string is found in both IFT structs with the same values. If more than one instance of key is found, then all are tested.
| ift1 | Pointer to filled IFT struct |
| ift2 | Pointer to filled IFT struct |
| key | Pointer to case-insensitive key name |
| test_lt | If set to non-zero, value in ift1 must be smaller than corresponding value in ift2 |
| test_gt | If set to non-zero, value in ift1 must be greater than corresponding value in ift2 |
| test_abs | Allowed absolute difference in values; set to <=0 if no difference is allowed. |
| verbose | Verbose level; if zero, nothing is printed into stdout or stderr |
Definition at line 258 of file iftmatch.c.
| int iftCheckKeyValues | ( | IFT * | ift1, |
| IFT * | ift2, | ||
| char * | key1, | ||
| char * | key2, | ||
| int | test_lt, | ||
| int | test_gt, | ||
| double | test_abs, | ||
| int | verbose ) |
Verify that items with specified key strings are found in both IFT structs, with the same item values. If more than one instance of key is found, then all of them are tested.
| ift1 | Pointer to filled IFT struct |
| ift2 | Pointer to filled IFT struct |
| key1 | Pointer to case-insensitive key name for ift1 |
| key2 | Pointer to case-insensitive key name for ift2 |
| test_lt | If set to non-zero, value in ift1 must be smaller than corresponding value in ift2 |
| test_gt | If set to non-zero, value in ift1 must be greater than corresponding value in ift2 |
| test_abs | Allowed absolute difference in values; set to <=0 if no difference is allowed. |
| verbose | Verbose level; if zero, nothing is printed into stdout or stderr |
Definition at line 351 of file iftmatch.c.