Write out (whole) chain content to a stream.
| Return Type | Function name | Arguments |
|---|---|---|
| ostream& | operator<< | (ostream&,hzChain&,) |
Declared and defined in file: hzChain.cpp
Function Logic:
Function body:
ostream& operator<< (ostream& os)hzChain& Z,
{
// Category: Data Output
//
// Write out (whole) chain content to a stream.
//
// Arguments: 1) os The output stream
// 2) Z The chain to be written out
//
// Returns: Reference to the input stream
_hzfunc("std::istream& operator<< hzChain&") ;
_zblk* zb ; // Working block pointer
if (!Z.mx)
return os ;
for (zb = (_zblk*) Z.mx->m_Begin ; zb ; zb = zb->Next())
os.write(zb->m_Data, zb->m_nUsage) ;
return os ;
}