LibreOffice Module sot (master) 1
|
#include <stgstrms.hxx>
Public Member Functions | |
StgDataStrm (StgIo &, sal_Int32 nBgn, sal_Int32 nLen=-1) | |
StgDataStrm (StgIo &, StgDirEntry &) | |
void * | GetPtr (sal_Int32 nPos, bool bDirty) |
void | SetIncrement (short n) |
virtual bool | SetSize (sal_Int32) override |
virtual sal_Int32 | Read (void *, sal_Int32) override |
virtual sal_Int32 | Write (const void *, sal_Int32) 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 | |
short | m_nIncr |
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 117 of file stgstrms.hxx.
StgDataStrm::StgDataStrm | ( | StgIo & | r, |
sal_Int32 | nBgn, | ||
sal_Int32 | nLen = -1 |
||
) |
Definition at line 833 of file stgstrms.cxx.
References Init().
StgDataStrm::StgDataStrm | ( | StgIo & | r, |
StgDirEntry & | p | ||
) |
Definition at line 838 of file stgstrms.cxx.
References Init(), StgStrm::m_pEntry, p, and STG_DATA.
void * StgDataStrm::GetPtr | ( | sal_Int32 | nPos, |
bool | bDirty | ||
) |
Definition at line 898 of file stgstrms.cxx.
References StgCache::Get(), StgStrm::GetSize(), StgStrm::m_nOffset, StgStrm::m_nPage, StgStrm::m_rIo, Pos, StgStrm::Pos2Page(), and StgCache::SetDirty().
Referenced by StgDirStrm::GetEntry().
|
private |
Definition at line 845 of file stgstrms.cxx.
References m_nIncr, StgStrm::m_nOffset, StgStrm::m_nPage, StgStrm::m_nSize, StgStrm::m_nStart, StgIo::m_pFAT, StgStrm::m_pFat, StgStrm::m_rIo, and StgStrm::scanBuildPageChainCache().
Referenced by StgDataStrm().
|
overridevirtual |
Reimplemented from StgStrm.
Definition at line 917 of file stgstrms.cxx.
References StgCache::Find(), StgCache::Get(), StgStrm::GetPos(), StgStrm::m_nOffset, StgStrm::m_nPage, StgStrm::m_nPageSize, StgStrm::m_nSize, StgStrm::m_rIo, n, p, StgStrm::Pos2Page(), StgCache::Read(), and StgStrm::SetPos().
|
inline |
Definition at line 125 of file stgstrms.hxx.
Referenced by StgIo::SetupStreams().
|
overridevirtual |
Reimplemented from StgStrm.
Reimplemented in StgDirStrm.
Definition at line 866 of file stgstrms.cxx.
References StgCache::Copy(), StgCache::GetPhysPages(), m_nIncr, StgStrm::m_nPage, StgStrm::m_nPageSize, StgStrm::m_nSize, StgStrm::m_pFat, StgStrm::m_rIo, StgStrm::Pos2Page(), StgCache::SetSize(), and StgStrm::SetSize().
Referenced by Write().
|
overridevirtual |
Reimplemented from StgStrm.
Definition at line 972 of file stgstrms.cxx.
References StgCache::Find(), StgCache::Get(), StgStrm::GetPos(), StgStrm::m_nOffset, StgStrm::m_nPage, StgStrm::m_nPageSize, StgStrm::m_nSize, StgStrm::m_rIo, n, p, StgStrm::Pos2Page(), StgCache::SetDirty(), StgStrm::SetPos(), SetSize(), and StgCache::Write().
|
private |
Definition at line 119 of file stgstrms.hxx.
Referenced by Init(), SetIncrement(), and SetSize().