home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD 24 / PCPLUS115.iso / pcplus / tclite / include / identdic.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-28  |  649 b   |  25 lines

  1. #ifndef    IDENTDICT_H
  2. #define    IDENTDICT_H
  3.  
  4. #include "dict.h"
  5.  
  6. extern const Class class_IdentDict;
  7.  
  8. class LookupKey;
  9. class OrderedCltn;
  10.  
  11. class IdentDict: public Dictionary {
  12.     virtual int findIndexOf(const Object&) const;
  13. public:
  14.     IdentDict(unsigned size =CLTN_DEFAULT_CAPACITY);
  15.     IdentDict(const IdentDict&);
  16.     void operator=(const IdentDict&);
  17.     virtual LookupKey& assocAt(const Object& key) const;
  18.     virtual Object* atKey(const Object& key) const;
  19.     virtual Object* atKey(const Object& key, const Object& newValue);
  20.     virtual bool includesKey(const Object& key) const;
  21.     virtual const Class* isA() const;
  22. };
  23.  
  24. #endif
  25.