home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iakb.inl < prev    next >
Encoding:
Text File  |  1996-02-22  |  1.9 KB  |  61 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. // ---
  19. // IAKeyBag
  20. // ---
  21.  
  22. template <class Element, class Key>
  23. inline
  24. IAKeyBag <Element, Key>::
  25. IAKeyBag (INotifier& notifier)
  26. { SetImpl ((Implementation*)¬ifier);
  27. }
  28.  
  29. template <class Element, class Key>
  30. inline
  31. IAKeyBag <Element, Key>::
  32. ~IAKeyBag ()
  33. {
  34. }
  35.  
  36. // protected members
  37.  
  38. template <class Element, class Key>
  39. inline
  40. IAKeyBag <Element, Key>::
  41. IAKeyBag ()
  42. {
  43. }
  44.  
  45. template <class Element, class Key>
  46. inline
  47. IAKeyBag <Element, Key>::
  48. IAKeyBag (IAKeyBag <Element, Key> const& collection)
  49. : Inherited (collection)
  50. {
  51. }
  52.  
  53. // private members
  54.  
  55. template <class Element, class Key>
  56. inline IAKeyBag <Element, Key>::Implementation&
  57. IAKeyBag <Element, Key>::
  58. ImplOf (IAKeyBag <Element, Key> const& collection)
  59. { return *(Implementation*)collection.ivImpl;
  60. }
  61.