Search Toolkit Book for CCgiStreamWrapperWriter
Definition at line 171 of file cgiapp.cpp.
◆ CCgiStreamWrapperWriter() ◆ ~CCgiStreamWrapperWriter() CCgiStreamWrapperWriter::~CCgiStreamWrapperWriter ( void ) virtual ◆ AbortChunkedTransfer() void CCgiStreamWrapperWriter::AbortChunkedTransfer ( void ) ◆ FinishChunkedTransfer() ◆ Flush() ERW_Result CCgiStreamWrapperWriter::Flush ( void ) virtual ◆ GetMode() ◆ SetCacheStream() void CCgiStreamWrapperWriter::SetCacheStream ( CNcbiOstream & stream ) ◆ SetMode()Definition at line 335 of file cgiapp.cpp.
References _ASSERT, CCgiStreamWrapper::eBlockWrites, CCgiStreamWrapper::eChunkedWrites, CCgiStreamWrapper::eNormal, CCgiResponse::GetChunkSize(), m_Mode, m_Out, m_UsedChunkedTransfer, and x_SetChunkSize().
Referenced by AbortChunkedTransfer(), FinishChunkedTransfer(), and CCgiStreamWrapper::SetWriterMode().
◆ Write() ERW_Result CCgiStreamWrapperWriter::Write ( const void * buf, size_t count, size_t * bytes_written =0
) virtual
Write up to "count" bytes from the buffer pointed to by the "buf" argument onto the output device.
Always store the number of bytes actually written, or 0 if "count" has been passed as 0 ("buf" must be ignored in this case), via the "bytes_written" pointer, if provided non-NULL. Note that the method can return non-eRW_Success in case of an I/O error along with indicating (some) data delivered to the output device (and reflected in "*bytes_written").
Implements IWriter.
Definition at line 236 of file cgiapp.cpp.
References buf, count, CCgiStreamWrapper::eBlockWrites, CCgiStreamWrapper::eChunkedWrites, CCgiStreamWrapper::eNormal, ERR_POST_X, eRW_Error, eRW_Success, m_Chunk, m_ChunkSize, m_Count, m_ErrorReported, m_Mode, m_Out, m_UsedChunkedTransfer, min(), result, and x_WriteChunk().
◆ x_SetChunkSize() void CCgiStreamWrapperWriter::x_SetChunkSize ( size_t sz ) private ◆ x_WriteChunk() void CCgiStreamWrapperWriter::x_WriteChunk ( const char * buf, size_t count ) private ◆ m_Chunk char* CCgiStreamWrapperWriter::m_Chunk private ◆ m_ChunkSize size_t CCgiStreamWrapperWriter::m_ChunkSize private ◆ m_Count size_t CCgiStreamWrapperWriter::m_Count private ◆ m_ErrorReported bool CCgiStreamWrapperWriter::m_ErrorReported private ◆ m_Mode ◆ m_Out ◆ m_UsedChunkedTransfer bool CCgiStreamWrapperWriter::m_UsedChunkedTransfer privateThe documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4