Return the value of the char currently pointed to by the iterator Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| char | hzChain::Iter::current | (void) |
Declared in file: hzChain.h
Defined in file : hzChain.cpp
Function Logic:
Function body:
char hzChain::Iter::current (void)
{
// Return the value of the char 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("hzChain::Iter::current") ;
_zblk* zp ; // Block pointer
if (!m_block)
return m_cDefault ;
zp = (_zblk*) m_block ;
return zp->m_Data[m_nOset] ;
}