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