view HuffmanString.hpp @ 40:f711ddb56ae7

Sort up includes.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Fri, 07 Sep 2012 13:32:33 +0200
parents 3bcdb8bb6914
children 76846cb92b5c
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;
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