Defined in header file: hzDatabase.h
ENUM of legal HadronZoo data types and data type groupings. Note that for groups 1 and 2 below, the hdbBasetype is fully qualified. Groups 3, 4 and 5 are general data types and require further qualification, i.e. must be named.
Enum definition:
enum hdbBasetype
{
| BASETYPE_UNDEF | Null data type, not grouped | ||
| BASETYPE_CPP_UNDEF | C++ type but not yet defined | ||
| BASETYPE_DIGEST | 128-bit MD5 hash value | ||
| BASETYPE_DOUBLE | 64 bit floating point value | ||
| BASETYPE_INT64 | 64-bit Signed integer | ||
| BASETYPE_INT32 | 32-bit Signed integer | ||
| BASETYPE_INT16 | 16-bit Signed integer | ||
| BASETYPE_BYTE | 8-bit Signed integer | ||
| BASETYPE_UINT64 | 64-bit Positive integer | ||
| BASETYPE_UINT32 | 32-bit Positive integer | ||
| BASETYPE_UINT16 | 16-bit Positive integer | ||
| BASETYPE_UBYTE | 8-bit Positive integer | ||
| BASETYPE_BOOL | Either true or false, cannot be empty or have mutiple values | ||
| BASETYPE_HZO_UNDEF | HadronZoo inbuilt type but not yet defined | ||
| BASETYPE_TBOOL | Either true, false or don't know (empty). Cannot have mutiple values | ||
| BASETYPE_DOMAIN | Internet domain | ||
| BASETYPE_EMADDR | Email Address | ||
| BASETYPE_URL | Universal Resource Locator | ||
| BASETYPE_IPADDR | IP Address | ||
| BASETYPE_TIME | No of seconds since midnight (4 bytes) | ||
| BASETYPE_SDATE | No of days since Jan 1st year 0000 | ||
| BASETYPE_XDATE | Full date & time | ||
| BASETYPE_PHONE | Internationl phone number | ||
| BASETYPE_STRING | Any string, treated as a single value | ||
| BASETYPE_TEXT | Any string, treated as a series of words and indexable. Cannot have multiple values. | ||
| BASETYPE_BINARY | Binary object, assummed to be un-indexable (e.g. image). No multiple values. Disk only. | ||
| BASETYPE_TXTDOC | Document from which text can be extracted and so indexed. No multiple values. Disk only. | ||
| BASETYPE_ENUM | Data enumeration | ||
| BASETYPE_APPDEF | String subject to special interpretation by the application (e.g. serial numbers). | ||
| BASETYPE_CLASS | subclass (instances stored as part of host class instance). |
} ;