home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / scase.zip / SCASE.Z / STR.H < prev    next >
C/C++ Source or Header  |  1994-10-17  |  2KB  |  42 lines

  1. #ifndef str_h_included  
  2. #define str_h_included  
  3. /******************************************************************************
  4. *                         ** Company Confidential **
  5. *                  ** Copyright 1994, All rights Reserved **
  6. * %Z%%M% version %I% date:%G%
  7. ******************************************************************************/
  8.  
  9. // -MQBeg- [Module_Includes] [str_h] <00000003.00000000> Retained!
  10. // -MQEnd- [Module_Includes] [str_h] <00000003.00000000> 
  11.  
  12. // -MQBeg- [Module_Declarations_1] [str_h] <00000003.00000000> Retained!
  13. // -MQEnd- [Module_Declarations_1] [str_h] <00000003.00000000> 
  14.  
  15. // -MQBeg- [Class_Spec] [String] <00000000.00000033> 
  16. /******************************************************************************
  17. String:
  18. A string class.
  19. ******************************************************************************/
  20. class String 
  21. {
  22. // -MQBeg- [Declarations_1] [String] <00000000.00000033> Retained!
  23. // -MQEnd- [Declarations_1] [String] <00000000.00000033> 
  24. public:
  25.   String();
  26.   String(const char *CString);
  27.   String(const String& src);
  28.   ~String();
  29.   String& operator=(const String& rhs);
  30. private:
  31.   char * pBuf;
  32. // -MQBeg- [Declarations_2] [String] <00000000.00000033> Retained!
  33. // -MQEnd- [Declarations_2] [String] <00000000.00000033> 
  34. };
  35.  
  36. // -MQEnd- [Class_Spec] [String] <00000000.00000033> 
  37.  
  38. // -MQBeg- [Module_Declarations_2] [str_h] <00000003.00000000> Retained!
  39. // -MQEnd- [Module_Declarations_2] [str_h] <00000003.00000000> 
  40.  
  41. #endif
  42.