Return the value of the uchar currently pointed to by the iterator Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| unsigned char | hzXbuf::Iter::current | (void) |
Declared in file: hzXbuf.h
Defined in file : hzXbuf.cpp
Function Logic:
Function body:
unsigned char hzXbuf::Iter::current (void)
{
// Return the value of the uchar currently pointed to by the iterator
//
// Arguments: None
//
// Returns: >0 The current character of the chain iterator
// 0 If the chain iterator is at the end of the chan or the chain is empty
_hzfunc("hzXbuf::Iter::current") ;
_xblk* zp ; // Block pointer
if (!m_block)
return m_cDefault ;
zp = (_xblk*) m_block ;
return zp->m_Data[m_nOset] ;
}