Mercurial > dedupe
view HuffmanString.hpp @ 104:6bc013d5788b
Avoid unnecessary updates.
Fix problems with wrong subset being selected for update with prefix.
Fix some problems with to much verbosity in debug statements.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Sat, 15 Feb 2014 13:34:10 +0100 |
| parents | 76846cb92b5c |
| children |
line wrap: on
line source
#ifndef HUFFMANSTRING_HPP #define HUFFMANSTRING_HPP #include "HuffmanSet.hpp" #include <QtCore/QString> class HuffmanString { static HuffmanSet* set; HuffmanSet::key_t key; static void atExit(); public: HuffmanString(const QString& str = QString(), HuffmanSet* set = NULL); QString toString() const; operator QString() const; static HuffmanSet& getSet(); bool operator<(const HuffmanString& rhs) const; bool operator==(const HuffmanString& rhs) const; }; #endif //HUFFMANSTRING_HPP
