home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iicss.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  3.2 KB  |  110 lines

  1. /**********************************************************************
  2. *                                                                     *
  3. *  IBM(R) VisualAge(TM) for C++ for Windows(R), Version 3.5           *
  4. *                                                                     *
  5. *  PID: 5622-880                                                      *
  6. *  - Licensed Material - Program-Property of IBM                      *
  7. *  (C) Copyright IBM Corp. 1991, 1995 - All Right Reserved.           *
  8. *                                                                     *
  9. *  US Government Users Restricted Rights - Use, duplication or        *
  10. *  disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  *
  11. *                                                                     *
  12. *  VisualAge, and IBM are trademarks or registered trademarks of      *
  13. *  International Business Machines Corporation.                       *
  14. *  Windows is a registered trademark of Microsoft Corporation.        *
  15. *                                                                     *
  16. **********************************************************************/
  17.  
  18. #ifndef _IICSS_H
  19. #define _IICSS_H
  20.  
  21. #include <iiass.h>
  22.  
  23. #pragma SOMAsDefault (off)
  24.  
  25. #pragma info (nocls, nocnd, nocns, nocnv, noext, nognr, novft)
  26. #pragma pack (4)
  27.  
  28. template <class CInherited>
  29. class ICSortedSetImpl : public CInherited {
  30. public:
  31.  
  32.   typedef  CInherited::Ops Ops;
  33.  
  34.            ICSortedSetImpl
  35.                             (Ops&, INumber);
  36.  
  37.            ICSortedSetImpl
  38.                             (Ops&, ICSortedSetImpl
  39.                                     <CInherited> const&);
  40.  
  41.   IBoolean Add              (void const*, ICursorImpl&);
  42.  
  43.   void     AddAllFrom       (IACollectionImpl const&);
  44.  
  45.   void*    Any              () const;
  46.  
  47.   void*    ElementAt        (ICursorImpl const&) const;
  48.  
  49.   void*    ElementAtPosition
  50.                             (IPosition) const;
  51.  
  52.   void*    First            () const;
  53.  
  54.   IBoolean IsFirstAt        (ICursorImpl const&) const;
  55.  
  56.   IBoolean IsLastAt         (ICursorImpl const&) const;
  57.  
  58.   void*    Last             () const;
  59.  
  60.   IBoolean Locate           (void const*, ICursorImpl&) const;
  61.  
  62.   IBoolean LocateNext       (void const*, ICursorImpl&) const;
  63.  
  64.   IBoolean LocateOrAdd      (void const*, ICursorImpl&);
  65.  
  66.   IPosition
  67.            PositionAt       (ICursorImpl const&) const;
  68.  
  69.   void     RemoveAt         (ICursorImpl&);
  70.  
  71.   void     RemoveAtPosition (IPosition);
  72.  
  73.   void     RemoveFirst      ();
  74.  
  75.   void     RemoveLast       ();
  76.  
  77.   void     ReplaceAt        (ICursorImpl const& cursor,
  78.                              void const*);
  79.  
  80.   void     ReplaceAtPosition
  81.                             (IPosition, void const*);
  82.  
  83.   IBoolean SetToFirst       (ICursorImpl&) const;
  84.  
  85.   IBoolean SetToLast        (ICursorImpl&) const;
  86.  
  87.   IBoolean SetToNext        (ICursorImpl&) const;
  88.  
  89.   void     SetToPosition    (IPosition, ICursorImpl&) const;
  90.  
  91.   IBoolean SetToPrevious    (ICursorImpl&) const;
  92.  
  93. protected:
  94.  
  95. private:
  96.  
  97.  
  98. };
  99.  
  100. #pragma SOMAsDefault (pop)
  101.  
  102. #if ! defined (__TEMPINC__)
  103. #include <iicss.c>
  104. #endif
  105.  
  106. #pragma info (restore)
  107. #pragma pack ()
  108.  
  109. #endif
  110.