ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Grim::MsCabinet::Decompressor Class Reference

Collaboration diagram for Grim::MsCabinet::Decompressor:

List of all members.

Public Member Functions

 Decompressor (const FolderEntry *folder, Common::SeekableReadStream *_data)
 ~Decompressor ()
bool decompressFile (byte *&fileBuf, const FileEntry &entry)
const FolderEntrygetFolder () const

Private Types

enum  { kMszipCompression = 1, kCabBlockSize = 0x8000, kCabInputmax = kCabBlockSize + 12 }

Private Member Functions

void copyBlock (byte *&data_ptr) const

Private Attributes

Common::SeekableReadStream_data
const FolderEntry_curFolder
int16 _curBlock
byte_compressedBlock
byte_decompressedBlock
byte_fileBuf
uint16 _startBlock
uint16 _inBlockStart
uint16 _endBlock
uint16 _inBlockEnd

Detailed Description

Definition at line 70 of file mscab.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
kMszipCompression 
kCabBlockSize 
kCabInputmax 

Definition at line 88 of file mscab.h.


Constructor & Destructor Documentation

Grim::MsCabinet::Decompressor::Decompressor ( const FolderEntry folder,
Common::SeekableReadStream _data 
)

Definition at line 193 of file mscab.cpp.

Grim::MsCabinet::Decompressor::~Decompressor (  ) 

Definition at line 202 of file mscab.cpp.


Member Function Documentation

void Grim::MsCabinet::Decompressor::copyBlock ( byte *&  data_ptr  )  const [private]

Definition at line 290 of file mscab.cpp.

bool Grim::MsCabinet::Decompressor::decompressFile ( byte *&  fileBuf,
const FileEntry entry 
)

Definition at line 210 of file mscab.cpp.

const FolderEntry* Grim::MsCabinet::Decompressor::getFolder (  )  const [inline]

Definition at line 75 of file mscab.h.


Member Data Documentation

Definition at line 82 of file mscab.h.

Definition at line 81 of file mscab.h.

Definition at line 80 of file mscab.h.

Definition at line 82 of file mscab.h.

Definition at line 84 of file mscab.h.

Definition at line 83 of file mscab.h.

Definition at line 84 of file mscab.h.

Definition at line 84 of file mscab.h.

Definition at line 84 of file mscab.h.


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


Generated on Sat Sep 14 2019 05:04:27 for ResidualVM by doxygen 1.7.1
curved edge   curved edge