#include <gtcdb.h>
Public Attributes | |
| int | id |
| id is a (per hash table unique) identifier for each database entry. | |
| int | hash |
| Hash value for this node. | |
| int | type |
| see gtcDBTypes. | |
| int | size |
| length of the value in bytes. | |
| void* | value |
| this is the actual object in the database. | |
| gtcDBNode* | next [2] |
| the next object in the hash entry. Each node is in two hash tables, hence two next pointers. | |
The "value" pointer is what you'd expect for the type for non array types. For array types, the pointer returned points to a vectype, where the first int is the size of the array.
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001