home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iivset.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.9 KB  |  99 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 _IIVSET_H
  19. #define _IIVSET_H
  20.  
  21. #include <iiaset.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 IVSetImpl : public VInherited {
  30. public:
  31.  
  32.   typedef  VInherited::Ops Ops;
  33.  
  34.            IVSetImpl
  35.                             (Ops&, INumber);
  36.  
  37.            IVSetImpl
  38.                             (Ops&, IVSetImpl
  39.                                     <VInherited> const&);
  40.  
  41.   IBoolean Add              (void const*, ICursorImpl&);
  42.  
  43.   void     AddAllFrom       (IACollectionImpl const&);
  44.  
  45.   void     AddAntivalence   (IASetImpl const&,
  46.                              IASetImpl const&);
  47.  
  48.   void     AddDifference    (IASetImpl const&,
  49.                              IASetImpl const&);
  50.  
  51.   void     AddIntersection  (IASetImpl const&,
  52.                              IASetImpl const&);
  53.  
  54.   void     AddUnion         (IASetImpl const&,
  55.                              IASetImpl const&);
  56.  
  57.   void     Antivalence      (IASetImpl const&);
  58.  
  59.   void     Copy             (IACollectionImpl const&);
  60.  
  61.   void     Difference       (IASetImpl const&);
  62.  
  63.   void     Intersection     (IASetImpl const&);
  64.  
  65.   IBoolean LocateOrAdd      (void const*, ICursorImpl&);
  66.  
  67.   IBoolean Remove           (void const*);
  68.  
  69.   INumber  RemoveAll        ();
  70.  
  71.   INumber  RemoveAll        (IPredFunc, void*);
  72.  
  73.   INumber  RemoveAllOccurrences
  74.                             (void const*);
  75.  
  76.   void     RemoveAt         (ICursorImpl&);
  77.  
  78.   void     ReplaceAt        (ICursorImpl const&, void const*);
  79.  
  80.   void     Union            (IASetImpl const&);
  81.  
  82. protected:
  83.  
  84. private:
  85.  
  86.  
  87. };
  88.  
  89. #pragma SOMAsDefault (pop)
  90.  
  91. #if ! defined (__TEMPINC__)
  92. #include <iivset.c>
  93. #endif
  94.  
  95. #pragma info (restore)
  96. #pragma pack ()
  97.  
  98. #endif
  99.