home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / CALCULAT / CPPOV13 / ICALCEQL.CPP < prev    next >
Text File  |  1995-04-14  |  2KB  |  48 lines

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