// Created by Frank M. Carrano and Tim Henry. // Copyright (c) 2013 __Pearson Education__. All rights reserved. // Listing 18-5. /** A class of entry objects for a hashing implementation of the ADT dictionary. @file HashedEntry.h */ #ifndef _HASHED_ENTRY #define _HASHED_ENTRY #include "Entry.h" template class HashedEntry : public Entry { private: HashedEntry* nextPtr; public: HashedEntry(); HashedEntry(ItemType newEntry, KeyType searchKey); HashedEntry(ItemType newEntry, KeyType searchKey, HashedEntry* nextEntryPtr); void setNext(HashedEntry* nextEntryPtr); HashedEntry* getNext() const; }; // end HashedEntry #include "HashedEntry.cpp" #endif