LibreOffice Module lotuswordpro (master) 1
|
#include <bento.hxx>
Public Member Functions | |
size_t | GetValueSize () |
void | ReadValueData (void *pBuffer, size_t Offset, size_t MaxSize, size_t *pAmtRead) |
CBenProperty *BEN_EXPORT | GetProperty () |
CBenValue (BenObjectID TypeID) | |
void | SetProperty (CBenProperty *pProperty) |
CBenValueSegment * | GetNextValueSegment (CBenValueSegment const *pCurrValueSegment) |
CUtList & | GetValueSegments () |
Public Member Functions inherited from OpenStormBento::CBenIDListElmt | |
CBenIDListElmt (BenObjectID ID, CUtListElmt *pPrev) | |
CBenIDListElmt (BenObjectID ID) | |
BenObjectID | GetID () const |
Public Member Functions inherited from OpenStormBento::CUtListElmt | |
CUtListElmt () | |
CUtListElmt (CUtListElmt *pPrev) | |
CUtListElmt (CUtList *pList) | |
virtual | ~CUtListElmt () |
void | MakeNotOnList () |
CUtListElmt * | GetNext () const |
void | SetNext (CUtListElmt *pNext) |
CUtListElmt * | GetPrev () const |
void | SetPrev (CUtListElmt *pPrev) |
void | InsertAfter (CUtListElmt *pPrev) |
Private Attributes | |
CBenProperty * | cpProperty |
CUtOwningList | cValueSegments |
|
inlineexplicit |
Definition at line 262 of file bento.hxx.
References cpProperty.
|
inline |
Definition at line 332 of file bento.hxx.
References cValueSegments, and OpenStormBento::CUtList::GetNextOrNULL().
Referenced by GetValueSize(), and ReadValueData().
|
inline |
|
inline |
Definition at line 274 of file bento.hxx.
References cValueSegments.
size_t OpenStormBento::CBenValue::GetValueSize | ( | ) |
Definition at line 68 of file benval.cxx.
References GetNextValueSegment(), and OpenStormBento::CBenValueSegment::GetSize().
void OpenStormBento::CBenValue::ReadValueData | ( | void * | pBuffer, |
size_t | Offset, | ||
size_t | MaxSize, | ||
size_t * | pAmtRead | ||
) |
pReadBuffer – pointer to buffer of read result, allocated outside this function Offset – read buffer's start offset address, relative value in the whole value stream Amt – read buffer's size pAmtRead – return the actual read size
SegOffset – current segment's start address offset, relative value in the whole value stream
whole buffer is full now, so return
begin at current segment
relative value in this value segment stream
size read in this segment, it's minimal value between Amt & remain part from OffsetIntoSeg to the end of this segment
actual read size in this segment
Definition at line 78 of file benval.cxx.
References OpenStormBento::CBenProperty::GetContainer(), OpenStormBento::CBenValueSegment::GetImmediateData(), GetNextValueSegment(), OpenStormBento::CBenValueSegment::GetPosition(), GetProperty(), OpenStormBento::CBenValueSegment::GetSize(), OpenStormBento::CBenValueSegment::IsImmediate(), Offset, OpenStormBento::LtcBenContainer::Read(), and OpenStormBento::LtcBenContainer::SeekToPosition().
Referenced by OpenStormBento::LtcUtBenValueStream::GetData().
|
inline |
Definition at line 267 of file bento.hxx.
References cpProperty.
Referenced by OpenStormBento::CBenProperty::CBenProperty().
|
private |
Definition at line 277 of file bento.hxx.
Referenced by CBenValue(), GetProperty(), and SetProperty().
|
private |
Definition at line 278 of file bento.hxx.
Referenced by GetNextValueSegment(), and GetValueSegments().