home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iicks.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.9 KB  |  95 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 _IICKS_H
  19. #define _IICKS_H
  20.  
  21. #include <iiaks.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 ICKeySetImpl : public CInherited {
  30. public:
  31.  
  32.   typedef  CInherited::Ops Ops;
  33.  
  34.            ICKeySetImpl
  35.                             (Ops&, INumber);
  36.  
  37.            ICKeySetImpl
  38.                             (Ops&, ICKeySetImpl
  39.                                     <CInherited> const&);
  40.  
  41.   IBoolean Add              (void const*, ICursorImpl&);
  42.  
  43.   void     AddAllFrom       (IACollectionImpl const&);
  44.  
  45.   IBoolean AddOrReplaceElementWithKey
  46.                             (void const*, ICursorImpl&);
  47.  
  48.   void*    Any              () const;
  49.  
  50.   void*    ElementAt        (ICursorImpl const&) const;
  51.  
  52.   void*    ElementWithKey   (void const*) const;
  53.  
  54.   IBoolean LocateElementWithKey
  55.                             (void const*, ICursorImpl&) const;
  56.  
  57.   IBoolean LocateNextElementWithKey
  58.                             (void const*, ICursorImpl&) const;
  59.  
  60.   IBoolean LocateOrAddElementWithKey
  61.                             (void const*, ICursorImpl&);
  62.  
  63.   void     RemoveAt         (ICursorImpl&);
  64.  
  65.   void     ReplaceAt        (ICursorImpl const& cursor,
  66.                              void const*);
  67.  
  68.   IBoolean ReplaceElementWithKey
  69.                             (void const*, ICursorImpl&);
  70.  
  71.   IBoolean SetToFirst       (ICursorImpl&) const;
  72.  
  73.   IBoolean SetToNext        (ICursorImpl&) const;
  74.  
  75.   IBoolean SetToNextWithDifferentKey
  76.                             (ICursorImpl&) const;
  77.  
  78. protected:
  79.  
  80. private:
  81.  
  82.  
  83. };
  84.  
  85. #pragma SOMAsDefault (pop)
  86.  
  87. #if ! defined (__TEMPINC__)
  88. #include <iicks.c>
  89. #endif
  90.  
  91. #pragma info (restore)
  92. #pragma pack ()
  93.  
  94. #endif
  95.