home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iihptab.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.7 KB  |  102 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 _IIHPTAB_H
  19. #define _IIHPTAB_H
  20.  
  21. #include <iihpseq.h>
  22.  
  23.  
  24. #include <iiseqtab.h>
  25.  
  26.  
  27. #pragma info (nocls, nocnd, nocns, nocnv, noext, nognr, novft)
  28. #pragma pack (4)
  29.  
  30. #pragma SOMAsDefault (off)
  31.  
  32. typedef IHeapOnSequenceImpl
  33.          <ISequenceAsTableImpl> IHeapAsTableImpl;
  34.  
  35. typedef IAHeapOnSequenceOps
  36.          <ISequenceAsTableImpl> IAHeapAsTableOps;
  37.  
  38. template <class Element, class ElementOps, class Implementation>
  39. class IHeapAsTableOps :
  40.   public IAHeapAsTableOps {
  41.  
  42.   typedef  IHeapAsTableOps
  43.             <Element, ElementOps, Implementation> Self;
  44.  
  45.   typedef  ISequenceAsTableOps
  46.             <Element, ElementOps, ISequenceAsTableImpl> Base;
  47.  
  48. public:
  49.  
  50.   typedef  Implementation ImplType;
  51.  
  52.   typedef  Element ElementType;
  53.  
  54.   typedef  void KeyType;
  55.  
  56.            IHeapAsTableOps
  57.                            (INumber);
  58.  
  59.            IHeapAsTableOps
  60.                            (INumber, void*);
  61.  
  62.            IHeapAsTableOps
  63.                            (IHeapAsTableOps
  64.                              <Element, ElementOps,
  65.                               Implementation> const&);
  66.  
  67.           ~IHeapAsTableOps
  68.                            ();
  69.  
  70.   IACollectionImpl*
  71.            Clone           () const;
  72.  
  73.            operator ISequenceAsTableImpl&
  74.                            ();
  75.  
  76.            operator Implementation*
  77.                            ();
  78.  
  79.  
  80. protected:
  81.  
  82. private:
  83.  
  84.   Base     ivBase;
  85.  
  86.   Implementation
  87.            ivImpl;
  88.  
  89.  
  90. };
  91.  
  92. #pragma SOMAsDefault (pop)
  93.  
  94. #if ! defined (__TEMPINC__)
  95. #include <iihptab.c>
  96. #endif
  97.  
  98. #pragma info (restore)
  99. #pragma pack ()
  100.  
  101. #endif
  102.