LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Types | Private Attributes | List of all members
LwpObjectHeader Class Reference

Base class of all Lwp VO objects. More...

#include <lwpobjhdr.hxx>

Collaboration diagram for LwpObjectHeader:
[legend]

Public Member Functions

 LwpObjectHeader ()
 
bool Read (LwpSvStream &pStrm)
 @descr read header from stream More...
 
sal_uInt32 GetTag () const
 
sal_uInt32 GetSize () const
 
LwpObjectIDGetID ()
 
bool IsCompressed () const
 

Private Types

enum  {
  VERSION_BITS = 0x03 ,
  DEFAULT_VERSION = 0x00 ,
  ONE_BYTE_VERSION = 0x01 ,
  TWO_BYTE_VERSION = 0x02 ,
  FOUR_BYTE_VERSION = 0x03 ,
  REFCOUNT_BITS = 0x0C ,
  ONE_BYTE_REFCOUNT = 0x04 ,
  TWO_BYTE_REFCOUNT = 0x08 ,
  FOUR_BYTE_REFCOUNT = 0x0C ,
  SIZE_BITS = 0x30 ,
  ONE_BYTE_SIZE = 0x10 ,
  TWO_BYTE_SIZE = 0x20 ,
  FOUR_BYTE_SIZE = 0x30 ,
  HAS_PREVOFFSET = 0x40 ,
  DATA_COMPRESSED = 0x80
}
 

Private Attributes

sal_uInt32 m_nTag
 
LwpObjectID m_ID
 
sal_uInt32 m_nSize
 
bool m_bCompressed
 

Detailed Description

Base class of all Lwp VO objects.

Definition at line 70 of file lwpobjhdr.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
VERSION_BITS 
DEFAULT_VERSION 
ONE_BYTE_VERSION 
TWO_BYTE_VERSION 
FOUR_BYTE_VERSION 
REFCOUNT_BITS 
ONE_BYTE_REFCOUNT 
TWO_BYTE_REFCOUNT 
FOUR_BYTE_REFCOUNT 
SIZE_BITS 
ONE_BYTE_SIZE 
TWO_BYTE_SIZE 
FOUR_BYTE_SIZE 
HAS_PREVOFFSET 
DATA_COMPRESSED 

Definition at line 88 of file lwpobjhdr.hxx.

Constructor & Destructor Documentation

◆ LwpObjectHeader()

LwpObjectHeader::LwpObjectHeader ( )

Definition at line 65 of file lwpobjhdr.cxx.

References m_nSize.

Member Function Documentation

◆ GetID()

LwpObjectID & LwpObjectHeader::GetID ( )
inline

◆ GetSize()

sal_uInt32 LwpObjectHeader::GetSize ( ) const
inline

◆ GetTag()

sal_uInt32 LwpObjectHeader::GetTag ( ) const
inline

◆ IsCompressed()

bool LwpObjectHeader::IsCompressed ( ) const
inline

◆ Read()

bool LwpObjectHeader::Read ( LwpSvStream pStrm)

Member Data Documentation

◆ m_bCompressed

bool LwpObjectHeader::m_bCompressed
private

Definition at line 78 of file lwpobjhdr.hxx.

Referenced by IsCompressed(), and Read().

◆ m_ID

LwpObjectID LwpObjectHeader::m_ID
private

Definition at line 76 of file lwpobjhdr.hxx.

Referenced by GetID(), and Read().

◆ m_nSize

sal_uInt32 LwpObjectHeader::m_nSize
private

Definition at line 77 of file lwpobjhdr.hxx.

Referenced by GetSize(), and Read().

◆ m_nTag

sal_uInt32 LwpObjectHeader::m_nTag
private

Definition at line 75 of file lwpobjhdr.hxx.

Referenced by GetTag(), and Read().


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