NCBI C++ ToolKit
Classes | Macros | Typedefs | Enumerations | Enumerator | Functions | Variables
Stream Support
+ Collaboration diagram for Stream Support:

Classes

class  CByteSource
 
class  CByteSourceReader
 
class  CSubSourceCollector
 Abstract class for implementing "sub collectors". More...
 
class  CStreamByteSource
 
class  CFStreamByteSource
 
class  CFileByteSource
 
class  CMMapByteSource
 
class  CMMapByteSourceReader
 
class  CStreamByteSourceReader
 
class  CIRByteSourceReader
 Class adapter from IReader to CByteSourceReader. More...
 
class  CWriterByteSourceReader
 Stream based byte source reader. More...
 
class  CWriterCopyByteSourceReader
 
class  CFileByteSourceReader
 
class  CMemoryChunk
 
class  CMemoryByteSource
 
class  CMemoryByteSourceReader
 
class  CMemorySourceCollector
 
class  CWriterSourceCollector
 Class adapter IWriter - CSubSourceCollector. More...
 
class  CFileSourceCollector
 
class  CSubFileByteSource
 
class  CSubFileByteSourceReader
 
class  ICanceled
 Interface for testing cancellation request in a long lasting operation. More...
 
class  CIStreamBuffer
 
class  COStreamBuffer
 

Macros

#define THROWS1(arg)
 
#define THROWS1_NONE
 

Typedefs

typedef CNcbiIstream::pos_type CFileSourceCollector::TFilePos
 
typedef CNcbiIstream::off_type CFileSourceCollector::TFileOff
 
typedef CFileByteSource CSubFileByteSource::CParent
 
typedef CFileSourceCollector::TFilePos CSubFileByteSource::TFilePos
 
typedef CFileSourceCollector::TFileOff CSubFileByteSource::TFileOff
 
typedef CFileByteSourceReader CSubFileByteSourceReader::CParent
 
typedef CFileSourceCollector::TFilePos CSubFileByteSourceReader::TFilePos
 
typedef CFileSourceCollector::TFileOff CSubFileByteSourceReader::TFileOff
 

Enumerations

enum  CMemoryChunk::ECopyData { CMemoryChunk::eCopyData = 0 , CMemoryChunk::eNoCopyData }
 

Functions

 CByteSource::CByteSource (void)
 
virtual CByteSource::~CByteSource (void)
 
virtual CRef< CByteSourceReaderCByteSource::Open (void)=0
 
 CByteSourceReader::CByteSourceReader (void)
 
virtual CByteSourceReader::~CByteSourceReader (void)
 
virtual size_t CByteSourceReader::Read (char *buffer, size_t bufferLength)=0
 Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData()) More...
 
virtual bool CByteSourceReader::EndOfData (void) const
 Call this method after Read returned zero to determine whether end of data reached or error occurred. More...
 
virtual CRef< CSubSourceCollectorCByteSourceReader::SubSource (size_t prepend, CRef< CSubSourceCollector > parent)
 
virtual bool CByteSourceReader::Pushback (const char *data, size_t size)
 
virtual void CByteSourceReader::Seekg (CNcbiStreampos pos)
 
virtual bool CByteSourceReader::IsMultiPart (void) const
 
virtual size_t CByteSourceReader::GetNextPart (char **, size_t)
 
 CByteSourceReader::CByteSourceReader (const CByteSourceReader &)
 
CByteSourceReaderCByteSourceReader::operator= (const CByteSourceReader &)
 
 CSubSourceCollector::CSubSourceCollector (CRef< CSubSourceCollector > parent)
 Constructor. More...
 
virtual CSubSourceCollector::~CSubSourceCollector (void)
 
virtual void CSubSourceCollector::AddChunk (const char *buffer, size_t bufferLength)
 Add data to the sub-source. More...
 
virtual CRef< CByteSourceCSubSourceCollector::GetSource (void)=0
 Get CByteSource implementation. More...
 
const CRef< CSubSourceCollector > & CSubSourceCollector::GetParentCollector (void) const
 
 CStreamByteSource::CStreamByteSource (CNcbiIstream &in)
 
 CStreamByteSource::~CStreamByteSource (void)
 
CRef< CByteSourceReaderCStreamByteSource::Open (void)
 
 CFStreamByteSource::CFStreamByteSource (CNcbiIstream &in)
 
 CFStreamByteSource::CFStreamByteSource (const string &fileName, bool binary)
 
 CFStreamByteSource::~CFStreamByteSource (void)
 
 CFileByteSource::CFileByteSource (const string &name, bool binary)
 
 CFileByteSource::CFileByteSource (const CFileByteSource &file)
 
 CFileByteSource::~CFileByteSource (void)
 
CRef< CByteSourceReaderCFileByteSource::Open (void)
 
const stringCFileByteSource::GetFileName (void) const
 
bool CFileByteSource::IsBinary (void) const
 
 CMMapByteSource::CMMapByteSource (const string &fileName, size_t num_blocks=0)
 
 CMMapByteSource::CMMapByteSource (const CMMapByteSource &other)=delete
 
virtual CMMapByteSource::~CMMapByteSource (void)
 
virtual CRef< CByteSourceReaderCMMapByteSource::Open (void)
 
 CMMapByteSourceReader::CMMapByteSourceReader (const CByteSource *source, CMemoryFileMap *fmap, size_t num_blocks=0)
 
 CMMapByteSourceReader::~CMMapByteSourceReader (void)
 
size_t CMMapByteSourceReader::Read (char *buffer, size_t bufferLength)
 Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData()) More...
 
bool CMMapByteSourceReader::EndOfData (void) const
 Call this method after Read returned zero to determine whether end of data reached or error occurred. More...
 
bool CMMapByteSourceReader::Pushback (const char *data, size_t size)
 
virtual void CMMapByteSourceReader::Seekg (CNcbiStreampos pos)
 
virtual bool CMMapByteSourceReader::IsMultiPart (void) const
 
virtual size_t CMMapByteSourceReader::GetNextPart (char **buffer, size_t copy_count)
 
void CMMapByteSourceReader::x_GetNextChunkAt (size_t offset)
 
 CStreamByteSourceReader::CStreamByteSourceReader (const CByteSource *source, CNcbiIstream *stream)
 
 CStreamByteSourceReader::~CStreamByteSourceReader (void)
 
size_t CStreamByteSourceReader::Read (char *buffer, size_t bufferLength)
 Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData()) More...
 
bool CStreamByteSourceReader::EndOfData (void) const
 Call this method after Read returned zero to determine whether end of data reached or error occurred. More...
 
bool CStreamByteSourceReader::Pushback (const char *data, size_t size)
 
virtual void CStreamByteSourceReader::Seekg (CNcbiStreampos pos)
 
 CIRByteSourceReader::CIRByteSourceReader (IReader *reader)
 
 CIRByteSourceReader::~CIRByteSourceReader (void)
 
size_t CIRByteSourceReader::Read (char *buffer, size_t bufferLength)
 Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData()) More...
 
bool CIRByteSourceReader::EndOfData (void) const
 Call this method after Read returned zero to determine whether end of data reached or error occurred. More...
 
 CWriterByteSourceReader::CWriterByteSourceReader (CNcbiIstream *stream, IWriter *writer)
 Constructor. More...
 
 CWriterByteSourceReader::~CWriterByteSourceReader (void)
 
virtual CRef< CSubSourceCollectorCWriterByteSourceReader::SubSource (size_t prepend, CRef< CSubSourceCollector > parent)
 Create CWriterSourceCollector. More...
 
 CWriterCopyByteSourceReader::CWriterCopyByteSourceReader (CByteSourceReader *reader, IWriter *writer)
 Constructor. More...
 
 CWriterCopyByteSourceReader::~CWriterCopyByteSourceReader (void)
 
size_t CWriterCopyByteSourceReader::Read (char *buffer, size_t bufferLength)
 Just call Read method on source reader. More...
 
bool CWriterCopyByteSourceReader::EndOfData (void) const
 Just call EndOfData method on source reader. More...
 
virtual CRef< CSubSourceCollectorCWriterCopyByteSourceReader::SubSource (size_t prepend, CRef< CSubSourceCollector > parent)
 Create CWriterSourceCollector. More...
 
 CFileByteSourceReader::CFileByteSourceReader (const CFileByteSource *source)
 
 CFileByteSourceReader::~CFileByteSourceReader (void)
 
CRef< CSubSourceCollectorCFileByteSourceReader::SubSource (size_t prepend, CRef< CSubSourceCollector > parent)
 
 CMemoryChunk::CMemoryChunk (const char *data, size_t dataSize, CRef< CMemoryChunk > prevChunk, ECopyData copy=eCopyData)
 
 CMemoryChunk::~CMemoryChunk (void)
 
const char * CMemoryChunk::GetData (size_t offset) const
 
size_t CMemoryChunk::GetDataSize (void) const
 
CRef< CMemoryChunkCMemoryChunk::GetNextChunk (void) const
 
bool CMemoryChunk::IsExternalMemory (void) const
 
 CMemoryChunk::CMemoryChunk (const CMemoryChunk &)
 
void CMemoryChunk::operator= (const CMemoryChunk &)
 
 CMemoryByteSource::CMemoryByteSource (CConstRef< CMemoryChunk > bytes)
 
 CMemoryByteSource::~CMemoryByteSource (void)
 
CRef< CByteSourceReaderCMemoryByteSource::Open (void)
 
 CMemoryByteSourceReader::CMemoryByteSourceReader (CConstRef< CMemoryChunk > bytes)
 
 CMemoryByteSourceReader::~CMemoryByteSourceReader (void)
 
size_t CMemoryByteSourceReader::Read (char *buffer, size_t bufferLength)
 Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData()) More...
 
bool CMemoryByteSourceReader::EndOfData (void) const
 Call this method after Read returned zero to determine whether end of data reached or error occurred. More...
 
virtual bool CMemoryByteSourceReader::Pushback (const char *data, size_t size)
 
virtual bool CMemoryByteSourceReader::IsMultiPart (void) const
 
virtual size_t CMemoryByteSourceReader::GetNextPart (char **buffer, size_t copy_count)
 
size_t CMemoryByteSourceReader::GetCurrentChunkAvailable (void) const
 
 CMemorySourceCollector::CMemorySourceCollector (CRef< CSubSourceCollector > parent=CRef< CSubSourceCollector >(), bool no_copy=false)
 
 CMemorySourceCollector::~CMemorySourceCollector (void)
 
virtual void CMemorySourceCollector::AddChunk (const char *buffer, size_t bufferLength)
 Add data to the sub-source. More...
 
virtual CRef< CByteSourceCMemorySourceCollector::GetSource (void)
 Get CByteSource implementation. More...
 
 CWriterSourceCollector::CWriterSourceCollector (IWriter *writer, EOwnership own, CRef< CSubSourceCollector > parent)
 Constructor. More...
 
virtual CWriterSourceCollector::~CWriterSourceCollector ()
 
void CWriterSourceCollector::SetWriter (IWriter *writer, EOwnership own)
 Reset the destination IWriter interface. More...
 
virtual void CWriterSourceCollector::AddChunk (const char *buffer, size_t bufferLength)
 Add data to the sub-source. More...
 
virtual CRef< CByteSourceCWriterSourceCollector::GetSource (void)
 Return pointer on "reader" interface. More...
 
 CFileSourceCollector::CFileSourceCollector (CConstRef< CFileByteSource > source, TFilePos start, CRef< CSubSourceCollector > parent)
 
 CFileSourceCollector::~CFileSourceCollector (void)
 
virtual void CFileSourceCollector::AddChunk (const char *buffer, size_t bufferLength)
 Add data to the sub-source. More...
 
virtual CRef< CByteSourceCFileSourceCollector::GetSource (void)
 Get CByteSource implementation. More...
 
 CSubFileByteSource::CSubFileByteSource (const CFileByteSource &file, TFilePos start, TFileOff length)
 
 CSubFileByteSource::~CSubFileByteSource (void)
 
CRef< CByteSourceReaderCSubFileByteSource::Open (void)
 
const TFilePosCSubFileByteSource::GetStart (void) const
 
const TFileOffCSubFileByteSource::GetLength (void) const
 
 CSubFileByteSourceReader::CSubFileByteSourceReader (const CFileByteSource *source, TFilePos start, TFileOff length)
 
 CSubFileByteSourceReader::~CSubFileByteSourceReader (void)
 
size_t CSubFileByteSourceReader::Read (char *buffer, size_t bufferLength)
 Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData()) More...
 
bool CSubFileByteSourceReader::EndOfData (void) const
 Call this method after Read returned zero to determine whether end of data reached or error occurred. More...
 
virtual bool ICanceled::IsCanceled (void) const =0
 
virtual ICanceled::~ICanceled ()
 
 CIStreamBuffer::CIStreamBuffer (void)
 
 CIStreamBuffer::CIStreamBuffer (const char *buffer, size_t size)
 
 CIStreamBuffer::~CIStreamBuffer (void)
 
bool CIStreamBuffer::fail (void) const
 
void CIStreamBuffer::ResetFail (void)
 
const char * CIStreamBuffer::GetError (void) const
 
void CIStreamBuffer::Open (CByteSourceReader &reader)
 
void CIStreamBuffer::Open (const char *buffer, size_t size)
 
void CIStreamBuffer::Close (void)
 
void CIStreamBuffer::SetCanceledCallback (const ICanceled *callback)
 
char CIStreamBuffer::PeekChar (size_t offset=0)
 
char CIStreamBuffer::PeekCharNoEOF (size_t offset=0)
 
bool CIStreamBuffer::HasMore (void)
 
char CIStreamBuffer::GetChar (void)
 
void CIStreamBuffer::UngetChar (char c)
 
void CIStreamBuffer::SkipChars (size_t count)
 
void CIStreamBuffer::SkipChar (void)
 
bool CIStreamBuffer::SkipExpectedChar (char c, size_t offset=0)
 
bool CIStreamBuffer::SkipExpectedChars (char c1, char c2, size_t offset=0)
 
void CIStreamBuffer::GetChars (char *buffer, size_t count)
 
void CIStreamBuffer::GetChars (string &str, size_t count)
 
void CIStreamBuffer::GetChars (size_t count)
 
void CIStreamBuffer::SkipEndOfLine (char lastChar)
 
char CIStreamBuffer::SkipSpaces (void)
 
void CIStreamBuffer::FindChar (char c)
 
size_t CIStreamBuffer::PeekFindChar (char c, size_t limit)
 
const char * CIStreamBuffer::GetCurrentPos (void) const
 
bool CIStreamBuffer::TrySetCurrentPos (const char *pos)
 
size_t CIStreamBuffer::GetLine (void) const
 
CNcbiStreampos CIStreamBuffer::GetStreamOffset (void) const
 
void CIStreamBuffer::SetStreamOffset (CNcbiStreampos pos)
 
CNcbiStreampos CIStreamBuffer::GetStreamPos (void) const
 
Int8 CIStreamBuffer::GetStreamPosAsInt8 (void) const
 
void CIStreamBuffer::SetStreamPos (CNcbiStreampos pos)
 
size_t CIStreamBuffer::ReadLine (char *buff, size_t size)
 
char CIStreamBuffer::SkipWs (void)
 
Int4 CIStreamBuffer::GetInt4 (void)
 
Uint4 CIStreamBuffer::GetUint4 (void)
 
Int8 CIStreamBuffer::GetInt8 (void)
 
Uint8 CIStreamBuffer::GetUint8 (void)
 
void CIStreamBuffer::StartSubSource (void)
 
CRef< CByteSourceCIStreamBuffer::EndSubSource (void)
 
CRef< CSubSourceCollector > & CIStreamBuffer::GetSubSourceCollector (void)
 
bool CIStreamBuffer::EndOfData (void) const
 
size_t CIStreamBuffer::SetBufferLock (size_t size)
 
void CIStreamBuffer::ResetBufferLock (size_t pos)
 
const char * CIStreamBuffer::FillBuffer (const char *pos, bool noEOF=false)
 
char CIStreamBuffer::FillBufferNoEOF (const char *pos)
 
bool CIStreamBuffer::TryToFillBuffer (void)
 
void CIStreamBuffer::BadNumber (void)
 
void CIStreamBuffer::NumberOverflow (void)
 
 COStreamBuffer::COStreamBuffer (CNcbiOstream &out, bool deleteOut=false)
 
 COStreamBuffer::~COStreamBuffer (void)
 
bool COStreamBuffer::fail (void) const
 
void COStreamBuffer::ResetFail (void)
 
const char * COStreamBuffer::GetError (void) const
 
void COStreamBuffer::Close (void)
 
void COStreamBuffer::SetCanceledCallback (const ICanceled *callback)
 
size_t COStreamBuffer::GetLine (void) const
 
CNcbiStreampos COStreamBuffer::GetStreamOffset (void) const
 
CNcbiStreampos COStreamBuffer::GetStreamPos (void) const
 
Int8 COStreamBuffer::GetStreamPosAsInt8 (void) const
 
size_t COStreamBuffer::GetCurrentLineLength (void) const
 
bool COStreamBuffer::ZeroIndentLevel (void) const
 
size_t COStreamBuffer::GetIndentLevel (size_t step=2) const
 
void COStreamBuffer::IncIndentLevel (size_t step=2)
 
void COStreamBuffer::DecIndentLevel (size_t step=2)
 
void COStreamBuffer::SetBackLimit (size_t limit)
 
void COStreamBuffer::FlushBuffer (bool fullBuffer=true)
 
void COStreamBuffer::Flush (void)
 
void COStreamBuffer::SetUseIndentation (bool set)
 
bool COStreamBuffer::GetUseIndentation (void) const
 
void COStreamBuffer::SetUseEol (bool set)
 
bool COStreamBuffer::GetUseEol (void) const
 
char * COStreamBuffer::DoReserve (size_t reserve=0)
 
char * COStreamBuffer::DoSkip (size_t reserve)
 
char * COStreamBuffer::Skip (size_t count)
 
char * COStreamBuffer::Reserve (size_t count)
 
void COStreamBuffer::PutChar (char c)
 
void COStreamBuffer::BackChar (char c)
 
void COStreamBuffer::PutString (const char *str, size_t length)
 
void COStreamBuffer::PutString (const char *str)
 
void COStreamBuffer::PutString (const string &str)
 
void COStreamBuffer::PutIndent (void)
 
void COStreamBuffer::PutEol (bool indent=true)
 
void COStreamBuffer::PutEolAtWordEnd (size_t lineLength)
 
void COStreamBuffer::WrapAt (size_t lineLength, bool keepWord)
 
void COStreamBuffer::PutInt4 (Int4 v)
 
void COStreamBuffer::PutUint4 (Uint4 v)
 
void COStreamBuffer::PutInt8 (Int8 v)
 
void COStreamBuffer::PutUint8 (Uint8 v)
 
void COStreamBuffer::Write (const char *data, size_t dataLength)
 
void COStreamBuffer::Write (CByteSourceReader &reader)
 
size_t COStreamBuffer::GetUsedSpace (void) const
 
size_t COStreamBuffer::GetAvailableSpace (void) const
 
size_t COStreamBuffer::GetBufferSize (void) const
 

Variables

CRef< CSubSourceCollectorCSubSourceCollector::m_ParentCollector
 Pointer on parent (or chained) collector. More...
 
CNcbiIstreamCStreamByteSource::m_Stream
 
string CFileByteSource::m_FileName
 
bool CFileByteSource::m_Binary
 
CMemoryFileMap CMMapByteSource::m_FileMap
 
size_t CMMapByteSource::m_CBlocks
 
CConstRef< CByteSourceCMMapByteSourceReader::m_Source
 
CMemoryFileMapCMMapByteSourceReader::m_Fmap
 
char * CMMapByteSourceReader::m_Ptr
 
size_t CMMapByteSourceReader::m_UnitSize
 
size_t CMMapByteSourceReader::m_DefaultSize
 
size_t CMMapByteSourceReader::m_ChunkOffset
 
size_t CMMapByteSourceReader::m_CurOffset
 
size_t CMMapByteSourceReader::m_NextOffset
 
size_t CMMapByteSourceReader::m_FileSize
 
CConstRef< CByteSourceCStreamByteSourceReader::m_Source
 
CNcbiIstreamCStreamByteSourceReader::m_Stream
 
IReaderCIRByteSourceReader::m_Reader
 
bool CIRByteSourceReader::m_EOF
 
IWriterCWriterByteSourceReader::m_Writer
 
CRef< CByteSourceReaderCWriterCopyByteSourceReader::m_Reader
 
IWriterCWriterCopyByteSourceReader::m_Writer
 
CConstRef< CFileByteSourceCFileByteSourceReader::m_FileSource
 
CNcbiIfstream CFileByteSourceReader::m_FStream
 
const char * CMemoryChunk::m_Data
 
size_t CMemoryChunk::m_DataSize
 
ECopyData CMemoryChunk::m_CopyData
 
CRef< CMemoryChunkCMemoryChunk::m_NextChunk
 
CConstRef< CMemoryChunkCMemoryByteSource::m_Bytes
 
CConstRef< CMemoryChunkCMemoryByteSourceReader::m_CurrentChunk
 
size_t CMemoryByteSourceReader::m_CurrentChunkOffset
 
CConstRef< CMemoryChunkCMemorySourceCollector::m_FirstChunk
 
CRef< CMemoryChunkCMemorySourceCollector::m_LastChunk
 
CMemoryChunk::ECopyData CMemorySourceCollector::m_CopyData
 
IWriterCWriterSourceCollector::m_Writer
 Destination interface pointer. More...
 
EOwnership CWriterSourceCollector::m_Own
 Flag to delete IWriter on destruction. More...
 
CConstRef< CFileByteSourceCFileSourceCollector::m_FileSource
 
TFilePos CFileSourceCollector::m_Start
 
TFileOff CFileSourceCollector::m_Length
 
TFilePos CSubFileByteSource::m_Start
 
TFileOff CSubFileByteSource::m_Length
 
TFileOff CSubFileByteSourceReader::m_Length
 
CRef< CByteSourceReaderCIStreamBuffer::m_Input
 
const char * CIStreamBuffer::m_Error
 
Int8 CIStreamBuffer::m_BufferPos
 
size_t CIStreamBuffer::m_BufferSize
 
char * CIStreamBuffer::m_Buffer
 
const char * CIStreamBuffer::m_CurrentPos
 
const char * CIStreamBuffer::m_DataEndPos
 
size_t CIStreamBuffer::m_Line
 
const char * CIStreamBuffer::m_CollectPos
 
CRef< CSubSourceCollectorCIStreamBuffer::m_Collector
 
CConstIRef< ICanceledCIStreamBuffer::m_CanceledCallback
 
size_t CIStreamBuffer::m_BufferLockSize
 
CNcbiOstreamCOStreamBuffer::m_Output
 
bool COStreamBuffer::m_DeleteOutput
 
bool COStreamBuffer::m_Closed
 
const char * COStreamBuffer::m_Error
 
size_t COStreamBuffer::m_IndentLevel
 
Int8 COStreamBuffer::m_BufferPos
 
char * COStreamBuffer::m_Buffer
 
char * COStreamBuffer::m_CurrentPos
 
char * COStreamBuffer::m_BufferEnd
 
size_t COStreamBuffer::m_Line
 
size_t COStreamBuffer::m_LineLength
 
size_t COStreamBuffer::m_BackLimit
 
bool COStreamBuffer::m_UseIndentation
 
bool COStreamBuffer::m_UseEol
 
CConstIRef< ICanceledCOStreamBuffer::m_CanceledCallback
 

Detailed Description

Macro Definition Documentation

◆ THROWS1

#define THROWS1 (   arg)

Definition at line 56 of file strbuffer.hpp.

◆ THROWS1_NONE

#define THROWS1_NONE

Definition at line 57 of file strbuffer.hpp.

Typedef Documentation

◆ CParent [1/2]

Definition at line 495 of file bytesrc.hpp.

◆ CParent [2/2]

Definition at line 518 of file bytesrc.hpp.

◆ TFileOff [1/3]

typedef CNcbiIstream::off_type CFileSourceCollector::TFileOff

Definition at line 476 of file bytesrc.hpp.

◆ TFileOff [2/3]

Definition at line 498 of file bytesrc.hpp.

◆ TFileOff [3/3]

Definition at line 521 of file bytesrc.hpp.

◆ TFilePos [1/3]

Definition at line 475 of file bytesrc.hpp.

◆ TFilePos [2/3]

Definition at line 497 of file bytesrc.hpp.

◆ TFilePos [3/3]

Definition at line 520 of file bytesrc.hpp.

Enumeration Type Documentation

◆ ECopyData

Enumerator
eCopyData 
eNoCopyData 

Definition at line 346 of file bytesrc.hpp.

Function Documentation

◆ AddChunk() [1/4]

void CSubSourceCollector::AddChunk ( const char *  buffer,
size_t  bufferLength 
)
virtual

◆ AddChunk() [2/4]

void CMemorySourceCollector::AddChunk ( const char *  buffer,
size_t  bufferLength 
)
virtual

Add data to the sub-source.

If parent pointer is set(m_ParentSubSource) call is redirected to the parent chain.

Reimplemented from CSubSourceCollector.

Definition at line 685 of file bytesrc.cpp.

References CSubSourceCollector::AddChunk(), buffer, CMemorySourceCollector::m_CopyData, CMemorySourceCollector::m_FirstChunk, and CMemorySourceCollector::m_LastChunk.

◆ AddChunk() [3/4]

void CWriterSourceCollector::AddChunk ( const char *  buffer,
size_t  bufferLength 
)
virtual

Add data to the sub-source.

If parent pointer is set(m_ParentSubSource) call is redirected to the parent chain.

Reimplemented from CSubSourceCollector.

Definition at line 736 of file bytesrc.cpp.

References CSubSourceCollector::AddChunk(), buffer, CWriterSourceCollector::m_Writer, and IWriter::Write().

◆ AddChunk() [4/4]

void CFileSourceCollector::AddChunk ( const char *  buffer,
size_t  bufferLength 
)
virtual

Add data to the sub-source.

If parent pointer is set(m_ParentSubSource) call is redirected to the parent chain.

Reimplemented from CSubSourceCollector.

Definition at line 518 of file bytesrc.cpp.

References CSubSourceCollector::AddChunk(), buffer, and CFileSourceCollector::m_Length.

◆ BackChar()

void COStreamBuffer::BackChar ( char  c)

◆ BadNumber()

void CIStreamBuffer::BadNumber ( void  )
protected

Definition at line 569 of file strbuffer.cpp.

References NCBI_THROW_FMT.

◆ CByteSource()

CByteSource::CByteSource ( void  )

Definition at line 56 of file bytesrc.cpp.

◆ CByteSourceReader() [1/2]

CByteSourceReader::CByteSourceReader ( const CByteSourceReader )
private

◆ CByteSourceReader() [2/2]

CByteSourceReader::CByteSourceReader ( void  )

Definition at line 70 of file bytesrc.cpp.

◆ CFileByteSource() [1/2]

CFileByteSource::CFileByteSource ( const CFileByteSource file)

Definition at line 385 of file bytesrc.cpp.

◆ CFileByteSource() [2/2]

CFileByteSource::CFileByteSource ( const string name,
bool  binary 
)

Definition at line 378 of file bytesrc.cpp.

◆ CFileByteSourceReader()

CFileByteSourceReader::CFileByteSourceReader ( const CFileByteSource source)

◆ CFileSourceCollector()

CFileSourceCollector::CFileSourceCollector ( CConstRef< CFileByteSource source,
TFilePos  start,
CRef< CSubSourceCollector parent 
)

Definition at line 502 of file bytesrc.cpp.

◆ CFStreamByteSource() [1/2]

CFStreamByteSource::CFStreamByteSource ( CNcbiIstream in)

Definition at line 248 of file bytesrc.cpp.

◆ CFStreamByteSource() [2/2]

CFStreamByteSource::CFStreamByteSource ( const string fileName,
bool  binary 
)

◆ CIRByteSourceReader()

CIRByteSourceReader::CIRByteSourceReader ( IReader reader)

Definition at line 216 of file bytesrc.cpp.

◆ CIStreamBuffer() [1/2]

CIStreamBuffer::CIStreamBuffer ( const char *  buffer,
size_t  size 
)

Definition at line 68 of file strbuffer.cpp.

◆ CIStreamBuffer() [2/2]

CIStreamBuffer::CIStreamBuffer ( void  )

Definition at line 55 of file strbuffer.cpp.

◆ Close() [1/2]

void CIStreamBuffer::Close ( void  )

◆ Close() [2/2]

void COStreamBuffer::Close ( void  )

◆ CMemoryByteSource()

CMemoryByteSource::CMemoryByteSource ( CConstRef< CMemoryChunk bytes)

Definition at line 573 of file bytesrc.cpp.

◆ CMemoryByteSourceReader()

CMemoryByteSourceReader::CMemoryByteSourceReader ( CConstRef< CMemoryChunk bytes)

Definition at line 595 of file bytesrc.cpp.

◆ CMemoryChunk() [1/2]

CMemoryChunk::CMemoryChunk ( const char *  data,
size_t  dataSize,
CRef< CMemoryChunk prevChunk,
ECopyData  copy = eCopyData 
)

◆ CMemoryChunk() [2/2]

CMemoryChunk::CMemoryChunk ( const CMemoryChunk )
private

◆ CMemorySourceCollector()

CMemorySourceCollector::CMemorySourceCollector ( CRef< CSubSourceCollector parent = CRef<CSubSourceCollector>(),
bool  no_copy = false 
)

Definition at line 672 of file bytesrc.cpp.

◆ CMMapByteSource() [1/2]

CMMapByteSource::CMMapByteSource ( const CMMapByteSource other)
delete

◆ CMMapByteSource() [2/2]

CMMapByteSource::CMMapByteSource ( const string fileName,
size_t  num_blocks = 0 
)

Definition at line 272 of file bytesrc.cpp.

◆ CMMapByteSourceReader()

CMMapByteSourceReader::CMMapByteSourceReader ( const CByteSource source,
CMemoryFileMap fmap,
size_t  num_blocks = 0 
)

◆ COStreamBuffer()

COStreamBuffer::COStreamBuffer ( CNcbiOstream out,
bool  deleteOut = false 
)

Definition at line 782 of file strbuffer.cpp.

◆ CStreamByteSource()

CStreamByteSource::CStreamByteSource ( CNcbiIstream in)

Definition at line 148 of file bytesrc.cpp.

◆ CStreamByteSourceReader()

CStreamByteSourceReader::CStreamByteSourceReader ( const CByteSource source,
CNcbiIstream stream 
)

Definition at line 170 of file bytesrc.cpp.

◆ CSubFileByteSource()

CSubFileByteSource::CSubFileByteSource ( const CFileByteSource file,
TFilePos  start,
TFileOff  length 
)

Definition at line 407 of file bytesrc.cpp.

◆ CSubFileByteSourceReader()

CSubFileByteSourceReader::CSubFileByteSourceReader ( const CFileByteSource source,
TFilePos  start,
TFileOff  length 
)

Definition at line 466 of file bytesrc.cpp.

References CStreamByteSourceReader::m_Stream.

◆ CSubSourceCollector()

CSubSourceCollector::CSubSourceCollector ( CRef< CSubSourceCollector parent)

Constructor.

Parameters
parent_collectorPointer on parent(chained) collector. CSubSourceCollector relays all AddChunk calls to the parent object making possible having several sub-sources chained together.

Definition at line 114 of file bytesrc.cpp.

◆ CWriterByteSourceReader()

CWriterByteSourceReader::CWriterByteSourceReader ( CNcbiIstream stream,
IWriter writer 
)

Constructor.

Parameters
streamReaders source.
writerDestination interface pointer.

Definition at line 760 of file bytesrc.cpp.

References _ASSERT.

◆ CWriterCopyByteSourceReader()

CWriterCopyByteSourceReader::CWriterCopyByteSourceReader ( CByteSourceReader reader,
IWriter writer 
)

Constructor.

Parameters
readerSource reader.
writerDestination interface pointer.

Definition at line 788 of file bytesrc.cpp.

References _ASSERT.

◆ CWriterSourceCollector()

CWriterSourceCollector::CWriterSourceCollector ( IWriter writer,
EOwnership  own,
CRef< CSubSourceCollector parent 
)

Constructor.

Parameters
writerPointer on adapted IWriter interface.
ownFlag to take ownership on the writer (delete on destruction).
parentChained sub-source.

Definition at line 706 of file bytesrc.cpp.

◆ DecIndentLevel()

void COStreamBuffer::DecIndentLevel ( size_t  step = 2)

◆ DoReserve()

char * COStreamBuffer::DoReserve ( size_t  reserve = 0)
protected

Definition at line 920 of file strbuffer.cpp.

References BiggerBufferSize(), and count.

◆ DoSkip()

char* COStreamBuffer::DoSkip ( size_t  reserve)
protected

◆ EndOfData() [1/8]

bool CByteSourceReader::EndOfData ( void  ) const
virtual

Call this method after Read returned zero to determine whether end of data reached or error occurred.

Reimplemented in CSubFileByteSourceReader, CMemoryByteSourceReader, CWriterCopyByteSourceReader, CIRByteSourceReader, CStreamByteSourceReader, and CMMapByteSourceReader.

Definition at line 80 of file bytesrc.cpp.

Referenced by CWriterCopyByteSourceReader::EndOfData(), CIStreamBuffer::EndOfData(), and CWriter::WriteBytes().

◆ EndOfData() [2/8]

bool CMMapByteSourceReader::EndOfData ( void  ) const
virtual

Call this method after Read returned zero to determine whether end of data reached or error occurred.

Reimplemented from CByteSourceReader.

Definition at line 355 of file bytesrc.cpp.

References CMMapByteSourceReader::m_CurOffset, and CMMapByteSourceReader::m_FileSize.

◆ EndOfData() [3/8]

bool CStreamByteSourceReader::EndOfData ( void  ) const
virtual

Call this method after Read returned zero to determine whether end of data reached or error occurred.

Reimplemented from CByteSourceReader.

Reimplemented in CSubFileByteSourceReader.

Definition at line 188 of file bytesrc.cpp.

References CStreamByteSourceReader::m_Stream.

◆ EndOfData() [4/8]

bool CIRByteSourceReader::EndOfData ( void  ) const
virtual

Call this method after Read returned zero to determine whether end of data reached or error occurred.

Reimplemented from CByteSourceReader.

Definition at line 238 of file bytesrc.cpp.

References CIRByteSourceReader::m_EOF.

◆ EndOfData() [5/8]

bool CWriterCopyByteSourceReader::EndOfData ( void  ) const
virtual

Just call EndOfData method on source reader.

Reimplemented from CByteSourceReader.

Definition at line 808 of file bytesrc.cpp.

References CByteSourceReader::EndOfData(), and CWriterCopyByteSourceReader::m_Reader.

◆ EndOfData() [6/8]

bool CMemoryByteSourceReader::EndOfData ( void  ) const
virtual

Call this method after Read returned zero to determine whether end of data reached or error occurred.

Reimplemented from CByteSourceReader.

Definition at line 627 of file bytesrc.cpp.

References CMemoryByteSourceReader::GetCurrentChunkAvailable(), CMemoryChunk::GetNextChunk(), and CMemoryByteSourceReader::m_CurrentChunk.

◆ EndOfData() [7/8]

bool CSubFileByteSourceReader::EndOfData ( void  ) const
virtual

Call this method after Read returned zero to determine whether end of data reached or error occurred.

Reimplemented from CStreamByteSourceReader.

Definition at line 491 of file bytesrc.cpp.

References CSubFileByteSourceReader::m_Length.

◆ EndOfData() [8/8]

bool CIStreamBuffer::EndOfData ( void  ) const
inline

◆ EndSubSource()

CRef< CByteSource > CIStreamBuffer::EndSubSource ( void  )

◆ fail() [1/2]

bool CIStreamBuffer::fail ( void  ) const

◆ fail() [2/2]

bool COStreamBuffer::fail ( void  ) const

◆ FillBuffer()

const char * CIStreamBuffer::FillBuffer ( const char *  pos,
bool  noEOF = false 
)
protected

◆ FillBufferNoEOF()

char CIStreamBuffer::FillBufferNoEOF ( const char *  pos)
protected

Definition at line 455 of file strbuffer.cpp.

References CIStreamBuffer::FillBuffer(), and CIStreamBuffer::m_DataEndPos.

◆ FindChar()

void CIStreamBuffer::FindChar ( char  c)

◆ Flush()

void COStreamBuffer::Flush ( void  )

Definition at line 909 of file strbuffer.cpp.

References NCBI_THROW.

Referenced by COStreamBuffer::Close().

◆ FlushBuffer()

void COStreamBuffer::FlushBuffer ( bool  fullBuffer = true)

Definition at line 870 of file strbuffer.cpp.

References count, CT_OFF_TYPE, eCanceled, memmove, and NCBI_THROW.

Referenced by COStreamBuffer::Close().

◆ GetAvailableSpace()

size_t COStreamBuffer::GetAvailableSpace ( void  ) const
private

◆ GetBufferSize()

size_t COStreamBuffer::GetBufferSize ( void  ) const
private

◆ GetChar()

char CIStreamBuffer::GetChar ( void  )

◆ GetChars() [1/3]

void CIStreamBuffer::GetChars ( char *  buffer,
size_t  count 
)

Definition at line 471 of file strbuffer.cpp.

References buffer, and count.

Referenced by CObjectIStreamAsnBinary::ReadBytes(), and CObjectIStreamAsnBinary::SkipBytes().

◆ GetChars() [2/3]

void CIStreamBuffer::GetChars ( size_t  count)

◆ GetChars() [3/3]

void CIStreamBuffer::GetChars ( string str,
size_t  count 
)

Definition at line 495 of file strbuffer.cpp.

References count, and str().

◆ GetCurrentChunkAvailable()

size_t CMemoryByteSourceReader::GetCurrentChunkAvailable ( void  ) const
inlineprivate

◆ GetCurrentLineLength()

size_t COStreamBuffer::GetCurrentLineLength ( void  ) const

◆ GetCurrentPos()

const char* CIStreamBuffer::GetCurrentPos ( void  ) const

◆ GetData()

const char* CMemoryChunk::GetData ( size_t  offset) const
inline

◆ GetDataSize()

size_t CMemoryChunk::GetDataSize ( void  ) const
inline

Definition at line 356 of file bytesrc.hpp.

References CMemoryChunk::m_DataSize.

Referenced by CMemoryByteSourceReader::GetCurrentChunkAvailable().

◆ GetError() [1/2]

const char* CIStreamBuffer::GetError ( void  ) const

◆ GetError() [2/2]

const char* COStreamBuffer::GetError ( void  ) const

◆ GetFileName()

const string& CFileByteSource::GetFileName ( void  ) const
inline

Definition at line 183 of file bytesrc.hpp.

References CFileByteSource::m_FileName.

◆ GetIndentLevel()

size_t COStreamBuffer::GetIndentLevel ( size_t  step = 2) const

◆ GetInt4()

Int4 CIStreamBuffer::GetInt4 ( void  )

◆ GetInt8()

Int8 CIStreamBuffer::GetInt8 ( void  )

Definition at line 702 of file strbuffer.cpp.

References kMax_I8, n, and SkipChar().

Referenced by CObjectIStreamAsn::ReadInt8(), and CObjectIStreamXml::ReadInt8().

◆ GetLength()

const TFileOff& CSubFileByteSource::GetLength ( void  ) const
inline

Definition at line 507 of file bytesrc.hpp.

References CSubFileByteSource::m_Length.

◆ GetLine() [1/2]

size_t CIStreamBuffer::GetLine ( void  ) const

◆ GetLine() [2/2]

size_t COStreamBuffer::GetLine ( void  ) const

◆ GetNextChunk()

CRef<CMemoryChunk> CMemoryChunk::GetNextChunk ( void  ) const
inline

◆ GetNextPart() [1/3]

virtual size_t CByteSourceReader::GetNextPart ( char **  ,
size_t   
)
inlinevirtual

Reimplemented in CMemoryByteSourceReader, and CMMapByteSourceReader.

Definition at line 94 of file bytesrc.hpp.

Referenced by CIStreamBuffer::Open().

◆ GetNextPart() [2/3]

size_t CMMapByteSourceReader::GetNextPart ( char **  buffer,
size_t  copy_count 
)
virtual

◆ GetNextPart() [3/3]

size_t CMemoryByteSourceReader::GetNextPart ( char **  buffer,
size_t  copy_count 
)
virtual

◆ GetParentCollector()

const CRef<CSubSourceCollector>& CSubSourceCollector::GetParentCollector ( void  ) const
inline

Definition at line 141 of file bytesrc.hpp.

References CSubSourceCollector::m_ParentCollector.

Referenced by CIStreamBuffer::EndSubSource().

◆ GetSource() [1/4]

CRef< CByteSource > CMemorySourceCollector::GetSource ( void  )
virtual

Get CByteSource implementation.

Calling program can try to re-read collected data using CByteSource and CByteSourceReader interfaces, though it is legal to return NULL pointer if CSubSourceCollector implementation does not support re-reading (for example if collector sends data away using network or just writes down logs to a write-only database).

See also
CByteSource, CByteSourceReader

Implements CSubSourceCollector.

Definition at line 696 of file bytesrc.cpp.

References CMemorySourceCollector::m_FirstChunk.

◆ GetSource() [2/4]

CRef< CByteSource > CWriterSourceCollector::GetSource ( void  )
virtual

Return pointer on "reader" interface.

In this implementation returns NULL, since IWriter is a one way (write only interface).

Implements CSubSourceCollector.

Definition at line 748 of file bytesrc.cpp.

◆ GetSource() [3/4]

CRef< CByteSource > CFileSourceCollector::GetSource ( void  )
virtual

Get CByteSource implementation.

Calling program can try to re-read collected data using CByteSource and CByteSourceReader interfaces, though it is legal to return NULL pointer if CSubSourceCollector implementation does not support re-reading (for example if collector sends data away using network or just writes down logs to a write-only database).

See also
CByteSource, CByteSourceReader

Implements CSubSourceCollector.

Definition at line 526 of file bytesrc.cpp.

References CFileSourceCollector::m_FileSource, CFileSourceCollector::m_Length, and CFileSourceCollector::m_Start.

◆ GetSource() [4/4]

virtual CRef<CByteSource> CSubSourceCollector::GetSource ( void  )
pure virtual

Get CByteSource implementation.

Calling program can try to re-read collected data using CByteSource and CByteSourceReader interfaces, though it is legal to return NULL pointer if CSubSourceCollector implementation does not support re-reading (for example if collector sends data away using network or just writes down logs to a write-only database).

See also
CByteSource, CByteSourceReader

Implemented in CFileSourceCollector, CWriterSourceCollector, and CMemorySourceCollector.

Referenced by CIStreamBuffer::EndSubSource().

◆ GetStart()

const TFilePos& CSubFileByteSource::GetStart ( void  ) const
inline

Definition at line 505 of file bytesrc.hpp.

References CSubFileByteSource::m_Start.

◆ GetStreamOffset() [1/2]

CNcbiStreampos CIStreamBuffer::GetStreamOffset ( void  ) const

◆ GetStreamOffset() [2/2]

CNcbiStreampos COStreamBuffer::GetStreamOffset ( void  ) const

◆ GetStreamPos() [1/2]

CNcbiStreampos CIStreamBuffer::GetStreamPos ( void  ) const

◆ GetStreamPos() [2/2]

CNcbiStreampos COStreamBuffer::GetStreamPos ( void  ) const

◆ GetStreamPosAsInt8() [1/2]

Int8 CIStreamBuffer::GetStreamPosAsInt8 ( void  ) const

◆ GetStreamPosAsInt8() [2/2]

Int8 COStreamBuffer::GetStreamPosAsInt8 ( void  ) const

◆ GetSubSourceCollector()

CRef<CSubSourceCollector>& CIStreamBuffer::GetSubSourceCollector ( void  )
inline

Definition at line 162 of file strbuffer.hpp.

References CIStreamBuffer::m_Collector.

Referenced by CObjectIStreamXml::StartDelayBuffer().

◆ GetUint4()

Uint4 CIStreamBuffer::GetUint4 ( void  )

Definition at line 671 of file strbuffer.cpp.

References kMax_UI4, n, and SkipChar().

Referenced by CObjectIStreamAsn::ReadUint4(), and CObjectIStreamXml::ReadUint4().

◆ GetUint8()

Uint8 CIStreamBuffer::GetUint8 ( void  )

Definition at line 748 of file strbuffer.cpp.

References kMax_UI8, n, and SkipChar().

Referenced by CObjectIStreamAsn::ReadUint8(), and CObjectIStreamXml::ReadUint8().

◆ GetUsedSpace()

size_t COStreamBuffer::GetUsedSpace ( void  ) const
private

◆ GetUseEol()

bool COStreamBuffer::GetUseEol ( void  ) const

◆ GetUseIndentation()

bool COStreamBuffer::GetUseIndentation ( void  ) const

◆ HasMore()

bool CIStreamBuffer::HasMore ( void  )

◆ IncIndentLevel()

void COStreamBuffer::IncIndentLevel ( size_t  step = 2)

◆ IsBinary()

bool CFileByteSource::IsBinary ( void  ) const
inline

Definition at line 186 of file bytesrc.hpp.

References CFileByteSource::m_Binary.

◆ IsCanceled()

virtual bool ICanceled::IsCanceled ( void  ) const
pure virtual

Implemented in CConnTestThread, CCanceledImpl, TestCanceler, CInterruptable, and CAsyncCall::Call.

Referenced by CFlatFileSequenceListJob::CFlatFileSeqBuilder::AddItem(), CTableAnnotDataSource::AddSeqLoc(), CTableAnnotDataSource::AddSnpSeqLoc(), CSubAnnotationPanel::Create5ColFeatTable(), CBamUtils::CreateCoverageGraphs(), CTableAnnotDataSource::CreateFeature(), CTextItemSeq_loc::CreateObject(), CTableAnnotDataSource::CreateSnpFeature(), CTableAnnotDataSource::CreateSnps(), COpenViewManager::DoAsyncConversion(), CQueryParsePanel::CQueryJob::Execute(), C5ColObjectLoader::Execute(), CAgpObjectLoader::Execute(), CAsnObjectLoader::Execute(), CAssemblyObjectLoader::Execute(), CBedObjectLoader::Execute(), CChainLoader::Execute(), CFastaObjectLoader::Execute(), CGBFlatFileObjectLoader::Execute(), CGBObjectLoader::Execute(), CGffObjectLoader::Execute(), CLBLASTObjectLoader::Execute(), CPhyObjectLoader::Execute(), CPslObjectLoader::Execute(), CRMObjectLoader::Execute(), CTextAlignObjectLoader::Execute(), CVcfObjectLoader::Execute(), CWigObjectLoader::Execute(), PT::CProjectFolder::ExpandCompacted(), CSeqTextDataSource::FindSequenceFragmentList(), CTextItemPanel::FindText(), CNAUtils::GetAllNAMetaData(), CTextPanelContext::IsCanceled(), CReaderBase::IsCanceled(), CInterruptable::IsCanceled(), CTableImportDataSource::LoadTable(), CWeakExecuteGuard::Lock(), CAttribTableDelimitersPanel::PreviewData(), CTableFormatPanel::PreviewData(), CColumnarVCFReader::ReadData(), CColumnarVCFReader::ReadHeader(), CColumnarVCFReader::ReadVariantsForChrs(), CGBDocument::ReplaceGiSeqIds(), s_Adjust(), s_ConvertObjects(), s_ConvertObjectsCat(), s_Create5ColFeatTable(), s_CreateAlign(), s_EliminateDuplicates(), s_ReadVCFAssembly(), s_SearchInSeqText(), CBamCoverageGraphPanel::SetBamFiles(), CFlatFileConfig::ThrowIfCanceled(), CTableXformPanel::x_AddLocations(), CTableXformPanel::x_CreateFeatures(), CFlatGatherer::x_GatherBioseq(), CSelectionPanel::x_InitTextWidget(), CGenBankLoadOptionPanel::x_ProccessText(), CWorkspaceAutoSaver::x_RestoreWorkspace(), CWorkspaceAutoSaver::x_SaveWorkspace(), CAlignTabExportPage2::x_StartAlignNamesJob(), CAlignTabExportPage2::x_StartNAAlignNamesJob(), CAssemblyListPanel::x_UpdateSearchTerm(), and CReaderBase::xIsOperationCanceled().

◆ IsExternalMemory()

bool CMemoryChunk::IsExternalMemory ( void  ) const
inline

◆ IsMultiPart() [1/3]

virtual bool CByteSourceReader::IsMultiPart ( void  ) const
inlinevirtual

◆ IsMultiPart() [2/3]

virtual bool CMMapByteSourceReader::IsMultiPart ( void  ) const
inlinevirtual

Reimplemented from CByteSourceReader.

Definition at line 221 of file bytesrc.hpp.

◆ IsMultiPart() [3/3]

virtual bool CMemoryByteSourceReader::IsMultiPart ( void  ) const
inlinevirtual

◆ NumberOverflow()

void CIStreamBuffer::NumberOverflow ( void  )
protected

Definition at line 578 of file strbuffer.cpp.

References NCBI_THROW_FMT.

◆ Open() [1/8]

void CIStreamBuffer::Open ( CByteSourceReader reader)

◆ Open() [2/8]

void CIStreamBuffer::Open ( const char *  buffer,
size_t  size 
)

◆ Open() [3/8]

CRef< CByteSourceReader > CStreamByteSource::Open ( void  )
virtual

Implements CByteSource.

Definition at line 159 of file bytesrc.cpp.

References CStreamByteSource::m_Stream.

◆ Open() [4/8]

CRef< CByteSourceReader > CFileByteSource::Open ( void  )
virtual

Implements CByteSource.

Reimplemented in CSubFileByteSource.

Definition at line 397 of file bytesrc.cpp.

◆ Open() [5/8]

CRef< CByteSourceReader > CMMapByteSource::Open ( void  )
virtual

Implements CByteSource.

Definition at line 281 of file bytesrc.cpp.

References CMMapByteSource::m_CBlocks, and CMMapByteSource::m_FileMap.

◆ Open() [6/8]

CRef< CByteSourceReader > CMemoryByteSource::Open ( void  )
virtual

Implements CByteSource.

Definition at line 584 of file bytesrc.cpp.

References CMemoryByteSource::m_Bytes.

◆ Open() [7/8]

CRef< CByteSourceReader > CSubFileByteSource::Open ( void  )
virtual

Reimplemented from CFileByteSource.

Definition at line 420 of file bytesrc.cpp.

References CSubFileByteSource::m_Length, and CSubFileByteSource::m_Start.

◆ Open() [8/8]

virtual CRef<CByteSourceReader> CByteSource::Open ( void  )
pure virtual

◆ operator=() [1/2]

CByteSourceReader& CByteSourceReader::operator= ( const CByteSourceReader )
private

◆ operator=() [2/2]

void CMemoryChunk::operator= ( const CMemoryChunk )
private

◆ PeekChar()

char CIStreamBuffer::PeekChar ( size_t  offset = 0)

◆ PeekCharNoEOF()

char CIStreamBuffer::PeekCharNoEOF ( size_t  offset = 0)

◆ PeekFindChar()

size_t CIStreamBuffer::PeekFindChar ( char  c,
size_t  limit 
)

Definition at line 292 of file strbuffer.cpp.

References _ASSERT, and min().

Referenced by CObjectIStreamXml::ReadEscapedChar().

◆ Pushback() [1/4]

bool CByteSourceReader::Pushback ( const char *  data,
size_t  size 
)
virtual

◆ Pushback() [2/4]

bool CMMapByteSourceReader::Pushback ( const char *  data,
size_t  size 
)
virtual

◆ Pushback() [3/4]

bool CStreamByteSourceReader::Pushback ( const char *  data,
size_t  size 
)
virtual

◆ Pushback() [4/4]

bool CMemoryByteSourceReader::Pushback ( const char *  data,
size_t  size 
)
virtual

◆ PutChar()

void COStreamBuffer::PutChar ( char  c)

Referenced by CObjectOStreamJson::BeginArray(), CObjectOStreamXml::BeginArrayElement(), CObjectOStreamAsn::BeginBytes(), CObjectOStreamJson::BeginBytes(), CObjectOStreamAsn::BeginChars(), CObjectOStreamAsn::BeginChoiceVariant(), CObjectOStreamJson::BeginClassMember(), CObjectOStreamXml::CloseTagEnd(), CObjectOStreamJson::EndArray(), CObjectOStreamAsn::EndBlock(), CObjectOStreamJson::EndBlock(), CObjectOStreamJson::EndBytes(), CObjectOStreamAsn::EndChars(), CObjectOStreamJson::NameSeparator(), CObjectOStreamAsn::NextElement(), CObjectOStreamJson::NextElement(), CObjectOStreamXml::OpenTagEnd(), CObjectOStreamXml::OpenTagStart(), CObjectOStreamXml::PrintTagName(), CObjectOStreamAsn::StartBlock(), CObjectOStreamJson::StartBlock(), CObjectOStreamAsn::WriteAnyContentObject(), CObjectOStreamXml::WriteAnyContentObject(), CObjectOStreamAsn::WriteBitString(), CObjectOStreamJson::WriteBitString(), CObjectOStreamXml::WriteBitString(), CObjectOStreamAsnBinary::WriteByte(), CObjectOStreamAsn::WriteBytes(), CObjectOStreamJson::WriteBytes(), CObjectOStreamXml::WriteBytes(), CObjectOStreamAsn::WriteChar(), CObjectOStreamAsn::WriteChars(), CObjectOStreamJson::WriteCustomBytes(), CObjectOStreamXml::WriteDouble2(), CObjectOStreamJson::WriteEncodedChar(), CObjectOStreamAsn::WriteEnum(), CObjectOStreamXml::WriteEnum(), CObjectOStreamXml::WriteEscapedChar(), CObjectOStreamJson::WriteEscapedChar(), CObjectOStreamAsn::WriteId(), CObjectOStreamAsn::WriteMemberId(), CObjectOStreamAsn::WriteObjectReference(), CObjectOStreamAsn::WriteOther(), CObjectOStreamAsn::WriteOtherBegin(), CObjectOStreamAsn::WriteString(), CObjectOStreamXml::WriteTag(), CObjectOStreamXml::x_SpecialCaseWrite(), CObjectOStreamXml::x_WriteClassNamespace(), and CObjectOStreamJson::x_WriteString().

◆ PutEol()

void COStreamBuffer::PutEol ( bool  indent = true)

◆ PutEolAtWordEnd()

void COStreamBuffer::PutEolAtWordEnd ( size_t  lineLength)

Definition at line 1083 of file strbuffer.cpp.

References count, isspace(), and memmove.

◆ PutIndent()

void COStreamBuffer::PutIndent ( void  )

◆ PutInt4()

void COStreamBuffer::PutInt4 ( Int4  v)

◆ PutInt8()

void COStreamBuffer::PutInt8 ( Int8  v)

◆ PutString() [1/3]

void COStreamBuffer::PutString ( const char *  str)

◆ PutString() [2/3]

void COStreamBuffer::PutString ( const char *  str,
size_t  length 
)

◆ PutString() [3/3]

void COStreamBuffer::PutString ( const string str)

◆ PutUint4()

void COStreamBuffer::PutUint4 ( Uint4  v)

Definition at line 975 of file strbuffer.cpp.

References a, b, CHAR_BIT, i, int, len, and n.

Referenced by CObjectOStreamAsn::WriteUint4(), and CObjectOStreamXml::WriteUint4().

◆ PutUint8()

void COStreamBuffer::PutUint8 ( Uint8  v)

◆ Read() [1/7]

size_t CMMapByteSourceReader::Read ( char *  buffer,
size_t  bufferLength 
)
virtual

Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData())

Implements CByteSourceReader.

Definition at line 339 of file bytesrc.cpp.

References buffer, len, CMMapByteSourceReader::m_ChunkOffset, CMMapByteSourceReader::m_CurOffset, CMMapByteSourceReader::m_NextOffset, CMMapByteSourceReader::m_Ptr, min(), and CMMapByteSourceReader::x_GetNextChunkAt().

◆ Read() [2/7]

size_t CStreamByteSourceReader::Read ( char *  buffer,
size_t  bufferLength 
)
virtual

Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData())

Implements CByteSourceReader.

Reimplemented in CSubFileByteSourceReader.

Definition at line 182 of file bytesrc.cpp.

References buffer, CStreamByteSourceReader::m_Stream, and CStreamUtils::Readsome().

Referenced by CSubFileByteSourceReader::Read().

◆ Read() [3/7]

size_t CIRByteSourceReader::Read ( char *  buffer,
size_t  bufferLength 
)
virtual

Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData())

Implements CByteSourceReader.

Definition at line 227 of file bytesrc.cpp.

References buffer, eRW_Eof, CIRByteSourceReader::m_EOF, CIRByteSourceReader::m_Reader, IReader::Read(), and result.

◆ Read() [4/7]

size_t CWriterCopyByteSourceReader::Read ( char *  buffer,
size_t  bufferLength 
)
virtual

Just call Read method on source reader.

Implements CByteSourceReader.

Definition at line 802 of file bytesrc.cpp.

References buffer, CWriterCopyByteSourceReader::m_Reader, and CByteSourceReader::Read().

◆ Read() [5/7]

size_t CMemoryByteSourceReader::Read ( char *  buffer,
size_t  bufferLength 
)
virtual

Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData())

Implements CByteSourceReader.

Definition at line 606 of file bytesrc.cpp.

References buffer, CMemoryByteSourceReader::GetCurrentChunkAvailable(), CMemoryChunk::GetData(), CMemoryChunk::GetNextChunk(), CMemoryByteSourceReader::m_CurrentChunk, CMemoryByteSourceReader::m_CurrentChunkOffset, and min().

◆ Read() [6/7]

size_t CSubFileByteSourceReader::Read ( char *  buffer,
size_t  bufferLength 
)
virtual

Read up to bufferLength bytes into buffer return amount of bytes read (if zero - see EndOfData())

Reimplemented from CStreamByteSourceReader.

Definition at line 480 of file bytesrc.cpp.

References buffer, count, CSubFileByteSourceReader::m_Length, and CStreamByteSourceReader::Read().

◆ Read() [7/7]

virtual size_t CByteSourceReader::Read ( char *  buffer,
size_t  bufferLength 
)
pure virtual

◆ ReadLine()

size_t CIStreamBuffer::ReadLine ( char *  buff,
size_t  size 
)

Definition at line 539 of file strbuffer.cpp.

References count, ncbi::grid::netcache::search::fields::size, and SkipChar().

◆ Reserve()

char* COStreamBuffer::Reserve ( size_t  count)
protected

◆ ResetBufferLock()

void CIStreamBuffer::ResetBufferLock ( size_t  pos)

◆ ResetFail() [1/2]

void CIStreamBuffer::ResetFail ( void  )

◆ ResetFail() [2/2]

void COStreamBuffer::ResetFail ( void  )

◆ Seekg() [1/3]

void CByteSourceReader::Seekg ( CNcbiStreampos  pos)
virtual

Reimplemented in CStreamByteSourceReader, and CMMapByteSourceReader.

Definition at line 96 of file bytesrc.cpp.

References NCBI_THROW.

Referenced by CIStreamBuffer::SetStreamPos().

◆ Seekg() [2/3]

void CMMapByteSourceReader::Seekg ( CNcbiStreampos  pos)
virtual

Reimplemented from CByteSourceReader.

Definition at line 369 of file bytesrc.cpp.

References CMMapByteSourceReader::m_NextOffset.

◆ Seekg() [3/3]

void CStreamByteSourceReader::Seekg ( CNcbiStreampos  pos)
virtual

Reimplemented from CByteSourceReader.

Definition at line 202 of file bytesrc.cpp.

References eRead, CStreamByteSourceReader::m_Stream, and NCBI_THROW.

◆ SetBackLimit()

void COStreamBuffer::SetBackLimit ( size_t  limit)

◆ SetBufferLock()

size_t CIStreamBuffer::SetBufferLock ( size_t  size)

◆ SetCanceledCallback() [1/2]

void CIStreamBuffer::SetCanceledCallback ( const ICanceled callback)

Definition at line 142 of file strbuffer.cpp.

References CIStreamBuffer::m_CanceledCallback.

Referenced by CObjectIStream::SetCanceledCallback().

◆ SetCanceledCallback() [2/2]

void COStreamBuffer::SetCanceledCallback ( const ICanceled callback)

Definition at line 864 of file strbuffer.cpp.

References COStreamBuffer::m_CanceledCallback.

Referenced by CObjectOStream::SetCanceledCallback().

◆ SetStreamOffset()

void CIStreamBuffer::SetStreamOffset ( CNcbiStreampos  pos)
Deprecated:
Use SetStreamPos() instead
See also
SetStreamPos()

Definition at line 587 of file strbuffer.cpp.

References CIStreamBuffer::SetStreamPos().

◆ SetStreamPos()

void CIStreamBuffer::SetStreamPos ( CNcbiStreampos  pos)

◆ SetUseEol()

void COStreamBuffer::SetUseEol ( bool  set)

◆ SetUseIndentation()

void COStreamBuffer::SetUseIndentation ( bool  set)

◆ SetWriter()

void CWriterSourceCollector::SetWriter ( IWriter writer,
EOwnership  own 
)

Reset the destination IWriter interface.

Parameters
writerPointer on adapted IWriter interface.
ownFlag to take ownership on the writer (delete on destruction).

Definition at line 725 of file bytesrc.cpp.

References CWriterSourceCollector::m_Own, and CWriterSourceCollector::m_Writer.

◆ Skip()

char* COStreamBuffer::Skip ( size_t  count)
protected

◆ SkipChar()

void CIStreamBuffer::SkipChar ( void  )

◆ SkipChars()

void CIStreamBuffer::SkipChars ( size_t  count)

◆ SkipEndOfLine()

void CIStreamBuffer::SkipEndOfLine ( char  lastChar)

◆ SkipExpectedChar()

bool CIStreamBuffer::SkipExpectedChar ( char  c,
size_t  offset = 0 
)

◆ SkipExpectedChars()

bool CIStreamBuffer::SkipExpectedChars ( char  c1,
char  c2,
size_t  offset = 0 
)

◆ SkipSpaces()

char CIStreamBuffer::SkipSpaces ( void  )

◆ SkipWs()

char CIStreamBuffer::SkipWs ( void  )

Definition at line 616 of file strbuffer.cpp.

References CIStreamBuffer::GetChar(), and isspace().

◆ StartSubSource()

void CIStreamBuffer::StartSubSource ( void  )

◆ SubSource() [1/4]

CRef< CSubSourceCollector > CByteSourceReader::SubSource ( size_t  prepend,
CRef< CSubSourceCollector parent 
)
virtual

◆ SubSource() [2/4]

CRef< CSubSourceCollector > CWriterByteSourceReader::SubSource ( size_t  prepend,
CRef< CSubSourceCollector parent 
)
virtual

Create CWriterSourceCollector.

Reimplemented from CByteSourceReader.

Definition at line 775 of file bytesrc.cpp.

References eNoOwnership, and CWriterByteSourceReader::m_Writer.

◆ SubSource() [3/4]

CRef< CSubSourceCollector > CWriterCopyByteSourceReader::SubSource ( size_t  prepend,
CRef< CSubSourceCollector parent 
)
virtual

Create CWriterSourceCollector.

Reimplemented from CByteSourceReader.

Definition at line 815 of file bytesrc.cpp.

References eNoOwnership, and CWriterCopyByteSourceReader::m_Writer.

◆ SubSource() [4/4]

CRef< CSubSourceCollector > CFileByteSourceReader::SubSource ( size_t  prepend,
CRef< CSubSourceCollector parent 
)
virtual

Reimplemented from CByteSourceReader.

Definition at line 454 of file bytesrc.cpp.

References CFileByteSourceReader::m_FileSource, CStreamByteSourceReader::m_Stream, and prepend().

◆ TrySetCurrentPos()

bool CIStreamBuffer::TrySetCurrentPos ( const char *  pos)

◆ TryToFillBuffer()

bool CIStreamBuffer::TryToFillBuffer ( void  )
protected

◆ UngetChar()

void CIStreamBuffer::UngetChar ( char  c)

◆ WrapAt()

void COStreamBuffer::WrapAt ( size_t  lineLength,
bool  keepWord 
)

◆ Write() [1/2]

void COStreamBuffer::Write ( CByteSourceReader reader)

Definition at line 1163 of file strbuffer.cpp.

References available, count, eRead, and NCBI_THROW.

◆ Write() [2/2]

void COStreamBuffer::Write ( const char *  data,
size_t  dataLength 
)

Definition at line 1142 of file strbuffer.cpp.

References available, and data.

Referenced by CObjectOStream::Write().

◆ x_GetNextChunkAt()

void CMMapByteSourceReader::x_GetNextChunkAt ( size_t  offset)
protected

◆ ZeroIndentLevel()

bool COStreamBuffer::ZeroIndentLevel ( void  ) const

◆ ~CByteSource()

CByteSource::~CByteSource ( void  )
virtual

Definition at line 61 of file bytesrc.cpp.

◆ ~CByteSourceReader()

CByteSourceReader::~CByteSourceReader ( void  )
virtual

Definition at line 75 of file bytesrc.cpp.

◆ ~CFileByteSource()

CFileByteSource::~CFileByteSource ( void  )

Definition at line 392 of file bytesrc.cpp.

◆ ~CFileByteSourceReader()

CFileByteSourceReader::~CFileByteSourceReader ( void  )

Definition at line 448 of file bytesrc.cpp.

◆ ~CFileSourceCollector()

CFileSourceCollector::~CFileSourceCollector ( void  )

Definition at line 513 of file bytesrc.cpp.

◆ ~CFStreamByteSource()

CFStreamByteSource::~CFStreamByteSource ( void  )

Definition at line 267 of file bytesrc.cpp.

References CStreamByteSource::m_Stream.

◆ ~CIRByteSourceReader()

CIRByteSourceReader::~CIRByteSourceReader ( void  )

Definition at line 222 of file bytesrc.cpp.

◆ ~CIStreamBuffer()

CIStreamBuffer::~CIStreamBuffer ( void  )

◆ ~CMemoryByteSource()

CMemoryByteSource::~CMemoryByteSource ( void  )

Definition at line 579 of file bytesrc.cpp.

◆ ~CMemoryByteSourceReader()

CMemoryByteSourceReader::~CMemoryByteSourceReader ( void  )

Definition at line 601 of file bytesrc.cpp.

◆ ~CMemoryChunk()

CMemoryChunk::~CMemoryChunk ( void  )

◆ ~CMemorySourceCollector()

CMemorySourceCollector::~CMemorySourceCollector ( void  )

Definition at line 680 of file bytesrc.cpp.

◆ ~CMMapByteSource()

CMMapByteSource::~CMMapByteSource ( void  )
virtual

Definition at line 277 of file bytesrc.cpp.

◆ ~CMMapByteSourceReader()

CMMapByteSourceReader::~CMMapByteSourceReader ( void  )

◆ ~COStreamBuffer()

COStreamBuffer::~COStreamBuffer ( void  )

◆ ~CStreamByteSource()

CStreamByteSource::~CStreamByteSource ( void  )

Definition at line 154 of file bytesrc.cpp.

◆ ~CStreamByteSourceReader()

CStreamByteSourceReader::~CStreamByteSourceReader ( void  )

Definition at line 177 of file bytesrc.cpp.

◆ ~CSubFileByteSource()

CSubFileByteSource::~CSubFileByteSource ( void  )

Definition at line 415 of file bytesrc.cpp.

◆ ~CSubFileByteSourceReader()

CSubFileByteSourceReader::~CSubFileByteSourceReader ( void  )

Definition at line 475 of file bytesrc.cpp.

◆ ~CSubSourceCollector()

CSubSourceCollector::~CSubSourceCollector ( void  )
virtual

Definition at line 120 of file bytesrc.cpp.

◆ ~CWriterByteSourceReader()

CWriterByteSourceReader::~CWriterByteSourceReader ( void  )

Definition at line 769 of file bytesrc.cpp.

◆ ~CWriterCopyByteSourceReader()

CWriterCopyByteSourceReader::~CWriterCopyByteSourceReader ( void  )

Definition at line 797 of file bytesrc.cpp.

◆ ~CWriterSourceCollector()

CWriterSourceCollector::~CWriterSourceCollector ( )
virtual

Definition at line 717 of file bytesrc.cpp.

References CWriterSourceCollector::m_Own, and CWriterSourceCollector::m_Writer.

◆ ~ICanceled()

virtual ICanceled::~ICanceled ( )
inlinevirtual

Definition at line 54 of file icanceled.hpp.

Variable Documentation

◆ m_BackLimit

size_t COStreamBuffer::m_BackLimit
private

Definition at line 334 of file strbuffer.hpp.

◆ m_Binary

bool CFileByteSource::m_Binary
private

Definition at line 191 of file bytesrc.hpp.

Referenced by CFileByteSource::IsBinary().

◆ m_Buffer [1/2]

char* CIStreamBuffer::m_Buffer
private

◆ m_Buffer [2/2]

char* COStreamBuffer::m_Buffer
private

Definition at line 329 of file strbuffer.hpp.

Referenced by COStreamBuffer::Close(), and COStreamBuffer::~COStreamBuffer().

◆ m_BufferEnd

char* COStreamBuffer::m_BufferEnd
private

Definition at line 331 of file strbuffer.hpp.

◆ m_BufferLockSize

size_t CIStreamBuffer::m_BufferLockSize
private

◆ m_BufferPos [1/2]

Int8 CIStreamBuffer::m_BufferPos
private

◆ m_BufferPos [2/2]

Int8 COStreamBuffer::m_BufferPos
private

Definition at line 328 of file strbuffer.hpp.

◆ m_BufferSize

size_t CIStreamBuffer::m_BufferSize
private

Definition at line 202 of file strbuffer.hpp.

Referenced by CIStreamBuffer::Open(), and CIStreamBuffer::~CIStreamBuffer().

◆ m_Bytes

CConstRef<CMemoryChunk> CMemoryByteSource::m_Bytes
private

Definition at line 385 of file bytesrc.hpp.

Referenced by CMemoryByteSource::Open().

◆ m_CanceledCallback [1/2]

CConstIRef<ICanceled> CIStreamBuffer::m_CanceledCallback
private

Definition at line 211 of file strbuffer.hpp.

Referenced by CIStreamBuffer::SetCanceledCallback().

◆ m_CanceledCallback [2/2]

CConstIRef<ICanceled> COStreamBuffer::m_CanceledCallback
private

Definition at line 338 of file strbuffer.hpp.

Referenced by COStreamBuffer::SetCanceledCallback().

◆ m_CBlocks

size_t CMMapByteSource::m_CBlocks
protected

Definition at line 206 of file bytesrc.hpp.

Referenced by CMMapByteSource::Open().

◆ m_ChunkOffset

size_t CMMapByteSourceReader::m_ChunkOffset
protected

◆ m_Closed

bool COStreamBuffer::m_Closed
private

Definition at line 318 of file strbuffer.hpp.

Referenced by COStreamBuffer::Close().

◆ m_Collector

CRef<CSubSourceCollector> CIStreamBuffer::m_Collector
private

◆ m_CollectPos

const char* CIStreamBuffer::m_CollectPos
private

Definition at line 208 of file strbuffer.hpp.

Referenced by CIStreamBuffer::EndSubSource(), and CIStreamBuffer::StartSubSource().

◆ m_CopyData [1/2]

ECopyData CMemoryChunk::m_CopyData
private

◆ m_CopyData [2/2]

CMemoryChunk::ECopyData CMemorySourceCollector::m_CopyData
private

Definition at line 431 of file bytesrc.hpp.

Referenced by CMemorySourceCollector::AddChunk().

◆ m_CurOffset

size_t CMMapByteSourceReader::m_CurOffset
protected

◆ m_CurrentChunk

CConstRef<CMemoryChunk> CMemoryByteSourceReader::m_CurrentChunk
private

◆ m_CurrentChunkOffset

size_t CMemoryByteSourceReader::m_CurrentChunkOffset
private

◆ m_CurrentPos [1/2]

const char* CIStreamBuffer::m_CurrentPos
private

◆ m_CurrentPos [2/2]

char* COStreamBuffer::m_CurrentPos
private

Definition at line 330 of file strbuffer.hpp.

Referenced by COStreamBuffer::Close().

◆ m_Data

const char* CMemoryChunk::m_Data
private

◆ m_DataEndPos

const char* CIStreamBuffer::m_DataEndPos
private

◆ m_DataSize

size_t CMemoryChunk::m_DataSize
private

Definition at line 366 of file bytesrc.hpp.

Referenced by CMemoryChunk::GetDataSize().

◆ m_DefaultSize

size_t CMMapByteSourceReader::m_DefaultSize
protected

◆ m_DeleteOutput

bool COStreamBuffer::m_DeleteOutput
private

Definition at line 317 of file strbuffer.hpp.

Referenced by COStreamBuffer::Close(), and COStreamBuffer::~COStreamBuffer().

◆ m_EOF

bool CIRByteSourceReader::m_EOF
protected

Definition at line 265 of file bytesrc.hpp.

Referenced by CIRByteSourceReader::EndOfData(), and CIRByteSourceReader::Read().

◆ m_Error [1/2]

const char* CIStreamBuffer::m_Error
private

Definition at line 199 of file strbuffer.hpp.

Referenced by CIStreamBuffer::Close(), and CIStreamBuffer::Open().

◆ m_Error [2/2]

const char* COStreamBuffer::m_Error
private

Definition at line 320 of file strbuffer.hpp.

Referenced by COStreamBuffer::Close().

◆ m_FileMap

CMemoryFileMap CMMapByteSource::m_FileMap
protected

Definition at line 205 of file bytesrc.hpp.

Referenced by CMMapByteSource::Open().

◆ m_FileName

string CFileByteSource::m_FileName
private

Definition at line 190 of file bytesrc.hpp.

Referenced by CFileByteSource::GetFileName().

◆ m_FileSize

size_t CMMapByteSourceReader::m_FileSize
protected

◆ m_FileSource [1/2]

CConstRef<CFileByteSource> CFileByteSourceReader::m_FileSource
private

Definition at line 338 of file bytesrc.hpp.

Referenced by CFileByteSourceReader::SubSource().

◆ m_FileSource [2/2]

CConstRef<CFileByteSource> CFileSourceCollector::m_FileSource
private

Definition at line 487 of file bytesrc.hpp.

Referenced by CFileSourceCollector::GetSource().

◆ m_FirstChunk

CConstRef<CMemoryChunk> CMemorySourceCollector::m_FirstChunk
private

◆ m_Fmap

CMemoryFileMap* CMMapByteSourceReader::m_Fmap
protected

◆ m_FStream

CNcbiIfstream CFileByteSourceReader::m_FStream
private

Definition at line 339 of file bytesrc.hpp.

Referenced by CFileByteSourceReader::CFileByteSourceReader().

◆ m_IndentLevel

size_t COStreamBuffer::m_IndentLevel
private

Definition at line 326 of file strbuffer.hpp.

Referenced by COStreamBuffer::Close().

◆ m_Input

CRef<CByteSourceReader> CIStreamBuffer::m_Input
private

◆ m_LastChunk

CRef<CMemoryChunk> CMemorySourceCollector::m_LastChunk
private

Definition at line 430 of file bytesrc.hpp.

Referenced by CMemorySourceCollector::AddChunk().

◆ m_Length [1/3]

TFileOff CFileSourceCollector::m_Length
private

Definition at line 489 of file bytesrc.hpp.

Referenced by CFileSourceCollector::AddChunk(), and CFileSourceCollector::GetSource().

◆ m_Length [2/3]

TFileOff CSubFileByteSource::m_Length
private

Definition at line 512 of file bytesrc.hpp.

Referenced by CSubFileByteSource::GetLength(), and CSubFileByteSource::Open().

◆ m_Length [3/3]

TFileOff CSubFileByteSourceReader::m_Length
private

◆ m_Line [1/2]

size_t CIStreamBuffer::m_Line
private

Definition at line 206 of file strbuffer.hpp.

Referenced by CIStreamBuffer::Close(), and CIStreamBuffer::SetStreamPos().

◆ m_Line [2/2]

size_t COStreamBuffer::m_Line
private

Definition at line 332 of file strbuffer.hpp.

Referenced by COStreamBuffer::Close().

◆ m_LineLength

size_t COStreamBuffer::m_LineLength
private

Definition at line 333 of file strbuffer.hpp.

Referenced by COStreamBuffer::Close().

◆ m_NextChunk

CRef<CMemoryChunk> CMemoryChunk::m_NextChunk
private

◆ m_NextOffset

size_t CMMapByteSourceReader::m_NextOffset
protected

◆ m_Output

CNcbiOstream& COStreamBuffer::m_Output
private

Definition at line 316 of file strbuffer.hpp.

Referenced by COStreamBuffer::Close(), and COStreamBuffer::~COStreamBuffer().

◆ m_Own

EOwnership CWriterSourceCollector::m_Own
private

Flag to delete IWriter on destruction.

Definition at line 468 of file bytesrc.hpp.

Referenced by CWriterSourceCollector::SetWriter(), and CWriterSourceCollector::~CWriterSourceCollector().

◆ m_ParentCollector

CRef<CSubSourceCollector> CSubSourceCollector::m_ParentCollector
protected

Pointer on parent (or chained) collector.

Definition at line 148 of file bytesrc.hpp.

Referenced by CSubSourceCollector::AddChunk(), and CSubSourceCollector::GetParentCollector().

◆ m_Ptr

char* CMMapByteSourceReader::m_Ptr
protected

◆ m_Reader [1/2]

IReader* CIRByteSourceReader::m_Reader
protected

Definition at line 264 of file bytesrc.hpp.

Referenced by CIRByteSourceReader::Read().

◆ m_Reader [2/2]

CRef<CByteSourceReader> CWriterCopyByteSourceReader::m_Reader
protected

◆ m_Source [1/2]

CConstRef<CByteSource> CMMapByteSourceReader::m_Source
protected

Definition at line 228 of file bytesrc.hpp.

◆ m_Source [2/2]

CConstRef<CByteSource> CStreamByteSourceReader::m_Source
protected

Definition at line 247 of file bytesrc.hpp.

◆ m_Start [1/2]

TFilePos CFileSourceCollector::m_Start
private

Definition at line 488 of file bytesrc.hpp.

Referenced by CFileSourceCollector::GetSource().

◆ m_Start [2/2]

TFilePos CSubFileByteSource::m_Start
private

Definition at line 511 of file bytesrc.hpp.

Referenced by CSubFileByteSource::GetStart(), and CSubFileByteSource::Open().

◆ m_Stream [1/2]

CNcbiIstream* CStreamByteSource::m_Stream
protected

◆ m_Stream [2/2]

CNcbiIstream* CStreamByteSourceReader::m_Stream
protected

◆ m_UnitSize

size_t CMMapByteSourceReader::m_UnitSize
protected

◆ m_UseEol

bool COStreamBuffer::m_UseEol
private

Definition at line 336 of file strbuffer.hpp.

◆ m_UseIndentation

bool COStreamBuffer::m_UseIndentation
private

Definition at line 335 of file strbuffer.hpp.

◆ m_Writer [1/3]

IWriter* CWriterByteSourceReader::m_Writer
protected

Definition at line 296 of file bytesrc.hpp.

Referenced by CWriterByteSourceReader::SubSource().

◆ m_Writer [2/3]

IWriter* CWriterCopyByteSourceReader::m_Writer
protected

Definition at line 325 of file bytesrc.hpp.

Referenced by CWriterCopyByteSourceReader::SubSource().

◆ m_Writer [3/3]

IWriter* CWriterSourceCollector::m_Writer
private
Modified on Fri Sep 20 14:58:19 2024 by modify_doxy.py rev. 669887