LibreOffice Module svl (master) 1
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SvDataPipe_Impl Class Reference
Collaboration diagram for SvDataPipe_Impl:
[legend]

Classes

struct  Page
 

Public Types

enum  SeekResult {
  SEEK_BEFORE_MARKED ,
  SEEK_OK ,
  SEEK_PAST_END
}
 

Public Member Functions

 SvDataPipe_Impl ()
 
 ~SvDataPipe_Impl ()
 
void setReadBuffer (sal_Int8 *pBuffer, sal_uInt32 nSize)
 
sal_uInt32 read ()
 
void clearReadBuffer ()
 
void write (sal_Int8 const *pBuffer, sal_uInt32 nSize)
 
void setEOF ()
 
bool isEOF () const
 
SeekResult setReadPosition (sal_uInt32 nPosition)
 

Private Member Functions

void remove (Page *pPage)
 

Private Attributes

std::multiset< sal_uInt32 > m_aMarks
 
Pagem_pFirstPage
 
Pagem_pReadPage
 
Pagem_pWritePage
 
sal_Int8m_pReadBuffer
 
sal_uInt32 m_nReadBufferSize
 
sal_uInt32 m_nReadBufferFilled
 
sal_uInt32 m_nPages
 
bool m_bEOF
 

Static Private Attributes

static const sal_uInt32 m_nPageSize = 1000
 

Detailed Description

Definition at line 38 of file strmadpt.cxx.

Member Enumeration Documentation

◆ SeekResult

Enumerator
SEEK_BEFORE_MARKED 
SEEK_OK 
SEEK_PAST_END 

Definition at line 41 of file strmadpt.cxx.

Constructor & Destructor Documentation

◆ SvDataPipe_Impl()

SvDataPipe_Impl::SvDataPipe_Impl ( )
inline

Definition at line 88 of file strmadpt.cxx.

◆ ~SvDataPipe_Impl()

SvDataPipe_Impl::~SvDataPipe_Impl ( )

Definition at line 462 of file strmadpt.cxx.

References m_pFirstPage, and SvDataPipe_Impl::Page::m_pNext.

Member Function Documentation

◆ clearReadBuffer()

void SvDataPipe_Impl::clearReadBuffer ( )
inline

Definition at line 77 of file strmadpt.cxx.

References m_pReadBuffer.

◆ isEOF()

bool SvDataPipe_Impl::isEOF ( ) const
inline

◆ read()

sal_uInt32 SvDataPipe_Impl::read ( )

◆ remove()

void SvDataPipe_Impl::remove ( Page pPage)
private

◆ setEOF()

void SvDataPipe_Impl::setEOF ( )
inline

Definition at line 81 of file strmadpt.cxx.

References m_bEOF.

◆ setReadBuffer()

void SvDataPipe_Impl::setReadBuffer ( sal_Int8 pBuffer,
sal_uInt32  nSize 
)
inline

Definition at line 99 of file strmadpt.cxx.

References m_nReadBufferFilled, m_nReadBufferSize, and m_pReadBuffer.

◆ setReadPosition()

SvDataPipe_Impl::SeekResult SvDataPipe_Impl::setReadPosition ( sal_uInt32  nPosition)

◆ write()

void SvDataPipe_Impl::write ( sal_Int8 const *  pBuffer,
sal_uInt32  nSize 
)

Member Data Documentation

◆ m_aMarks

std::multiset< sal_uInt32 > SvDataPipe_Impl::m_aMarks
private

Definition at line 56 of file strmadpt.cxx.

Referenced by remove(), and write().

◆ m_bEOF

bool SvDataPipe_Impl::m_bEOF
private

Definition at line 64 of file strmadpt.cxx.

Referenced by isEOF(), and setEOF().

◆ m_nPages

sal_uInt32 SvDataPipe_Impl::m_nPages
private

Definition at line 63 of file strmadpt.cxx.

Referenced by remove(), and write().

◆ m_nPageSize

const sal_uInt32 SvDataPipe_Impl::m_nPageSize = 1000
staticprivate

Definition at line 54 of file strmadpt.cxx.

Referenced by remove(), setReadPosition(), and write().

◆ m_nReadBufferFilled

sal_uInt32 SvDataPipe_Impl::m_nReadBufferFilled
private

Definition at line 62 of file strmadpt.cxx.

Referenced by read(), setReadBuffer(), and write().

◆ m_nReadBufferSize

sal_uInt32 SvDataPipe_Impl::m_nReadBufferSize
private

Definition at line 61 of file strmadpt.cxx.

Referenced by read(), setReadBuffer(), and write().

◆ m_pFirstPage

Page* SvDataPipe_Impl::m_pFirstPage
private

Definition at line 57 of file strmadpt.cxx.

Referenced by remove(), setReadPosition(), write(), and ~SvDataPipe_Impl().

◆ m_pReadBuffer

sal_Int8* SvDataPipe_Impl::m_pReadBuffer
private

Definition at line 60 of file strmadpt.cxx.

Referenced by clearReadBuffer(), read(), setReadBuffer(), and write().

◆ m_pReadPage

Page* SvDataPipe_Impl::m_pReadPage
private

Definition at line 58 of file strmadpt.cxx.

Referenced by isEOF(), read(), remove(), setReadPosition(), and write().

◆ m_pWritePage

Page* SvDataPipe_Impl::m_pWritePage
private

Definition at line 59 of file strmadpt.cxx.

Referenced by isEOF(), read(), setReadPosition(), and write().


The documentation for this class was generated from the following file: