#include <zipbuffer.hpp>
Inheritance diagram for ZipBuffer:
Definition at line 57 of file zipbuffer.hpp.
Public Methods | |
ZipBuffer (const char *p_cFileName=0, bool p_boolReadOnly=false, unsigned int p_uiBufferSize=0) | |
Constructor. Created a buffer which uses the designated file. | |
~ZipBuffer () | |
Destructor. | |
XMLStreamProvider & | operator>> (XMLStreamConsumer &p_pStreamConsumer) |
Transfers data to the given buffer. | |
void | writeData (const char *p_pszData, unsigned int p_uiDataLen) |
Writes raw data to the buffer. | |
bool | commitStream (bool fFinal) |
void | flush () |
Empties the buffer. | |
Static Public Methods | |
void | setTmpDir (const char *p_pszTmpDir) |
Sets temporary directory. |
|
Constructor. Created a buffer which uses the designated file.
Definition at line 60 of file zipbuffer.cpp. References DEBUG_CREATE, flush(), and ZIPBUFFER_COPYBUF. |
|
Destructor.
Definition at line 87 of file zipbuffer.cpp. References DEBUG_DEL, and DEBUG_ECHO. |
|
Reimplemented from XMLStreamConsumer. Definition at line 223 of file zipbuffer.cpp. References THROW_XMLFLOW_EXCEPTION. Referenced by ZipStreamer::commitStream(). |
|
Empties the buffer.
Definition at line 176 of file zipbuffer.cpp. References DEBUG_FUNC. Referenced by ZipStreamer::initStream(), and ZipBuffer(). |
|
Transfers data to the given buffer.
Implements XMLStreamProvider. Definition at line 106 of file zipbuffer.cpp. References CATCH_XML_FLOW_ERROR_RELEASE_AND_RETURN, XMLStreamConsumer::commitStream(), DEBUG_IN, DEBUG_OUT, ON_XML_FLOW_ERROR_THROW, PREP_CATCH_XML_FLOW_ERROR, THROW_XMLFLOW_EXCEPTION, WATCH_XML_FLOW_ERROR, and XMLStreamConsumer::writeData(). |
|
Sets temporary directory.
Definition at line 51 of file zipbuffer.cpp. |
|
Writes raw data to the buffer.
Implements XMLStreamConsumer. Definition at line 194 of file zipbuffer.cpp. References THROW_XMLFLOW_EXCEPTION. |