LibreOffice Module sot (master) 1
|
#include <stgelem.hxx>
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 ClsId & | GetClassId () 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 |
Definition at line 102 of file stgelem.hxx.
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().
|
inline |
Definition at line 132 of file stgelem.hxx.
References m_aClsId.
sal_Int32 StgEntry::GetLeaf | ( | StgEntryRef | eRef | ) | const |
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().
|
inline |
Definition at line 130 of file stgelem.hxx.
References m_nSize.
Referenced by StgDirEntry::GetSize(), StgDirEntry::OpenStream(), StgDirEntry::Seek(), StgDirEntry::Strm2Tmp(), and SvStorageInfo::SvStorageInfo().
|
inline |
Definition at line 128 of file stgelem.hxx.
References m_nPage1.
|
inline |
Definition at line 127 of file stgelem.hxx.
References m_cType.
Referenced by StgDirEntry::Commit(), StgDirEntry::DelTemp(), StgDirEntry::Invalidate(), StgDirEntry::StoreStream(), and SvStorageInfo::SvStorageInfo().
void StgEntry::Init | ( | void | ) |
Definition at line 285 of file stgelem.cxx.
References m_aClsId, m_cFlags, m_cType, m_nAtime, m_nChild, m_nFlags, m_nLeft, m_nMtime, m_nName, m_nNameLen, m_nPage1, m_nRight, m_nSize, m_nUnknown, SetLeaf(), STG_CHILD, STG_DATA, STG_EOF, STG_FREE, STG_LEFT, and STG_RIGHT.
Referenced by StgDirStrm::Create(), StgDirStrm::Find(), StgDirStrm::StgDirStrm(), and StgDirStrm::Store().
bool StgEntry::Load | ( | const void * | pBuffer, |
sal_uInt32 | nBufSize, | ||
sal_uInt64 | nUnderlyingStreamSize | ||
) |
Definition at line 386 of file stgelem.cxx.
References i, isKnownSpecial(), m_aClsId, m_aName, m_cFlags, m_cType, m_nAtime, m_nChild, m_nFlags, m_nLeft, m_nMtime, m_nName, m_nNameLen, m_nPage1, m_nRight, m_nSize, m_nUnknown, o3tl::make_unsigned(), n, nMaxLegalStr, ReadClsId(), SvStream::ReadInt32(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::ReadUtf16(), STG_EMPTY, STG_STORAGE, and ToUpperUnicode().
Referenced by StgDirEntry::StgDirEntry().
void StgEntry::SetClassId | ( | const ClsId & | r | ) |
Definition at line 360 of file stgelem.cxx.
References m_aClsId.
void StgEntry::SetLeaf | ( | StgEntryRef | eRef, |
sal_Int32 | nPage | ||
) |
Definition at line 349 of file stgelem.cxx.
References m_nChild, m_nLeft, m_nPage1, m_nRight, STG_CHILD, STG_DATA, STG_LEFT, and STG_RIGHT.
Referenced by StgDirEntry::Enum(), Init(), StgStrm::SetEntry(), and StgStrm::SetSize().
void StgEntry::SetName | ( | const OUString & | rName | ) |
Definition at line 315 of file stgelem.cxx.
References i, m_aName, m_nName, m_nNameLen, nMaxLegalStr, and ToUpperUnicode().
Referenced by StgDirStrm::Create(), StgDirStrm::Find(), and StgDirStrm::StgDirStrm().
|
inline |
Definition at line 131 of file stgelem.hxx.
Referenced by StgStrm::SetEntry(), and StgStrm::SetSize().
|
inline |
Definition at line 129 of file stgelem.hxx.
Referenced by StgDirStrm::Create(), and StgDirStrm::StgDirStrm().
void StgEntry::Store | ( | void * | pTo | ) |
Definition at line 462 of file stgelem.cxx.
References i, m_aClsId, m_cFlags, m_cType, m_nAtime, m_nChild, m_nFlags, m_nLeft, m_nMtime, m_nName, m_nNameLen, m_nPage1, m_nRight, m_nSize, m_nUnknown, WriteClsId(), SvStream::WriteInt32(), SvStream::WriteUChar(), and SvStream::WriteUInt16().
Referenced by StgDirStrm::Store(), and StgDirEntry::Store().
|
private |
Definition at line 111 of file stgelem.hxx.
Referenced by GetClassId(), Init(), Load(), SetClassId(), and Store().
|
private |
Definition at line 118 of file stgelem.hxx.
|
private |
Definition at line 107 of file stgelem.hxx.
|
private |
|
private |
Definition at line 114 of file stgelem.hxx.
|
private |
|
private |
Definition at line 112 of file stgelem.hxx.
|
private |
|
private |
Definition at line 113 of file stgelem.hxx.
|
private |
|
private |
|
private |
Definition at line 115 of file stgelem.hxx.
Referenced by GetLeaf(), GetStartPage(), Init(), Load(), SetLeaf(), and Store().
|
private |
|
private |
|
private |
Definition at line 117 of file stgelem.hxx.