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