home *** CD-ROM | disk | FTP | other *** search
- #ifndef __RWITERATOR_H__
- #define __RWITERATOR_H__
- pragma push_align_members(64);
-
- /*
- * Abstract base class for Iterator classes.
- *
- * $Header: E:/vcs/rw/iterator.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/iterator.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:34 keffer
- * Tools.h++ V4.0.5 PVCS baseline version
- *
- */
-
- #include "rw/defs.h"
-
- class RWExport RWCollectable;
-
- class RWExport RWIterator {
- public:
- virtual RWCollectable* findNext(const RWCollectable*) = 0; // Find next matching item
- virtual RWCollectable* key() const = 0; // Return current key
- virtual RWCollectable* operator()() = 0; // Advance iterator
- virtual void reset() = 0;
- };
-
- pragma pop_align_members();
- #endif /* __RWITERATOR_H__ */
-