Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CDFH Class Reference

Public Member Functions

void Init (const CFileInfo &fileInfo, off_t ofs, off_t csize, ZipMethod method, u32 checksum, const Path &pathname, size_t slack)
 
Path Pathname () const
 
off_t HeaderOffset () const
 
off_t USize () const
 
off_t CSize () const
 
ZipMethod Method () const
 
u32 Checksum () const
 
time_t MTime () const
 
size_t Size () const
 

Private Attributes

u32 m_magic
 
u32 m_x1
 
u16 m_flags
 
u16 m_method
 
u32 m_fat_mtime
 
u32 m_crc
 
u32 m_csize
 
u32 m_usize
 
u16 m_fn_len
 
u16 m_e_len
 
u16 m_c_len
 
u32 m_x2
 
u32 m_x3
 
u32 m_lfh_ofs
 

Member Function Documentation

◆ Checksum()

u32 CDFH::Checksum ( ) const
inline

◆ CSize()

off_t CDFH::CSize ( ) const
inline

◆ HeaderOffset()

off_t CDFH::HeaderOffset ( ) const
inline

◆ Init()

void CDFH::Init ( const CFileInfo fileInfo,
off_t  ofs,
off_t  csize,
ZipMethod  method,
u32  checksum,
const Path pathname,
size_t  slack 
)
inline

◆ Method()

ZipMethod CDFH::Method ( ) const
inline

◆ MTime()

time_t CDFH::MTime ( ) const
inline

◆ Pathname()

Path CDFH::Pathname ( ) const
inline

◆ Size()

size_t CDFH::Size ( ) const
inline

◆ USize()

off_t CDFH::USize ( ) const
inline

Member Data Documentation

◆ m_c_len

u16 CDFH::m_c_len
private

◆ m_crc

u32 CDFH::m_crc
private

◆ m_csize

u32 CDFH::m_csize
private

◆ m_e_len

u16 CDFH::m_e_len
private

◆ m_fat_mtime

u32 CDFH::m_fat_mtime
private

◆ m_flags

u16 CDFH::m_flags
private

◆ m_fn_len

u16 CDFH::m_fn_len
private

◆ m_lfh_ofs

u32 CDFH::m_lfh_ofs
private

◆ m_magic

u32 CDFH::m_magic
private

◆ m_method

u16 CDFH::m_method
private

◆ m_usize

u32 CDFH::m_usize
private

◆ m_x1

u32 CDFH::m_x1
private

◆ m_x2

u32 CDFH::m_x2
private

◆ m_x3

u32 CDFH::m_x3
private

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