lab_huffman
Hazardous Huffman Codes
encoder.h File Reference

Definitions for functions for the encoder program. More...

Namespaces

 encoder
 encoder namespace: collection of functions used for running the encoder program.
 

Functions

int encoder::main (const std::vector< std::string > &args)
 Main method of the program, should you choose to run it as a command line version. More...
 
void encoder::printUsage (const std::string &programName)
 Prints the usage of the command line version. More...
 
void encoder::encodeFile (const std::string &inputName, const std::string &outputName, const std::string &treeName)
 Encodes a file using Huffman coding. More...
 
std::vector< Frequencyencoder::getFrequencies (const std::string &str)
 Determines the frequencies of characters in a string. More...
 

Detailed Description

Definitions for functions for the encoder program.