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

  1. #ifndef __SET_H
  2. #define __SET_H
  3.  
  4. //
  5. // This file contains proprietary information of Borland International.
  6. // Copying or reproduction without prior written approval is prohibited.
  7. //
  8. // Copyright (c) 1990
  9. // Borland International
  10. // 1800 Scotts Valley Dr.
  11. // Scotts Valley, CA 95066
  12. // (408) 438-8400
  13. //
  14.  
  15. // Contents ----------------------------------------------------------------
  16. //
  17. //      Set
  18. //      Set::Set                                constructor
  19. //      Set::add
  20. //
  21. // Description
  22. //
  23. //      Defines the abstract class Set.
  24. //
  25. // End ---------------------------------------------------------------------
  26.  
  27. // Interface Dependencies ---------------------------------------------------
  28.  
  29. #ifndef __IOSTREAM_H
  30. #include <iostream.h>
  31. #define __IOSTREAM_H
  32. #endif
  33.  
  34. #ifndef __CLSTYPES_H
  35. #include "clstypes.h"
  36. #endif
  37.  
  38. #ifndef __RESOURCE_H
  39. #include "resource.h"
  40. #endif
  41.  
  42. #ifndef __OBJECT_H
  43. #include "object.h"
  44. #endif
  45.  
  46. #ifndef __BAG_H
  47. #include "bag.h"
  48. #endif
  49.  
  50. // End Interface Dependencies ------------------------------------------------
  51.  
  52.  
  53. // Class //
  54.  
  55. class Set:  public Bag
  56. {
  57. public:
  58.             Set( sizeType setSize = DEFAULT_SET_SIZE ) : Bag( setSize ) {}
  59.     virtual ~Set();
  60.  
  61.     virtual void            add( Object& );
  62.  
  63.     virtual classType       isA() const;
  64.     virtual char           *nameOf() const;
  65.  
  66. };
  67.  
  68. // Description -------------------------------------------------------------
  69. //
  70. //     Defines the class Set. 
  71. //      
  72. // Public Members
  73. //
  74. //     isA
  75. //
  76. //     Inherited from Object.
  77. //
  78. //     nameOf
  79. //
  80. //     Inherited from Object.
  81. //     
  82. // Inherited Members
  83. //
  84. //      add
  85. //
  86. //      Inherited from HashTable
  87. //
  88. //      destroy
  89. //
  90. //      Inherited from HashTable
  91. //
  92. //     detach
  93. //
  94. //      Inherited from HashTable
  95. //
  96. //      hasMember
  97. //
  98. //      Inherited from HashTable
  99. //
  100. //     isEmpty
  101. //
  102. //      Inherited from HashTable
  103. //
  104. //      firstThat
  105. //
  106. //      Inherited from HashTable
  107. //
  108. //      lastThat
  109. //
  110. //      Inherited from HashTable
  111. //
  112. //     hashValue
  113. //
  114. //     Inherited from Object.
  115. //
  116. //     operator ==
  117. //
  118. //     Inherited from Object.
  119. //
  120. //     printOn
  121. //
  122. //     Inherited from Object.
  123. //
  124. // End ---------------------------------------------------------------------
  125.  
  126.  
  127. #endif // ifndef __SET_H //
  128.