home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / visbuild / rapsheet / cppwv23 / irsltrec.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-09  |  3.2 KB  |  74 lines

  1. #ifndef _IRSLTREC_
  2. #define _IRSLTREC_
  3. /******************************************************************************
  4. * .FILE:        irsltrec.hpp                                                  *
  5. *                                                                             *
  6. * .DESCRIPTION: Header file for the class IResultRecordClass                  *
  7. *                                                                             *
  8. * .CLASSES:     IResultRecordClass                                            *
  9. *                                                                             *
  10. * .COPYRIGHT:                                                                 *
  11. *    Licensed Material - Program-Property of IBM                              *
  12. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  13. *                                                                             *
  14. * .DISCLAIMER:                                                                *
  15. *   The following [enclosed] code is sample code created by IBM               *
  16. *   Corporation.  This sample code is not part of any standard IBM product    *
  17. *   and is provided to you solely for the purpose of assisting you in the     *
  18. *   development of your applications.  The code is provided 'AS IS',          *
  19. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  20. *   arising out of your use of the sample code, even if they have been        *
  21. *   advised of the possibility of such damages.                               *
  22. *                                                                             *
  23. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  24. *                                                                             *
  25. ******************************************************************************/
  26. #include "ivbsamps.h"
  27. #include <istring.hpp>
  28. #include <irecord.hpp>
  29.  
  30. //Forward declarations of other classes
  31.  
  32. //**************************************************************************
  33. // Class:   IResultRecord
  34. //
  35. // Purpose: Describes IResultRecord
  36. //
  37. //**************************************************************************
  38. class IVBSAMP_IMPORT IResultRecord : public IRecord
  39. {
  40. public:
  41.            IResultRecord ();
  42.            IResultRecord ( const IString & recordData );
  43.            IResultRecord ( const IResultRecord & aRecord );
  44.   virtual  ~IResultRecord ();
  45.  
  46. IResultRecord & operator = ( const IResultRecord & aRecord );
  47. IResultRecord & operator = ( const IString & aString );
  48.  
  49. IString asDebugInfo () const;
  50.  
  51. /*------------------------------------------------------------------
  52.  * numResults
  53.  *-----------------------------------------------------------------*/
  54. virtual unsigned short
  55.   numResults () const;
  56. virtual IResultRecord &
  57.   setNumResults (unsigned short iNumResults);
  58.  
  59. /*------------------------------------------------------------------
  60.  * resultData
  61.  *-----------------------------------------------------------------*/
  62. virtual IString
  63.   resultData () const;
  64. virtual IResultRecord &
  65.   setResultData (const IString & iResultData);
  66.  
  67.  
  68. private:
  69.    unsigned long dParentSize;
  70.    const unsigned long dMySize;
  71. };
  72.  
  73. #endif
  74.