#include <ncbi_pch.hpp>
#include <corelib/ncbidbg.hpp>
#include <corelib/ncbiexpt.hpp>
#include <corelib/ncbi_limits.hpp>
#include <corelib/reader_writer.hpp>
#include <corelib/rwstream.hpp>
#include <corelib/error_codes.hpp>
Include dependency graph for rwstreambuf.cpp:
Go to the source code of this file.
Go to the SVN repository for this file.
Macros #define NCBI_USE_ERRCODE_X Corelib_StreamBuf #define RWSTREAMBUF_HANDLE_EXCEPTIONS(call, subcode, message, action) Functions const char * g_RW_ResultToString (ERW_Result result) static EOwnership x_IfToOwnReader (const IReader *r, const IWriter *w, CRWStreambuf::TFlags f) static EOwnership x_IfToOwnWriter (const IReader *r, const IWriter *w, CRWStreambuf::TFlags f) static bool x_CheckRW (const void *rw) Variables static const streamsize kDefaultBufSize = 16384 Macro Definition Documentation ◆ NCBI_USE_ERRCODE_X #define NCBI_USE_ERRCODE_X Corelib_StreamBufDefinition at line 41 of file rwstreambuf.cpp.
◆ RWSTREAMBUF_HANDLE_EXCEPTIONS #define RWSTREAMBUF_HANDLE_EXCEPTIONS ( call, subcode, message, action )Definition at line 44 of file rwstreambuf.cpp.
Function Documentation ◆ x_CheckRW() static bool x_CheckRW ( const void * rw ) inlinestaticDefinition at line 152 of file rwstreambuf.cpp.
References failure, and THROW1_TRACE.
Referenced by CRWStreambuf::overflow(), CRWStreambuf::showmanyc(), CRWStreambuf::underflow(), CRWStreambuf::xsgetn(), and CRWStreambuf::xsputn().
◆ x_IfToOwnReader() static EOwnership x_IfToOwnReader ( const IReader * r, const IWriter * w, CRWStreambuf::TFlags f ) inlinestaticDefinition at line 125 of file rwstreambuf.cpp.
References eNoOwnership, eTakeOwnership, f, CRWStreambuf::fOwnAll, CRWStreambuf::fOwnReader, and r().
◆ x_IfToOwnWriter() static EOwnership x_IfToOwnWriter ( const IReader * r, const IWriter * w, CRWStreambuf::TFlags f ) inlinestaticDefinition at line 140 of file rwstreambuf.cpp.
References eNoOwnership, eTakeOwnership, f, CRWStreambuf::fOwnWriter, and r().
Variable Documentation ◆ kDefaultBufSize const streamsize kDefaultBufSize = 16384 staticDefinition at line 122 of file rwstreambuf.cpp.
Referenced by CRWStreambuf::CRWStreambuf(), and CRWStreambuf::setbuf().
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