LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Attributes | List of all members
OpenStormBento::CBenValue Class Reference

#include <bento.hxx>

Inheritance diagram for OpenStormBento::CBenValue:
[legend]
Collaboration diagram for OpenStormBento::CBenValue:
[legend]

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)
 
CBenValueSegmentGetNextValueSegment (CBenValueSegment const *pCurrValueSegment)
 
CUtListGetValueSegments ()
 
- 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 ()
 
CUtListElmtGetNext () const
 
void SetNext (CUtListElmt *pNext)
 
CUtListElmtGetPrev () const
 
void SetPrev (CUtListElmt *pPrev)
 
void InsertAfter (CUtListElmt *pPrev)
 

Private Attributes

CBenPropertycpProperty
 
CUtOwningList cValueSegments
 

Detailed Description

Definition at line 251 of file bento.hxx.

Constructor & Destructor Documentation

◆ CBenValue()

OpenStormBento::CBenValue::CBenValue ( BenObjectID  TypeID)
inlineexplicit

Definition at line 262 of file bento.hxx.

References cpProperty.

Member Function Documentation

◆ GetNextValueSegment()

CBenValueSegment * OpenStormBento::CBenValue::GetNextValueSegment ( CBenValueSegment const *  pCurrValueSegment)
inline

Definition at line 332 of file bento.hxx.

References cValueSegments, and OpenStormBento::CUtList::GetNextOrNULL().

Referenced by GetValueSize(), and ReadValueData().

◆ GetProperty()

CBenProperty *BEN_EXPORT OpenStormBento::CBenValue::GetProperty ( )
inline

Definition at line 258 of file bento.hxx.

References cpProperty.

Referenced by ReadValueData().

◆ GetValueSegments()

CUtList & OpenStormBento::CBenValue::GetValueSegments ( )
inline

Definition at line 274 of file bento.hxx.

References cValueSegments.

◆ GetValueSize()

size_t OpenStormBento::CBenValue::GetValueSize ( )

◆ ReadValueData()

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

◆ SetProperty()

void OpenStormBento::CBenValue::SetProperty ( CBenProperty pProperty)
inline

Definition at line 267 of file bento.hxx.

References cpProperty.

Referenced by OpenStormBento::CBenProperty::CBenProperty().

Member Data Documentation

◆ cpProperty

CBenProperty* OpenStormBento::CBenValue::cpProperty
private

Definition at line 277 of file bento.hxx.

Referenced by CBenValue(), GetProperty(), and SetProperty().

◆ cValueSegments

CUtOwningList OpenStormBento::CBenValue::cValueSegments
private

Definition at line 278 of file bento.hxx.

Referenced by GetNextValueSegment(), and GetValueSegments().


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