Octane v1.01.20 - The Open Compression Toolkit for C++ http://octane.sourceforge.net/
Homepage | Main | Modules | Class Hierarchy | Compound List | File List | Compound Members | Related Pages

parsers/parser_substring/substringparser.cpp File Reference


Detailed Description

A flexible parser which can creates a symbol dictionary of substrings.

Remarks:
This is a general purpose class which is designed to be used with any compressor that wants to parse files and count occurrences of certain characters/words/Substrings. Parameters can be set to regulate how symbols are extracted. Several utility functions are provided so that this class can by default do much of the work in parsing files and pruning dictionaries.
Author:
mouser
Date:
2003.07.29
Version:
2004.05.19 mouser [-] fixed bug in smartlookup mode of SubStringParser that could cause crashing when incoming stream matched last symbol in set.

Definition in file substringparser.cpp.

#include "substringparser.hpp"
#include <iostream>
#include <iomanip>
#include <string>

Go to the source code of this file.
 

Generated on 20 May 2004 by doxygen 1.3.3