Rteurns true if the iterator is at EOF. Returns false otherwise. Arguments: None
Return Type | Function name | Arguments |
---|---|---|
bool | hzXbuf::Iter::eof | (void) |
Declared in file: hzXbuf.h
Defined in file : hzXbuf.cpp
Function Logic:
Function body:
bool hzXbuf::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("hzXbuf::Iter::eof") ; _xblk* zp ; if (!m_block) return true ; zp = (_xblk*) m_block ; if (!zp) Fatal("Cannot access block %d\n", m_block) ; if (zp->Next()) return false ; return m_nOset < zp->xize ? false : true ; }