lib/misc/map_table.h
author "Tomas Zeman <tzeman@volny.cz>"
Sun, 20 Jan 2008 00:22:25 +0100
changeset 3 3d1d327cfa68
parent 0 6f7a81934006
permissions -rw-r--r--
vmailmgr-0.97

#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