00001 /* -*- mode: c++; indent-tabs-mode: nil -*- */ 00002 /* 00003 hash_map.h 00004 00005 header file for including hash_map functionality 00006 00007 Qore Programming Language 00008 00009 Copyright 2003 - 2010 David Nichols 00010 00011 This library is free software; you can redistribute it and/or 00012 modify it under the terms of the GNU Lesser General Public 00013 License as published by the Free Software Foundation; either 00014 version 2.1 of the License, or (at your option) any later version. 00015 00016 This library is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 Lesser General Public License for more details. 00020 00021 You should have received a copy of the GNU Lesser General Public 00022 License along with this library; if not, write to the Free Software 00023 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00024 */ 00025 00026 #ifndef _QORE_HASH_MAP_H 00027 00028 #define _QORE_HASH_MAP_H 00029 00030 #include <qore/common.h> 00031 00032 // note: hash-map functionality has been removed for now pending redesign of the data structures 00033 // and implementation of an appropriate hashing algorithm 00034 00035 #include <map> 00036 00037 typedef std::map<const char*, class Var *, class ltstr> map_var_t; 00038 typedef std::map<const char*, class HashMember *, class ltstr> hm_hm_t; 00039 typedef std::map<const char*, class QoreClass *, class ltstr> hm_qc_t; 00040 typedef std::map<const char*, class UserFunction *, class ltstr> hm_uf_t; 00041 00042 #endif // _QORE_HASH_MAP_H