home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / bento / headers / typstitr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-02  |  1.8 KB  |  68 lines

  1. /*
  2.     File:        TypStItr.h
  3.  
  4.     Contains:    Class definition for XMPTypeSetIterator.
  5.  
  6.     Written by:    Vincent Lo
  7.  
  8.     Copyright:    ⌐ 1993 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <4>     2/17/94    CC        #1144818 - Added declaration of class
  13.                                     XMPTypeSet to enable standalone
  14.                                     compilation.
  15.          <3>     2/15/94    CG        #1143680 - changed fIterator to a
  16.                                     OrderedCollectionIterator.
  17.          <2>      2/9/94    Té        made destructor explicitly virtual to
  18.                                     pacify ASLM
  19.          <1>      2/4/94    VL        first checked in
  20.  
  21.     To Do:
  22.  
  23. */
  24.  
  25. #ifndef _TYPSTITR_
  26. #define _TYPSTITR_
  27.  
  28. #ifndef _XMPTYPES_
  29. #include "XMPTypes.h"
  30. #endif
  31.  
  32. //=====================================================================================
  33. // Classes defined in this interface
  34. //=====================================================================================
  35. class XMPTypeSetIterator;
  36.  
  37. //=====================================================================================
  38. // Classes used by this interface
  39. //=====================================================================================
  40. class XMPTypeSet;
  41. class OrderedCollectionIterator;
  42.  
  43. //=====================================================================================
  44. // Class XMPTypeSetIterator
  45. //=====================================================================================
  46.  
  47. #define kXMPTypeSetIteratorID "appl:xmptypesetiterator$class,1.0.0"
  48.  
  49. class XMPTypeSetIterator
  50. {
  51. public:
  52.  
  53.         XMPTypeSetIterator(XMPTypeSet* typeSet);
  54.         
  55.         virtual ~XMPTypeSetIterator();
  56.  
  57.         XMPMethod    XMPBoolean    IsNotComplete();
  58.         XMPMethod    XMPType        First();
  59.         XMPMethod    XMPType        Next();
  60.         
  61. private:
  62.  
  63.           XMPTypeSet*                    fTypeSet;
  64.         OrderedCollectionIterator*    fIterator;
  65. };
  66.  
  67. #endif    // _TYPSTITR_
  68.