Category : C Source Code
Archive   : CPPOOPS.ZIP
Filename : LOOKUPKE.HXX

 
Output of file : LOOKUPKE.HXX contained in archive : CPPOOPS.ZIP
#ifndef LOOKUPKEY_H
#define LOOKUPKEY_H

/* LookupKey.hxx -- declarations for Dictionary LookupKey

THIS SOFTWARE FITS THE DESCRIPTION IN THE U.S. COPYRIGHT ACT OF A
"UNITED STATES GOVERNMENT WORK". IT WAS WRITTEN AS A PART OF THE
AUTHOR'S OFFICIAL DUTIES AS A GOVERNMENT EMPLOYEE. THIS MEANS IT
CANNOT BE COPYRIGHTED. THIS SOFTWARE IS FREELY AVAILABLE TO THE
PUBLIC FOR USE WITHOUT A COPYRIGHT NOTICE, AND THERE ARE NO
RESTRICTIONS ON ITS USE, NOW OR SUBSEQUENTLY.

Author:
K. E. Gorlen
Computer Systems Laboratory, DCRT
National Institutes of Health
Bethesda, MD 20892

$Log: LookupKey.hxx,v $
* Revision 1.3 88/02/04 12:59:36 keith
* Make Class class_CLASSNAME const.
*
* Revision 1.2 88/01/16 23:39:43 keith
* Remove pre-RCS modification history
*
*/

#include "Object.hxx"

extern const Class class_LookupKey;
#ifdef OBJECTIO
overload LookupKey_reader;
#endif //OBJECTIO

class LookupKey: public Object {
Object* akey;
protected:
#ifdef OBJECTIO
LookupKey(fileDescTy&,LookupKey&);
LookupKey(istream&,LookupKey&);
friend void LookupKey_reader(istream& strm, Object& where);
friend void LookupKey_reader(fileDescTy& fd, Object& where);
virtual void storer(fileDescTy&);
virtual void storer(ostream&);
#endif //OBJECTIO
public:
LookupKey(const Object& newKey =*nil);
virtual int compare(const Object&);
virtual void deepenShallowCopy();
virtual unsigned hash();
virtual const Class* isA();
virtual bool isEqual(const Object&);
virtual Object* key();
virtual Object* key(const Object& newkey);
#ifdef OBJECTIO
virtual void printOn(ostream& strm);
#endif //OBJECTIO
virtual Object* value();
virtual Object* value(const Object& newvalue);
};

#endif


  3 Responses to “Category : C Source Code
Archive   : CPPOOPS.ZIP
Filename : LOOKUPKE.HXX

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/