home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iivks.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.6 KB  |  87 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 _IIVKS_H
  19. #define _IIVKS_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 VInherited>
  29. class IVKeySetImpl : public VInherited {
  30. public:
  31.  
  32.   typedef  VInherited::Ops Ops;
  33.  
  34.            IVKeySetImpl
  35.                             (Ops&, INumber);
  36.  
  37.            IVKeySetImpl
  38.                             (Ops&, IVKeySetImpl
  39.                                     <VInherited> 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     Copy             (IACollectionImpl const&);
  49.  
  50.   IBoolean LocateOrAddElementWithKey
  51.                             (void const*, ICursorImpl&);
  52.  
  53.   INumber  RemoveAll        ();
  54.  
  55.   INumber  RemoveAll        (IPredFunc, void*);
  56.  
  57.   INumber  RemoveAllElementsWithKey
  58.                             (void const*);
  59.  
  60.   void     RemoveAt         (ICursorImpl&);
  61.  
  62.   IBoolean RemoveElementWithKey
  63.                             (void const*);
  64.  
  65.   void     ReplaceAt        (ICursorImpl const&, void const*);
  66.  
  67.   IBoolean ReplaceElementWithKey
  68.                             (void const*, ICursorImpl&);
  69.  
  70. protected:
  71.  
  72. private:
  73.  
  74.  
  75. };
  76.  
  77. #pragma SOMAsDefault (pop)
  78.  
  79. #if ! defined (__TEMPINC__)
  80. #include <iivks.c>
  81. #endif
  82.  
  83. #pragma info (restore)
  84. #pragma pack ()
  85.  
  86. #endif
  87.