nidas
v1.2-1520
|
Extension of xercesc::XMLFormatTarget support writing XML to an open device (socket for example). More...
#include <XMLFdFormatTarget.h>
Public Member Functions | |
XMLFdFormatTarget (const std::string &n, int f) | |
Constructor. More... | |
~XMLFdFormatTarget () | |
Destructor. More... | |
void | flush () throw (nidas::util::IOException) |
void | writeChars (const XMLByte *const toWrite, const unsigned int count, xercesc::XMLFormatter *const ) throw (nidas::util::IOException) |
Implemention of virtual write method of xercesc::XMLFormatTarget. More... | |
Private Member Functions | |
void | insureCapacity (unsigned int count) throw (nidas::util::IOException) |
XMLFdFormatTarget (const XMLFdFormatTarget &) | |
No copy. More... | |
XMLFdFormatTarget & | operator= (const XMLFdFormatTarget &) |
No assignment. More... | |
Private Attributes | |
std::string | name |
int | fd |
XMLByte * | fDataBuf |
unsigned int | fIndex |
unsigned int | fCapacity |
bool | _isSocket |
Extension of xercesc::XMLFormatTarget support writing XML to an open device (socket for example).
XMLFdFormatTarget::XMLFdFormatTarget | ( | const std::string & | n, |
int | f | ||
) |
XMLFdFormatTarget::~XMLFdFormatTarget | ( | ) |
|
private |
No copy.
void XMLFdFormatTarget::flush | ( | ) | ||
throw | ( | nidas::util::IOException | ||
) |
|
private |
|
private |
No assignment.
void XMLFdFormatTarget::writeChars | ( | const XMLByte *const | toWrite, |
const unsigned int | count, | ||
xercesc::XMLFormatter * const | |||
) | |||
throw | ( | nidas::util::IOException | |
) |
Implemention of virtual write method of xercesc::XMLFormatTarget.
Does buffered writes to the file descriptor.
|
private |
Referenced by flush(), and XMLFdFormatTarget().
|
private |
Referenced by XMLFdFormatTarget().
|
private |
Referenced by flush(), and XMLFdFormatTarget().
|
private |
Referenced by flush(), XMLFdFormatTarget(), and ~XMLFdFormatTarget().
|
private |
Referenced by flush().
|
private |
Referenced by flush().