LibreOffice Module sot (master) 1
|
#include <stgstrms.hxx>
Public Member Functions | |
StgSmallStrm (StgIo &, sal_Int32 nBgn) | |
StgSmallStrm (StgIo &, StgDirEntry &) | |
virtual sal_Int32 | Read (void *, sal_Int32) override |
virtual sal_Int32 | Write (const void *, sal_Int32) override |
virtual bool | IsSmallStrm () const override |
Public Member Functions inherited from StgStrm | |
virtual | ~StgStrm () |
StgIo & | GetIo () |
sal_Int32 | GetPos () const |
sal_Int32 | GetStart () const |
sal_Int32 | GetSize () const |
sal_Int32 | GetPage () const |
sal_Int32 | GetPages () const |
short | GetOffset () const |
void | SetEntry (StgDirEntry &) |
virtual bool | SetSize (sal_Int32) |
virtual bool | Pos2Page (sal_Int32 nBytePos) |
virtual sal_Int32 | Read (void *, sal_Int32) |
virtual sal_Int32 | Write (const void *, sal_Int32) |
virtual bool | IsSmallStrm () const |
Private Member Functions | |
void | Init (sal_Int32 nBgn, sal_Int32 nLen) |
Private Attributes | |
StgStrm * | m_pData |
Additional Inherited Members | |
Protected Member Functions inherited from StgStrm | |
sal_Int32 | scanBuildPageChainCache () |
bool | Copy (sal_Int32 nFrom, sal_Int32 nBytes) |
void | SetPos (sal_Int32 nPos, bool bValid) |
StgStrm (StgIo &) | |
Protected Attributes inherited from StgStrm | |
StgIo & | m_rIo |
std::unique_ptr< StgFAT > | m_pFat |
StgDirEntry * | m_pEntry |
sal_Int32 | m_nStart |
sal_Int32 | m_nSize |
sal_Int32 | m_nPage |
short | m_nOffset |
short | m_nPageSize |
std::vector< sal_Int32 > | m_aPagesCache |
o3tl::sorted_vector< sal_Int32 > | m_aUsedPageNumbers |
Definition at line 136 of file stgstrms.hxx.
StgSmallStrm::StgSmallStrm | ( | StgIo & | r, |
sal_Int32 | nBgn | ||
) |
Definition at line 1040 of file stgstrms.cxx.
References Init().
StgSmallStrm::StgSmallStrm | ( | StgIo & | r, |
StgDirEntry & | p | ||
) |
Definition at line 1045 of file stgstrms.cxx.
References Init(), StgStrm::m_pEntry, p, and STG_DATA.
|
private |
Definition at line 1052 of file stgstrms.cxx.
References StgIo::GetDataPageSize(), StgStrm::m_nPage, StgStrm::m_nPageSize, StgStrm::m_nSize, StgStrm::m_nStart, m_pData, StgIo::m_pDataFAT, StgIo::m_pDataStrm, StgStrm::m_pFat, and StgStrm::m_rIo.
Referenced by StgSmallStrm().
|
inlineoverridevirtual |
Reimplemented from StgStrm.
Definition at line 145 of file stgstrms.hxx.
|
overridevirtual |
Reimplemented from StgStrm.
Definition at line 1069 of file stgstrms.cxx.
References StgStrm::GetPos(), StgStrm::m_nOffset, StgStrm::m_nPage, StgStrm::m_nPageSize, StgStrm::m_nSize, m_pData, n, nPos, StgStrm::Pos2Page(), StgStrm::Read(), and StgStrm::SetPos().
|
overridevirtual |
Reimplemented from StgStrm.
Definition at line 1108 of file stgstrms.cxx.
References StgStrm::GetPos(), StgStrm::GetSize(), StgStrm::m_nOffset, StgStrm::m_nPage, StgStrm::m_nPageSize, StgStrm::m_nSize, m_pData, n, StgStrm::Pos2Page(), StgStrm::SetPos(), StgStrm::SetSize(), and StgStrm::Write().
|
private |
Definition at line 138 of file stgstrms.hxx.