Mercurial > dedupe
view HuffmanString.hpp @ 25:9ce5b5855fe3
Support for profiling, and some new tests.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 05 Sep 2012 21:57:17 +0200 |
| parents | 3bcdb8bb6914 |
| children | f711ddb56ae7 |
line wrap: on
line source
#ifndef HUFFMANSTRING_HPP #define HUFFMANSTRING_HPP #include <QtCore/QString> #include "HuffmanSet.hpp" class HuffmanString { static HuffmanSet* set; HuffmanSet::key_t key; public: HuffmanString(const QString& str = QString(), HuffmanSet* set = NULL); QString toString() const; operator QString() const; bool operator<(const HuffmanString& rhs) const; bool operator==(const HuffmanString& rhs) const; }; #endif //HUFFMANSTRING_HPP
