1 #ifndef STRING_HASH_CLASS
2 #define STRING_HASH_CLASS
4 /*****************************************************************************\
7 * Author : Chris Koeritz *
9 *******************************************************************************
10 * Copyright (c) 2001-$now By Author. This program is free software; you can *
11 * redistribute it and/or modify it under the terms of the GNU General Public *
12 * License as published by the Free Software Foundation; either version 2 of *
13 * the License or (at your option) any later version. This is online at: *
14 * http://www.fsf.org/copyleft/gpl.html *
15 * Please send any updates to: fred@gruntose.com *
16 \*****************************************************************************/
18 #include "hash_table.h"
19 #include "string_hasher.h"
21 #include <basis/astring.h>
23 namespace structures {
25 //! Implements a hash table indexed on character strings.
27 template <class contents>
28 class string_hash : public hash_table<basis::astring, contents>
31 string_hash(int estimated_elements)
32 : hash_table<basis::astring, contents>(astring_hasher(), estimated_elements) {}
39 #endif // outer guard.