LibreOffice Module svl (master) 1
|
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 |
Page * | m_pFirstPage |
Page * | m_pReadPage |
Page * | m_pWritePage |
sal_Int8 * | m_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 |
Definition at line 38 of file strmadpt.cxx.
Enumerator | |
---|---|
SEEK_BEFORE_MARKED | |
SEEK_OK | |
SEEK_PAST_END |
Definition at line 41 of file strmadpt.cxx.
|
inline |
Definition at line 88 of file strmadpt.cxx.
SvDataPipe_Impl::~SvDataPipe_Impl | ( | ) |
Definition at line 462 of file strmadpt.cxx.
References m_pFirstPage, and SvDataPipe_Impl::Page::m_pNext.
|
inline |
Definition at line 77 of file strmadpt.cxx.
References m_pReadBuffer.
|
inline |
Definition at line 107 of file strmadpt.cxx.
References m_bEOF, SvDataPipe_Impl::Page::m_pEnd, SvDataPipe_Impl::Page::m_pRead, m_pReadPage, and m_pWritePage.
sal_uInt32 SvDataPipe_Impl::read | ( | ) |
Definition at line 475 of file strmadpt.cxx.
References m_nReadBufferFilled, m_nReadBufferSize, SvDataPipe_Impl::Page::m_pEnd, SvDataPipe_Impl::Page::m_pNext, SvDataPipe_Impl::Page::m_pRead, m_pReadBuffer, m_pReadPage, m_pWritePage, and remove().
|
private |
Definition at line 437 of file strmadpt.cxx.
References m_aMarks, SvDataPipe_Impl::Page::m_nOffset, m_nPages, m_nPageSize, m_pFirstPage, SvDataPipe_Impl::Page::m_pNext, SvDataPipe_Impl::Page::m_pPrev, and m_pReadPage.
Referenced by read(), and setReadPosition().
|
inline |
Definition at line 81 of file strmadpt.cxx.
References m_bEOF.
|
inline |
Definition at line 99 of file strmadpt.cxx.
References m_nReadBufferFilled, m_nReadBufferSize, and m_pReadBuffer.
SvDataPipe_Impl::SeekResult SvDataPipe_Impl::setReadPosition | ( | sal_uInt32 | nPosition | ) |
Definition at line 611 of file strmadpt.cxx.
References SvDataPipe_Impl::Page::m_aBuffer, SvDataPipe_Impl::Page::m_nOffset, m_nPageSize, SvDataPipe_Impl::Page::m_pEnd, m_pFirstPage, SvDataPipe_Impl::Page::m_pNext, SvDataPipe_Impl::Page::m_pPrev, SvDataPipe_Impl::Page::m_pRead, m_pReadPage, SvDataPipe_Impl::Page::m_pStart, m_pWritePage, remove(), SEEK_BEFORE_MARKED, SEEK_OK, and SEEK_PAST_END.
void SvDataPipe_Impl::write | ( | sal_Int8 const * | pBuffer, |
sal_uInt32 | nSize | ||
) |
Definition at line 513 of file strmadpt.cxx.
References SvDataPipe_Impl::Page::m_aBuffer, m_aMarks, SvDataPipe_Impl::Page::m_nOffset, m_nPages, m_nPageSize, m_nReadBufferFilled, m_nReadBufferSize, SvDataPipe_Impl::Page::m_pEnd, m_pFirstPage, SvDataPipe_Impl::Page::m_pNext, SvDataPipe_Impl::Page::m_pPrev, SvDataPipe_Impl::Page::m_pRead, m_pReadBuffer, m_pReadPage, SvDataPipe_Impl::Page::m_pStart, and m_pWritePage.
|
private |
Definition at line 56 of file strmadpt.cxx.
|
private |
Definition at line 64 of file strmadpt.cxx.
|
private |
Definition at line 63 of file strmadpt.cxx.
|
staticprivate |
Definition at line 54 of file strmadpt.cxx.
Referenced by remove(), setReadPosition(), and write().
|
private |
Definition at line 62 of file strmadpt.cxx.
Referenced by read(), setReadBuffer(), and write().
|
private |
Definition at line 61 of file strmadpt.cxx.
Referenced by read(), setReadBuffer(), and write().
|
private |
Definition at line 57 of file strmadpt.cxx.
Referenced by remove(), setReadPosition(), write(), and ~SvDataPipe_Impl().
|
private |
Definition at line 60 of file strmadpt.cxx.
Referenced by clearReadBuffer(), read(), setReadBuffer(), and write().
|
private |
Definition at line 58 of file strmadpt.cxx.
Referenced by isEOF(), read(), remove(), setReadPosition(), and write().
|
private |
Definition at line 59 of file strmadpt.cxx.
Referenced by isEOF(), read(), setReadPosition(), and write().