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

#include <stgelem.hxx>

Collaboration diagram for StgEntry:
[legend]

Public Member Functions

void Init ()
 
void SetName (const OUString &)
 
void GetName (OUString &rName) const
 
sal_Int32 Compare (const StgEntry &) const
 
bool Load (const void *pBuffer, sal_uInt32 nBufSize, sal_uInt64 nUnderlyingStreamSize)
 
void Store (void *)
 
StgEntryType GetType () const
 
sal_Int32 GetStartPage () const
 
void SetType (StgEntryType t)
 
sal_Int32 GetSize () const
 
void SetSize (sal_Int32 n)
 
const ClsIdGetClassId () const
 
void SetClassId (const ClsId &)
 
sal_Int32 GetLeaf (StgEntryRef) const
 
void SetLeaf (StgEntryRef, sal_Int32)
 

Private Attributes

sal_Unicode m_nName [32]
 
sal_uInt16 m_nNameLen
 
sal_uInt8 m_cType
 
sal_uInt8 m_cFlags
 
sal_Int32 m_nLeft
 
sal_Int32 m_nRight
 
sal_Int32 m_nChild
 
ClsId m_aClsId
 
sal_Int32 m_nFlags
 
sal_Int32 m_nMtime [2]
 
sal_Int32 m_nAtime [2]
 
sal_Int32 m_nPage1
 
sal_Int32 m_nSize
 
sal_Int32 m_nUnknown
 
OUString m_aName
 

Detailed Description

Definition at line 102 of file stgelem.hxx.

Member Function Documentation

◆ Compare()

sal_Int32 StgEntry::Compare ( const StgEntry r) const

Definition at line 375 of file stgelem.cxx.

References m_aName, and m_nNameLen.

Referenced by StgDirEntry::Compare().

◆ GetClassId()

const ClsId & StgEntry::GetClassId ( ) const
inline

Definition at line 132 of file stgelem.hxx.

References m_aClsId.

◆ GetLeaf()

sal_Int32 StgEntry::GetLeaf ( StgEntryRef  eRef) const

Definition at line 336 of file stgelem.cxx.

References m_nChild, m_nLeft, m_nPage1, m_nRight, n, STG_CHILD, STG_DATA, STG_LEFT, and STG_RIGHT.

Referenced by StgDirStrm::SetupEntry().

◆ GetName()

void StgEntry::GetName ( OUString &  rName) const

Definition at line 365 of file stgelem.cxx.

References m_nName, m_nNameLen, and n.

Referenced by SvStorageInfo::SvStorageInfo().

◆ GetSize()

sal_Int32 StgEntry::GetSize ( ) const
inline

◆ GetStartPage()

sal_Int32 StgEntry::GetStartPage ( ) const
inline

Definition at line 128 of file stgelem.hxx.

References m_nPage1.

◆ GetType()

StgEntryType StgEntry::GetType ( ) const
inline

◆ Init()

void StgEntry::Init ( void  )

◆ Load()

bool StgEntry::Load ( const void *  pBuffer,
sal_uInt32  nBufSize,
sal_uInt64  nUnderlyingStreamSize 
)

◆ SetClassId()

void StgEntry::SetClassId ( const ClsId r)

Definition at line 360 of file stgelem.cxx.

References m_aClsId.

◆ SetLeaf()

void StgEntry::SetLeaf ( StgEntryRef  eRef,
sal_Int32  nPage 
)

◆ SetName()

void StgEntry::SetName ( const OUString &  rName)

◆ SetSize()

void StgEntry::SetSize ( sal_Int32  n)
inline

Definition at line 131 of file stgelem.hxx.

References m_nSize, and n.

Referenced by StgStrm::SetEntry(), and StgStrm::SetSize().

◆ SetType()

void StgEntry::SetType ( StgEntryType  t)
inline

Definition at line 129 of file stgelem.hxx.

References m_cType, and t.

Referenced by StgDirStrm::Create(), and StgDirStrm::StgDirStrm().

◆ Store()

void StgEntry::Store ( void *  pTo)

Member Data Documentation

◆ m_aClsId

ClsId StgEntry::m_aClsId
private

Definition at line 111 of file stgelem.hxx.

Referenced by GetClassId(), Init(), Load(), SetClassId(), and Store().

◆ m_aName

OUString StgEntry::m_aName
private

Definition at line 118 of file stgelem.hxx.

Referenced by Compare(), Load(), and SetName().

◆ m_cFlags

sal_uInt8 StgEntry::m_cFlags
private

Definition at line 107 of file stgelem.hxx.

Referenced by Init(), Load(), and Store().

◆ m_cType

sal_uInt8 StgEntry::m_cType
private

Definition at line 106 of file stgelem.hxx.

Referenced by GetType(), Init(), Load(), SetType(), and Store().

◆ m_nAtime

sal_Int32 StgEntry::m_nAtime[2]
private

Definition at line 114 of file stgelem.hxx.

Referenced by Init(), Load(), and Store().

◆ m_nChild

sal_Int32 StgEntry::m_nChild
private

Definition at line 110 of file stgelem.hxx.

Referenced by GetLeaf(), Init(), Load(), SetLeaf(), and Store().

◆ m_nFlags

sal_Int32 StgEntry::m_nFlags
private

Definition at line 112 of file stgelem.hxx.

Referenced by Init(), Load(), and Store().

◆ m_nLeft

sal_Int32 StgEntry::m_nLeft
private

Definition at line 108 of file stgelem.hxx.

Referenced by GetLeaf(), Init(), Load(), SetLeaf(), and Store().

◆ m_nMtime

sal_Int32 StgEntry::m_nMtime[2]
private

Definition at line 113 of file stgelem.hxx.

Referenced by Init(), Load(), and Store().

◆ m_nName

sal_Unicode StgEntry::m_nName[32]
private

Definition at line 104 of file stgelem.hxx.

Referenced by GetName(), Init(), Load(), SetName(), and Store().

◆ m_nNameLen

sal_uInt16 StgEntry::m_nNameLen
private

Definition at line 105 of file stgelem.hxx.

Referenced by Compare(), GetName(), Init(), Load(), SetName(), and Store().

◆ m_nPage1

sal_Int32 StgEntry::m_nPage1
private

Definition at line 115 of file stgelem.hxx.

Referenced by GetLeaf(), GetStartPage(), Init(), Load(), SetLeaf(), and Store().

◆ m_nRight

sal_Int32 StgEntry::m_nRight
private

Definition at line 109 of file stgelem.hxx.

Referenced by GetLeaf(), Init(), Load(), SetLeaf(), and Store().

◆ m_nSize

sal_Int32 StgEntry::m_nSize
private

Definition at line 116 of file stgelem.hxx.

Referenced by GetSize(), Init(), Load(), SetSize(), and Store().

◆ m_nUnknown

sal_Int32 StgEntry::m_nUnknown
private

Definition at line 117 of file stgelem.hxx.

Referenced by Init(), Load(), and Store().


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