NAME

OTC_TableEntry - Holder of table entries in hash based collections.

SYNOPSIS


#include <OTC/collctn/tblentry.hh>

class OTC_TableEntry
{
  public:
    static os_typespec* get_os_typespec();
    ~OTC_TableEntry();
    OTC_TableEntry();
    OTC_TableEntry(OTC_TableEntry const& theEntry);
    OTC_TableEntry(int theHashValue, OTC_Link* theLink);
    OTC_TableEntry& operator=(OTC_TableEntry const& theEntry);
    inline OTC_Boolean isEmpty() const;
    inline OTC_Boolean isOccupied() const;
    inline OTC_Boolean isDeleted() const;
    inline int hashValue() const;
    inline OTC_Link* link() const;
    inline void markDeleted();
};

CLASS TYPE

Concrete

DESCRIPTION

This class contains information about entries in a hash based collections.

INITIALISATION

OTC_TableEntry();
OTC_TableEntry(OTC_TableEntry const& theEntry);
OTC_TableEntry(int theHashValue, OTC_Link* theLink);
OTC_TableEntry& operator=(OTC_TableEntry const& theEntry);

QUERY

inline OTC_Boolean isEmpty() const;
inline OTC_Boolean isOccupied() const;
inline OTC_Boolean isDeleted() const;
inline int hashValue() const;
inline OTC_Link* link() const;

UPDATE

inline void markDeleted();

LIBRARY

OTC

AUTHOR(S)

Graham Dumpleton

COPYRIGHT

Copyright 1992 1993 OTC LIMITED
Copyright 1994 DUMPLETON SOFTWARE CONSULTING PTY LIMITED