LibreOffice Module sot (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
StgSmallStrm Class Reference

#include <stgstrms.hxx>

Inheritance diagram for StgSmallStrm:
[legend]
Collaboration diagram for StgSmallStrm:
[legend]

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 ()
 
StgIoGetIo ()
 
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

StgStrmm_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
StgIom_rIo
 
std::unique_ptr< StgFATm_pFat
 
StgDirEntrym_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
 

Detailed Description

Definition at line 136 of file stgstrms.hxx.

Constructor & Destructor Documentation

◆ StgSmallStrm() [1/2]

StgSmallStrm::StgSmallStrm ( StgIo r,
sal_Int32  nBgn 
)

Definition at line 1040 of file stgstrms.cxx.

References Init().

◆ StgSmallStrm() [2/2]

StgSmallStrm::StgSmallStrm ( StgIo r,
StgDirEntry p 
)

Definition at line 1045 of file stgstrms.cxx.

References Init(), StgStrm::m_pEntry, p, and STG_DATA.

Member Function Documentation

◆ Init()

void StgSmallStrm::Init ( sal_Int32  nBgn,
sal_Int32  nLen 
)
private

◆ IsSmallStrm()

virtual bool StgSmallStrm::IsSmallStrm ( ) const
inlineoverridevirtual

Reimplemented from StgStrm.

Definition at line 145 of file stgstrms.hxx.

◆ Read()

sal_Int32 StgSmallStrm::Read ( void *  pBuf,
sal_Int32  n 
)
overridevirtual

◆ Write()

sal_Int32 StgSmallStrm::Write ( const void *  pBuf,
sal_Int32  n 
)
overridevirtual

Member Data Documentation

◆ m_pData

StgStrm* StgSmallStrm::m_pData
private

Definition at line 138 of file stgstrms.hxx.

Referenced by Init(), Read(), and Write().


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