lib/misc/map_table.h
changeset 0 6f7a81934006
equal deleted inserted replaced
-1:000000000000 0:6f7a81934006
       
     1 #ifndef VMAILMGR__MAP_TABLE__H__
       
     2 #define VMAILMGR__MAP_TABLE__H__
       
     3 
       
     4 #include "misc/hash_table.h"
       
     5 #include "misc/crc_hash.h"
       
     6 #include "mystring/mystring.h"
       
     7 
       
     8 class map_table : public hash_table<mystring,hash_node<mystring>,crc_hash>
       
     9 {
       
    10   bool valid;
       
    11 public:
       
    12   map_table(const mystring& filename);
       
    13   ~map_table();
       
    14   bool operator!() const
       
    15     {
       
    16       return !valid;
       
    17     }
       
    18 };
       
    19 
       
    20 #endif