Clear the map of all keys and elements: Begin at root and take the least pointer out to the lowest data node and pass through the list of data nodes deleting them. Then drop back one level to delete the index nodes level by level Arguments: None Returns: None
| Return Type | Function name | Arguments |
|---|---|---|
| void | _hz_tmpl_ISAM::Clear | (void) |
Declared and defined in file: hzIsamT.h
Function Logic:
Function body:
void _hz_tmpl_ISAM::Clear (void)
{
// Clear the map of all keys and elements: Begin at root and take the least pointer out to the lowest data node and pass through the list of data nodes deleting them. Then
// drop back one level to delete the index nodes level by level
//
// Arguments: None
// Returns: None
LockWrite() ;
_clear() ;
Unlock() ;
}