Rteurns true if the iterator is at EOF. Returns false otherwise. Arguments: None
Return Type | Function name | Arguments |
---|---|---|
bool | hzChain::Iter::eof | (void) |
Declared in file: hzChain.h
Defined in file : hzChain.cpp
Function Logic:
Function body:
bool hzChain::Iter::eof (void) { // Rteurns true if the iterator is at EOF. Returns false otherwise. // // Arguments: None // // Returns: True If the iterator is at EOF // False If the iterator is still valid _hzfunc("hzChain::Iter::eof") ; _zblk* zp ; if (!m_block) return true ; zp = (_zblk*) m_block ; if (!zp) Fatal("Cannot access block %d\n", m_block) ; if (zp->Next()) return false ; return m_nOset < zp->m_nUsage ? false : true ; }