home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BURKS 2
/
BURKS_AUG97.ISO
/
BURKS
/
SOFTWARE
/
LIBS
/
NIHCL1.ZIP
/
NIHCL-3.0
/
LIB
/
IDENTSET.H
(
.txt
)
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-20
|
1KB
|
43 lines
#ifndef IDENTSET_H
#define IDENTSET_H
/*$Header: /afs/alw.nih.gov/unix/sun4_40c/usr/local/src/nihcl-3.0/share/lib/RCS/IdentSet.h,v 3.0 90/05/20 00:19:51 kgorlen Rel $*/
/* IdentSet.h -- declarations for Identity Set
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: IdentSet.h,v $
* Revision 3.0 90/05/20 00:19:51 kgorlen
* Release for 1st edition.
*
*/
#include "Set.h"
class IdentSet: public Set {
DECLARE_MEMBERS(IdentSet);
virtual int findIndexOf(const Object&) const;
#ifndef BUG_38
// internal <<AT&T C++ Translator 2.00 06/30/89>> error: bus error (or something nasty like that)
protected: // storer() functions for object I/O
virtual void storer(OIOofd& fd) const { Set::storer(fd); };
virtual void storer(OIOout& strm) const { Set::storer(strm); };
#endif
public:
IdentSet(unsigned size =DEFAULT_CAPACITY);
};
#endif