home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / itree.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.1 KB  |  69 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 _ITREE_H
  19. #define _ITREE_H
  20.  
  21. #include <imwt.h>
  22.  
  23. #pragma info (nocls, nocnd, nocns, nocnv, noext, nognr, novft)
  24. #pragma pack (4)
  25.  
  26. #pragma SOMAsDefault (off)
  27.  
  28. template <class Element, class ElementOps, INumber numOfChildren>
  29. class IGTree :
  30.   public IGMultiwayTree <numOfChildren, Element, ElementOps> {
  31.  
  32.   typedef  IGMultiwayTree
  33.             <numOfChildren, Element, ElementOps> Inherited;
  34.  
  35. public:
  36.  
  37.   IGTree <Element, ElementOps, numOfChildren>&
  38.            operator=        (IGTree <Element, ElementOps,
  39.                                      numOfChildren> const& tree)
  40.            { Inherited::operator= (tree);
  41.              return *this;
  42.            }
  43.  
  44. protected:
  45.  
  46. private:
  47.  
  48.  
  49. };
  50.  
  51. template <class Element, INumber numOfChildren>
  52. class ITree :
  53.   public IGTree <Element, IStdOps <Element>, numOfChildren> {
  54. public:
  55.  
  56. protected:
  57.  
  58. private:
  59.  
  60.  
  61. };
  62.  
  63. #pragma SOMAsDefault (pop)
  64.  
  65. #pragma info (restore)
  66. #pragma pack ()
  67.  
  68. #endif
  69.