home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c081_11 / 11.ddi / CLASSSRC.ZIP / SORTABLE.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-13  |  1.6 KB  |  68 lines

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