home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************************
- * *
- * IBM(R) VisualAge(TM) for C++ for Windows(R), Version 3.5 *
- * *
- * PID: 5622-880 *
- * - Licensed Material - Program-Property of IBM *
- * (C) Copyright IBM Corp. 1991, 1995 - All Right Reserved. *
- * *
- * US Government Users Restricted Rights - Use, duplication or *
- * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. *
- * *
- * VisualAge, and IBM are trademarks or registered trademarks of *
- * International Business Machines Corporation. *
- * Windows is a registered trademark of Microsoft Corporation. *
- * *
- **********************************************************************/
-
- #ifndef _IICSS_H
- #define _IICSS_H
-
- #include <iiass.h>
-
- #pragma SOMAsDefault (off)
-
- #pragma info (nocls, nocnd, nocns, nocnv, noext, nognr, novft)
- #pragma pack (4)
-
- template <class CInherited>
- class ICSortedSetImpl : public CInherited {
- public:
-
- typedef CInherited::Ops Ops;
-
- ICSortedSetImpl
- (Ops&, INumber);
-
- ICSortedSetImpl
- (Ops&, ICSortedSetImpl
- <CInherited> const&);
-
- IBoolean Add (void const*, ICursorImpl&);
-
- void AddAllFrom (IACollectionImpl const&);
-
- void* Any () const;
-
- void* ElementAt (ICursorImpl const&) const;
-
- void* ElementAtPosition
- (IPosition) const;
-
- void* First () const;
-
- IBoolean IsFirstAt (ICursorImpl const&) const;
-
- IBoolean IsLastAt (ICursorImpl const&) const;
-
- void* Last () const;
-
- IBoolean Locate (void const*, ICursorImpl&) const;
-
- IBoolean LocateNext (void const*, ICursorImpl&) const;
-
- IBoolean LocateOrAdd (void const*, ICursorImpl&);
-
- IPosition
- PositionAt (ICursorImpl const&) const;
-
- void RemoveAt (ICursorImpl&);
-
- void RemoveAtPosition (IPosition);
-
- void RemoveFirst ();
-
- void RemoveLast ();
-
- void ReplaceAt (ICursorImpl const& cursor,
- void const*);
-
- void ReplaceAtPosition
- (IPosition, void const*);
-
- IBoolean SetToFirst (ICursorImpl&) const;
-
- IBoolean SetToLast (ICursorImpl&) const;
-
- IBoolean SetToNext (ICursorImpl&) const;
-
- void SetToPosition (IPosition, ICursorImpl&) const;
-
- IBoolean SetToPrevious (ICursorImpl&) const;
-
- protected:
-
- private:
-
-
- };
-
- #pragma SOMAsDefault (pop)
-
- #if ! defined (__TEMPINC__)
- #include <iicss.c>
- #endif
-
- #pragma info (restore)
- #pragma pack ()
-
- #endif
-