NCBI C++ ToolKit
Macros | Functions | Variables
rwstreambuf.cpp File Reference
#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_StreamBuf

Definition 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)
inlinestatic

◆ x_IfToOwnReader()

static EOwnership x_IfToOwnReader ( const IReader r,
const IWriter w,
CRWStreambuf::TFlags  f 
)
inlinestatic

◆ x_IfToOwnWriter()

static EOwnership x_IfToOwnWriter ( const IReader r,
const IWriter w,
CRWStreambuf::TFlags  f 
)
inlinestatic

Definition at line 140 of file rwstreambuf.cpp.

References eNoOwnership, eTakeOwnership, f(), CRWStreambuf::fOwnWriter, and r().

Variable Documentation

◆ kDefaultBufSize

const streamsize kDefaultBufSize = 16384
static

Definition at line 122 of file rwstreambuf.cpp.

Referenced by CRWStreambuf::CRWStreambuf(), and CRWStreambuf::setbuf().

Modified on Fri Jan 05 07:25:01 2024 by modify_doxy.py rev. 669887