home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iivseq.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.7 KB  |  92 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 _IIVSEQ_H
  19. #define _IIVSEQ_H
  20.  
  21. #include <iiaseq.h>
  22.  
  23. #pragma SOMAsDefault (off)
  24.  
  25. #pragma info (nocls, nocnd, nocns, nocnv, noext, nognr, novft)
  26. #pragma pack (4)
  27.  
  28. template <class VInherited>
  29. class IVSequenceImpl : public VInherited {
  30. public:
  31.  
  32.   typedef  VInherited::Ops Ops;
  33.  
  34.            IVSequenceImpl
  35.                             (Ops&, INumber);
  36.  
  37.            IVSequenceImpl
  38.                             (Ops&, IVSequenceImpl
  39.                                     <VInherited> const&);
  40.  
  41.   IBoolean Add              (void const*, ICursorImpl&);
  42.  
  43.   void     AddAllFrom       (IACollectionImpl const&);
  44.  
  45.   void     AddAsFirst       (void const*, ICursorImpl&);
  46.  
  47.   void     AddAsLast        (void const*, ICursorImpl&);
  48.  
  49.   void     AddAsNext        (void const*, ICursorImpl&);
  50.  
  51.   void     AddAsPrevious    (void const*, ICursorImpl&);
  52.  
  53.   void     AddAtPosition    (IPosition, void const*, ICursorImpl&);
  54.  
  55.   void     Copy             (IACollectionImpl const&);
  56.  
  57.   INumber  RemoveAll        ();
  58.  
  59.   INumber  RemoveAll        (IPredFunc, void*);
  60.  
  61.   void     RemoveAt         (ICursorImpl&);
  62.  
  63.   void     RemoveAtPosition (IPosition);
  64.  
  65.   void     RemoveFirst      ();
  66.  
  67.   void     RemoveLast       ();
  68.  
  69.   void     ReplaceAt        (ICursorImpl const&, void const*);
  70.  
  71.   void     Reverse          ();
  72.  
  73.   void     Sort             (ICompFunc, void*);
  74.  
  75. protected:
  76.  
  77. private:
  78.  
  79.  
  80. };
  81.  
  82. #pragma SOMAsDefault (pop)
  83.  
  84. #if ! defined (__TEMPINC__)
  85. #include <iivseq.c>
  86. #endif
  87.  
  88. #pragma info (restore)
  89. #pragma pack ()
  90.  
  91. #endif
  92.