home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iahp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.0 KB  |  70 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 _IAHP_H
  19. #define _IAHP_H
  20.  
  21. #include <iacllct.h>
  22. #include <iiahp.h>
  23.  
  24. #pragma info (nocls, nocnd, nocns, nocnv, noext, nognr, novft)
  25. #pragma pack (4)
  26.  
  27. #pragma SOMAsDefault (off)
  28.  
  29. template <class Element>
  30. class IAHeap :
  31.   public IACollection <Element> {
  32.  
  33.   typedef  IACollection <Element> Inherited;
  34.  
  35.   typedef  IAHeapImpl Implementation;
  36.  
  37. public:
  38.  
  39.            IAHeap
  40.                             (INotifier&);
  41.  
  42.           ~IAHeap
  43.                             ();
  44.  
  45. protected:
  46.  
  47.            IAHeap
  48.                             ();
  49.  
  50.            IAHeap
  51.                             (IAHeap <Element> const&);
  52.  
  53. private:
  54.  
  55.   static
  56.   Implementation&
  57.            ImplOf           (IAHeap <Element> const&);
  58.  
  59.  
  60. };
  61.  
  62. #include <iahp.inl>
  63.  
  64. #pragma SOMAsDefault (pop)
  65.  
  66. #pragma info (restore)
  67. #pragma pack ()
  68.  
  69. #endif
  70.