home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / tsetitr.idl < prev    next >
Text File  |  1999-02-22  |  2KB  |  83 lines

  1. //#  @(#) 2.12 src/somuc/tsetitr.idl, somuc, som2.1 12/26/95 15:41:43 [7/30/96 14:50:11]
  2. //
  3. //   COMPONENT_NAME: somuc
  4. //
  5. //   ORIGINS: 82, 81, 27
  6. //
  7. //
  8. //    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1996,1996  
  9. //   All Rights Reserved
  10. //   Licensed Materials - Property of IBM
  11. //   US Government Users Restricted Rights - Use, duplication or
  12. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  13. //
  14. //   Copyright ⌐ 1988, 1989 Apple Computer, Inc. All rights reserved.
  15.  
  16. /*
  17.  * CLASS_NAME: somf_TSetIterator
  18.  *
  19.  * DESCRIPTION: An iterator for TSet's that will iterate over all of the objects
  20.  *              in a set.
  21.  *
  22.  */
  23. #ifndef TSetItr_idl
  24. #define TSetItr_idl
  25.  
  26. #include "titeratr.idl"
  27. #include "mcollect.idl"
  28.  
  29. interface somf_TSet;
  30. interface TSAssoc;
  31.  
  32. interface somf_TSetIterator : somf_TIterator
  33. {
  34.   somf_TSetIterator somfTSetIteratorInit(in somf_TSet h);
  35.  
  36.   // Initialize somf_TSetIterator using somf_TSet h.
  37.   //#   TSetIterator(const TSet* h);
  38.  
  39.  
  40.  
  41. #ifdef __SOMIDL__
  42.   implementation {
  43.  
  44.     releaseorder: somfTSetIteratorInit;
  45.  
  46.     //# Class Modifiers
  47.     majorversion = 2;
  48.     minorversion = 1;
  49.     filestem = tsetitr;
  50.     dllname = "somuc.dll";
  51.  
  52.  
  53.     passthru C_xh_after =  ""
  54. "#include <tset.xh>"
  55. "#include <mcollect.xh>";
  56.  
  57.     passthru C_h_after =  ""
  58. "#include <tset.h>"
  59. "#include <mcollect.h>";
  60.  
  61.     //# Internal Instance Variables
  62.     somf_TSet fSet;
  63.     long fIndex;
  64.     long fEndTest;
  65.     TSAssoc fNextAssoc;
  66.     unsigned long fSeed;
  67.     boolean fBreakEmInD16;
  68.  
  69.     //# Method Modifiers
  70.     somUninit: override;
  71.     somfNext: override;
  72.     somfFirst: override;
  73.     somfRemove: override;
  74.     somfTSetIteratorInit: nooverride;
  75.  
  76.     //# Data Modifiers
  77.  
  78.   };
  79. #endif /* __SOMIDL__ */
  80. };
  81.  
  82. #endif  /* TSetItr_idl */
  83.