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