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

  1. #ifndef _IALSREC_
  2. #define _IALSREC_
  3. /******************************************************************************
  4. * .FILE:        ialsrec.hpp                                                   *
  5. *                                                                             *
  6. * .DESCRIPTION: Header file for the class IAliasRecord                        *
  7. *                                                                             *
  8. * .CLASSES:     IAliasRecord                                                  *
  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. /* Align classes on four byte boundary.                                       */
  34. /*----------------------------------------------------------------------------*/
  35. #pragma pack(4)
  36.  
  37. //**************************************************************************
  38. // Class:   IAliasRecord
  39. //
  40. // Purpose: Describes IAliasRecord
  41. //
  42. //**************************************************************************
  43. class IVBSAMP_IMPORT IAliasRecord : public IRecord
  44. {
  45. public:
  46.            IAliasRecord ();
  47.            IAliasRecord ( const IString & stringData );
  48.            IAliasRecord ( const IAliasRecord & aRecord );
  49.   virtual  ~IAliasRecord ();
  50.  
  51. IAliasRecord & operator = ( const IAliasRecord & aRecord );
  52. IAliasRecord & operator = ( const IString & aString );
  53.  
  54. /*------------------------------------------------------------------
  55.  * name
  56.  *-----------------------------------------------------------------*/
  57. virtual IString name () const;
  58. virtual IAliasRecord & setName (const IString & iName);
  59.  
  60. private:
  61.    unsigned long dParentSize;
  62.    const unsigned long dMySize;
  63. };
  64.  
  65. /*----------------------------------------------------------------------------*/
  66. /* Resume compiler default packing.                                           */
  67. /*----------------------------------------------------------------------------*/
  68. #pragma pack()
  69.  
  70. #endif
  71.