lib/misc/map_table.h
author "Tomas Zeman <tzeman@volny.cz>"
Wed, 16 Jan 2008 22:39:43 +0100
changeset 0 6f7a81934006
permissions -rw-r--r--
Imported vmailmgr-0.96.9

#ifndef VMAILMGR__MAP_TABLE__H__
#define VMAILMGR__MAP_TABLE__H__

#include "misc/hash_table.h"
#include "misc/crc_hash.h"
#include "mystring/mystring.h"

class map_table : public hash_table<mystring,hash_node<mystring>,crc_hash>
{
  bool valid;
public:
  map_table(const mystring& filename);
  ~map_table();
  bool operator!() const
    {
      return !valid;
    }
};

#endif