home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iiasb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.8 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 _IIASB_H
  19. #define _IIASB_H
  20.  
  21. #include <iiacllct.h>
  22.  
  23. #pragma info (nocls, nocnd, nocns, nocnv, noext, nognr, novft)
  24. #pragma pack (4)
  25.  
  26. #pragma SOMAsDefault (off)
  27.  
  28. class IASortedBagImpl : public IACollectionImpl {
  29. public:
  30.  
  31.           ~IASortedBagImpl
  32.                             ();
  33.  
  34.   virtual
  35.   void     Antivalence      (IASortedBagImpl const&);
  36.  
  37.   virtual
  38.   void     AddAntivalence   (IASortedBagImpl const&,
  39.                              IASortedBagImpl const&); 
  40.  
  41.   virtual
  42.   void     AddDifference    (IASortedBagImpl const&,
  43.                              IASortedBagImpl const&); 
  44.  
  45.   virtual
  46.   void     AddIntersection  (IASortedBagImpl const&,
  47.                              IASortedBagImpl const&);
  48.  
  49.   virtual
  50.   void     AddUnion         (IASortedBagImpl const&,
  51.                              IASortedBagImpl const&);
  52.  
  53.   virtual
  54.   long     Compare          (IASortedBagImpl const&,
  55.                              ICompFunc, void*) const;
  56.  
  57.   virtual
  58.   void     Difference       (IASortedBagImpl const&);
  59.  
  60.   virtual
  61.   void     Intersection     (IASortedBagImpl const&);
  62.  
  63.   virtual
  64.   INumber  NumberOfDifferentElements
  65.                             () const = 0;
  66.  
  67.   virtual
  68.   IBoolean SetToNextDifferentElement
  69.                             (ICursorImpl&) const = 0;
  70.  
  71.   virtual
  72.   void     Union            (IASortedBagImpl const&);
  73.  
  74.   virtual
  75.   IBoolean operator==       (IASortedBagImpl const&) const = 0;
  76.  
  77.   IBoolean operator!=       (IASortedBagImpl const&) const;
  78.  
  79. protected:
  80.  
  81.            IASortedBagImpl
  82.                             (Ops&);
  83.  
  84. private:
  85.  
  86.  
  87. };
  88.  
  89. #pragma SOMAsDefault (pop)
  90.  
  91. #pragma info (restore)
  92. #pragma pack ()
  93.  
  94. #endif
  95.