Implemenation of xercesc::InputSource, that returns an XMLFdBinInputStream for reading from a Unix file descriptor - i.e.
More...
#include <XMLFdInputSource.h>
Implemenation of xercesc::InputSource, that returns an XMLFdBinInputStream for reading from a Unix file descriptor - i.e.
an opened socket for example.
◆ XMLFdInputSource()
nidas::core::XMLFdInputSource::XMLFdInputSource |
( |
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. |
◆ ~XMLFdInputSource()
nidas::core::XMLFdInputSource::~XMLFdInputSource |
( |
| ) |
|
|
inline |
◆ makeStream()
xercesc::BinInputStream * nidas::core::XMLFdInputSource::makeStream |
( |
| ) |
const |
|
inline |
Create an instance of a BinInputStream.
Pointer becomes the parser's property.
References fd, and name.
◆ fd
int nidas::core::XMLFdInputSource::fd |
|
protected |
◆ name
std::string nidas::core::XMLFdInputSource::name |
|
protected |
The documentation for this class was generated from the following file: