Huffman Zipper  v-1.0
Data Compression and Decompression using Greedy Huffman Algorithm
Decompressor::fileInfo Struct Reference

Structure to hold file metadata. More...

Public Member Functions

 fileInfo ()
 
 fileInfo (unsigned const int &fileSize, const fs::path &filePath)
 

Public Attributes

unsigned int fileSize
 number of character in file. More...
 
fs::path filePath
 path of file including filename and extension. More...
 

Detailed Description

Structure to hold file metadata.

Used to retain original file(s) with its filename and relative path. e.g. if fileSize = 143 and filePath = "/abc/input.txt" Creates 'input.txt' inside 'abc' directory of 143 bytes after decompression.

Definition at line 33 of file Decompressor.h.

Constructor & Destructor Documentation

◆ fileInfo() [1/2]

Decompressor::fileInfo::fileInfo ( )
inline

Definition at line 37 of file Decompressor.h.

◆ fileInfo() [2/2]

Decompressor::fileInfo::fileInfo ( unsigned const int &  fileSize,
const fs::path &  filePath 
)
inline

Definition at line 38 of file Decompressor.h.

Member Data Documentation

◆ filePath

fs::path Decompressor::fileInfo::filePath

path of file including filename and extension.

Definition at line 35 of file Decompressor.h.

◆ fileSize

unsigned int Decompressor::fileInfo::fileSize

number of character in file.

Definition at line 34 of file Decompressor.h.