home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / OTHERUTI / TCPP10-8.ZIP / CLASSSRC.ZIP / SORTABLE.CPP < prev    next >
C/C++ Source or Header  |  1990-09-26  |  2KB  |  76 lines

  1. //
  2. // This file contains proprietary information of Borland International.
  3. // Copying or reproduction without prior written approval is prohibited.
  4. //
  5. // Copyright (c) 1990
  6. // Borland International
  7. // 1800 Scotts Valley Dr.
  8. // Scotts Valley, CA 95066
  9. // (408) 438-8400
  10. //
  11.  
  12. // Contents ----------------------------------------------------------------
  13. //
  14. //      Sortable::~Sortable
  15. //      Sortable::isSortable()
  16. //
  17. // Description
  18. //
  19. //      Implementation of the class Sortable member functions
  20. //
  21. // End ---------------------------------------------------------------------
  22.  
  23. // Interface Dependencies ---------------------------------------------------
  24.  
  25. #ifndef __CLSTYPES_H
  26. #include <clstypes.h>
  27. #endif
  28.  
  29. #ifndef __OBJECT_H
  30. #include <object.h>
  31. #endif
  32.  
  33. #ifndef __SORTABLE_H
  34. #include <sortable.h>
  35. #endif
  36.  
  37. // End Interface Dependencies ------------------------------------------------
  38.  
  39.  
  40. // Implementation Dependencies ----------------------------------------------
  41. // End Implementation Dependencies -------------------------------------------
  42.  
  43.  
  44. // Member Function //
  45.  
  46. Sortable::~Sortable()
  47.  
  48. // Summary -----------------------------------------------------------------
  49. //
  50. //      Destructor for a Sortable object.
  51. //
  52. // End ---------------------------------------------------------------------
  53. {
  54. }
  55. // End Destructor //
  56.  
  57.  
  58. // Member Function //
  59.  
  60. int Sortable::isSortable() const
  61.  
  62. // Summary -----------------------------------------------------------------
  63. //
  64. //      indicates whether an Object is sortable
  65. //
  66. // Return Value
  67. //
  68. //      returns 1, since every object of type Sortable is sortable.
  69. //
  70. // End ---------------------------------------------------------------------
  71. {
  72.     return 1;
  73. }
  74. // End Member Function Sortable::isSortable //
  75.  
  76.