Append chain by reading from a stream. Note this continues until no more bytes are available from the stream.
| Return Type | Function name | Arguments |
|---|---|---|
| istream& | operator>> | (istream&,hzChain&,) |
Declared and defined in file: hzChain.cpp
Function Logic:
Function body:
istream& operator>> (istream& is)hzChain& Z,
{
// Category: Data Input
//
// Append chain by reading from a stream. Note this continues until no more bytes are available from the stream.
//
// Arguments: 1) is The input stream
// 2) Z The chain populated by this operation
//
// Returns: Reference to the input stream
_hzfunc("std::istream& operator>> hzChain&") ;
char cvBuf [516]; // Working buffer
for (;;)
{
is.read(cvBuf, 512);
if (!is.gcount())
break ;
cvBuf[is.gcount()] = 0;
Z += cvBuf ;
}
return is ;
}