home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iaseq.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.2 KB  |  74 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 _IASEQ_H
  19. #define _IASEQ_H
  20.  
  21. #include <iasqntl.h>
  22. #include <iiaseq.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 IASequence :
  31.   public IASequentialCollection <Element> {
  32.  
  33.   typedef  IASequentialCollection <Element> Inherited;
  34.  
  35.   typedef  IASequenceImpl Implementation;
  36.  
  37. public:
  38.  
  39.            IASequence
  40.                             (INotifier&);
  41.  
  42.           ~IASequence
  43.                             ();
  44.  
  45.   long     compare          (IASequence <Element> const&,
  46.                              long (*comparisonFunction)
  47.                               (Element const&, Element const&)) const;
  48.  
  49. protected:
  50.  
  51.            IASequence
  52.                             ();
  53.  
  54.            IASequence
  55.                             (IASequence <Element> const&);
  56.  
  57. private:
  58.  
  59.   static
  60.   Implementation&
  61.            ImplOf           (IASequence <Element> const&);
  62.  
  63.  
  64. };
  65.  
  66. #include <iaseq.inl>
  67.  
  68. #pragma SOMAsDefault (pop)
  69.  
  70. #pragma info (restore)
  71. #pragma pack ()
  72.  
  73. #endif
  74.