home *** CD-ROM | disk | FTP | other *** search
- #ifndef __RWIDENSET_H__
- #define __RWIDENSET_H__
- pragma push_align_members(64);
-
- /*
- * Declarations for RWIdentitySet (i.e., an Identity Set).
- *
- * $Header: E:/vcs/rw/idenset.h_v 1.2 18 Feb 1992 09:54:24 KEFFER $
- *
- ****************************************************************************
- *
- * Rogue Wave
- * P.O. Box 2328
- * Corvallis, OR 97339
- * Voice: (503) 754-3010 FAX: (503) 757-6650
- *
- * Copyright (C) 1989, 1990, 1991. This software is subject to copyright
- * protection under the laws of the United States and other countries.
- *
- ***************************************************************************
- *
- * $Log: E:/vcs/rw/idenset.h_v $
- *
- * Rev 1.2 18 Feb 1992 09:54:24 KEFFER
- *
- * Rev 1.1 28 Oct 1991 09:08:18 keffer
- * Changed inclusions to <rw/xxx.h>
- *
- * Rev 1.0 28 Jul 1991 08:15:24 keffer
- * Tools.h++ V4.0.5 PVCS baseline version
- *
- */
-
- /*
- * For the storage and retrieval of (key, value) pairs, using the identity
- * (i.e., the address) of the key.
- */
-
- #include "rw/rwset.h"
-
- class RWExport RWIdentitySet : public RWSet {
- protected:
- // Redefined findIndex:
- unsigned findIndex(const RWCollectable* a) const;
- public:
- RWIdentitySet(unsigned N = RWCollection::DEFAULT_CAPACITY);
-
- /***********************************************************************/
- virtual ClassID isA() const {return __RWIDENTITYSET;}
- virtual RWCollectable* newSpecies() const;
- };
-
- pragma pop_align_members();
- #endif /* __RWIDENSET_H__ */
-