home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / IBMCLASS / ICNROLST.HPP < prev    next >
C/C++ Source or Header  |  1993-10-22  |  3KB  |  60 lines

  1. #ifndef _ICNROLST_
  2. #define _ICNROLST_
  3. /*******************************************************************************
  4. * FILE NAME: icnrolst.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the declaration(s) of the class(es):                    *
  8. *     ICnrObjectSet                                                            *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   Licensed Materials - Property of IBM                                       *
  12. *   (C) Copyright IBM Corporation 1992, 1993                                   *
  13. *   All Rights Reserved                                                        *
  14. *   US Government Users Restricted Rights - Use, duplication, or               *
  15. *   disclosure                                                                 *
  16. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  17. *                                                                              *
  18. *******************************************************************************/
  19. #ifndef _IBASE_
  20.   #include <ibase.hpp>
  21. #endif
  22.  
  23. #include <iseq.h>
  24.  
  25. /*----------------------------------------------------------------------------*/
  26. /* Align classes on four byte boundary.                                       */
  27. /*----------------------------------------------------------------------------*/
  28. #pragma pack(4)
  29.  
  30. // forward declarations here
  31. class IContainerObject;
  32.  
  33. /*----------------------------------------------------------*/
  34. /* Object Collection Definition.                            */
  35. /*----------------------------------------------------------*/
  36. class ICnrObjectSet : public ISequence<IContainerObject*> {
  37. /*******************************************************************************
  38. * The ICnrObjectSet class defines a set of IContainerObjects.  Several         *
  39. * functions exist in IContainerControl that return sets of IContainerObjects   *
  40. * that meet a certain criteria.  For example, the descendentsOf function       *
  41. * returns the set of all descendents of an object in the tree view.            *
  42. *******************************************************************************/
  43. public:
  44. /*------------------------ Constructors ----------------------------------------
  45. | You can construct instances of this class in the following ways:             |
  46. |   - By using the default constructor.                                        |
  47. |   - From an instance of ICnrObjectSet that already exists.                   |
  48. ------------------------------------------------------------------------------*/
  49.   ICnrObjectSet( );
  50.   ICnrObjectSet(const ICnrObjectSet&);
  51.  ~ICnrObjectSet( );
  52. };
  53.  
  54. /*----------------------------------------------------------------------------*/
  55. /* Resume compiler default packing.                                           */
  56. /*----------------------------------------------------------------------------*/
  57. #pragma pack()
  58.  
  59. #endif // _ICNROLST_
  60.