home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / visbuild / calculat / cppwv13 / icalceql.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-16  |  2.6 KB  |  52 lines

  1. /******************************************************************************
  2. * .FILE:        icalceql.cpp                                                  *
  3. *                                                                             *
  4. * .DESCRIPTION: Implementation for the class, ICalcEqualFunction              *
  5. *                                                                             *
  6. * .CLASSES:     ICalcEqualFunction                                            *
  7. *                                                                             *
  8. * .COPYRIGHT:                                                                 *
  9. *    Licensed Material - Program-Property of IBM                              *
  10. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  11. *                                                                             *
  12. * .DISCLAIMER:                                                                *
  13. *   The following [enclosed] code is sample code created by IBM               *
  14. *   Corporation.  This sample code is not part of any standard IBM product    *
  15. *   and is provided to you solely for the purpose of assisting you in the     *
  16. *   development of your applications.  The code is provided 'AS IS',          *
  17. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  18. *   arising out of your use of the sample code, even if they have been        *
  19. *   advised of the possibility of such damages.                               *
  20. *                                                                             *
  21. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  22. *                                                                             *
  23. ******************************************************************************/
  24.  
  25. #include "icalceql.hpp"                 //ICalcEqualFunction class header
  26. #include "icalcpu.hpp"                  //ICalcPU header
  27.  
  28.  
  29. //*******************************************************************
  30. // Manager Member Functions (Not Part Actions)
  31. //*******************************************************************
  32.  
  33.  
  34. ICalcEqualFunction :: ICalcEqualFunction()
  35. {
  36. }
  37.  
  38. ICalcEqualFunction :: ~ICalcEqualFunction()
  39. {
  40. }
  41.  
  42. //*******************************************************************
  43. // Implementor Member Functions (not Part Actions)                   
  44. //*******************************************************************
  45.  
  46. ICalcEqualFunction & ICalcEqualFunction::perform(ICalcPU& aPU)
  47. {
  48.  aPU.evaluateOperator();       //aPU, evaluate yourself
  49.  return *this;
  50. }
  51.  
  52.