| | |
| | | #define __HASHTABLE_H__ |
| | | |
| | | #include <sys/queue.h> |
| | | #include <functional> |
| | | #include <set> |
| | | |
| | | #define MAPSIZE 100 |
| | |
| | | #define BUS_MAP_KEY 1 |
| | | //typedef std::basic_string<char, std::char_traits<char>, SHM_STL_Allocator<char> > SHMString; |
| | | typedef std::set<int, std::less<int>, SHM_STL_Allocator<int> > SHMKeySet; |
| | | typedef std::map<SHMString, SHMKeySet *, std::less<SHMString>, SHM_STL_Allocator<std::pair<SHMString, SHMKeySet *> > > SHMTopicSubMap; |
| | | typedef std::map<SHMString, SHMKeySet *, std::less<SHMString>, SHM_STL_Allocator<std::pair<const SHMString, SHMKeySet *> > > SHMTopicSubMap; |
| | | |
| | | enum socket_mod_t |
| | | { |
| | |
| | | |
| | | }; |
| | | |
| | | #endif |
| | | #endif |