Starting from the root node and moving out to data nodes, this checks that nodes do not contain null pointers, have correct parent pointers and have correct cumulative values
| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | _hz_tmpl_ISAM::NodeReport | (bool,) |
Declared in file: hzIsamT.h
Defined in file : hzIsamT.cpp
Function Logic:
Function body:
hzEcode _hz_tmpl_ISAM::NodeReport (bool bData)
{
// Category: Diagnostics
//
// Starting from the root node and moving out to data nodes, this checks that nodes do not contain null pointers, have correct parent pointers and have
// correct cumulative values
//
// Arguments: 1) bData If set, print data object
//
// Returns: E_CORRUPT If any node has integrity issues
// E_OK If all nodes succeed
_hzfunc("_hz_tmpl_ISAM::NodeReport") ;
hzLogger* plog ; // Current thread logger
hzEcode rc = E_OK ; // Return code
plog = GetThreadLogger() ;
if (plog)
{
if (!m_pRoot)
{ plog->Out("The _hz_tmpl_ISAM object is empty\n") ; return E_OK ; }
if (!_shownode(m_pRoot, plog, bData))
rc = E_CORRUPT ;
}
return rc ;
}