|
nidas v1.2.3
|
Implemenation of xercesc::BinInputStream, which reads from a unix file descriptor. More...
#include <XMLFdBinInputStream.h>

Public Member Functions | |
| XMLFdBinInputStream (const std::string &n, int f) | |
| Constructor. | |
| ~XMLFdBinInputStream () | |
| XMLFilePos | curPos () const |
| XMLSize_t | readBytes (XMLByte *const toFill, const XMLSize_t maxToRead) |
| return number of bytes read, or 0 on EOF. | |
| const XMLCh * | getContentType () const |
Protected Attributes | |
| std::string | name |
| int | fd |
| XMLFilePos | curpos |
| bool | _eof |
Implemenation of xercesc::BinInputStream, which reads from a unix file descriptor.
Constructor.
| n | name of device - only used when reporting errors. |
| f | unix file descriptor of device that is already open. |
|
inline |
|
inline |
References curpos.
|
inline |
return number of bytes read, or 0 on EOF.
| nidas::util::IOException |
References _eof, curpos, fd, nidas::core::getSample(), and name.
|
protected |
Referenced by readBytes().
|
protected |
Referenced by curPos(), and readBytes().
|
protected |
Referenced by readBytes().
|
protected |
Referenced by readBytes().