home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0040 - 0049 / ibm0040-0049 / ibm0040.tar / ibm0040 / BCPPOWL1.ZIP / CLSRC.ZIP / SORTABLE.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-28  |  1.6 KB  |  67 lines

  1. // Borland C++ - (C) Copyright 1991 by Borland International
  2.  
  3. // Contents ----------------------------------------------------------------
  4. //
  5. //      Sortable::~Sortable
  6. //      Sortable::isSortable()
  7. //
  8. // Description
  9. //
  10. //      Implementation of the class Sortable member functions
  11. //
  12. // End ---------------------------------------------------------------------
  13.  
  14. // Interface Dependencies ---------------------------------------------------
  15.  
  16. #ifndef __CLSTYPES_H
  17. #include <clstypes.h>
  18. #endif
  19.  
  20. #ifndef __OBJECT_H
  21. #include <object.h>
  22. #endif
  23.  
  24. #ifndef __SORTABLE_H
  25. #include <sortable.h>
  26. #endif
  27.  
  28. // End Interface Dependencies ------------------------------------------------
  29.  
  30.  
  31. // Implementation Dependencies ----------------------------------------------
  32. // End Implementation Dependencies -------------------------------------------
  33.  
  34.  
  35. // Member Function //
  36.  
  37. Sortable::~Sortable()
  38.  
  39. // Summary -----------------------------------------------------------------
  40. //
  41. //      Destructor for a Sortable object.
  42. //
  43. // End ---------------------------------------------------------------------
  44. {
  45. }
  46. // End Destructor //
  47.  
  48.  
  49. // Member Function //
  50.  
  51. int Sortable::isSortable() const
  52.  
  53. // Summary -----------------------------------------------------------------
  54. //
  55. //      indicates whether an Object is sortable
  56. //
  57. // Return Value
  58. //
  59. //      returns 1, since every object of type Sortable is sortable.
  60. //
  61. // End ---------------------------------------------------------------------
  62. {
  63.     return 1;
  64. }
  65. // End Member Function Sortable::isSortable //
  66.  
  67.