Implemenation of xercesc::BinInputStream, which reads from a unix file descriptor.
More...
#include <XMLFdBinInputStream.h>
Implemenation of xercesc::BinInputStream, which reads from a unix file descriptor.
nidas::core::XMLFdBinInputStream::XMLFdBinInputStream |
( |
const std::string & |
n, |
|
|
int |
f |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
n | name of device - only used when reporting errors. |
f | unix file descriptor of device that is already open. |
nidas::core::XMLFdBinInputStream::~XMLFdBinInputStream |
( |
| ) |
|
|
inline |
unsigned int nidas::core::XMLFdBinInputStream::curPos |
( |
| ) |
const |
|
inline |
unsigned int nidas::core::XMLFdBinInputStream::readBytes |
( |
XMLByte *const |
toFill, |
|
|
const unsigned int |
maxToRead |
|
) |
| |
throw | ( | nidas::util::IOException |
| ) | | |
|
inline |
return number of bytes read, or 0 on EOF.
References _eof, curpos, fd, and name.
bool nidas::core::XMLFdBinInputStream::_eof |
|
protected |
unsigned int nidas::core::XMLFdBinInputStream::curpos |
|
protected |
int nidas::core::XMLFdBinInputStream::fd |
|
protected |
std::string nidas::core::XMLFdBinInputStream::name |
|
protected |
The documentation for this class was generated from the following file: