home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
VISBUILD
/
RAPSHEET
/
CPPOV23
/
IRSLTREC.HPP
< prev
next >
Wrap
Text File
|
1995-05-12
|
3KB
|
67 lines
#ifndef _IRSLTREC_
#define _IRSLTREC_
//****************************************************************************
// IResultRecord Class - C++ Header File (irsltrec.hpp) *
// *
// COPYRIGHT: Copyright (C) International Business Machines Corp., 1994,1995 *
// *
// DISCLAIMER OF WARRANTIES: *
// The following [enclosed] code is sample code created by IBM *
// Corporation. This sample code is not part of any standard IBM product *
// and is provided to you solely for the purpose of assisting you in the *
// development of your applications. The code is provided "AS IS", *
// without warranty of any kind. IBM shall not be liable for any damages *
// arising out of your use of the sample code, even if they have been *
// advised of the possibility of such damages. *
//****************************************************************************
//NOTE: WE RECOMMEND USING A FIXED-SPACE FONT TO LOOK AT THE SOURCE.
//
#include <istring.hpp>
#include <irecord.hpp>
//Forward declarations of other classes
//**************************************************************************
// Class: IResultRecord
//
// Purpose: Describes IResultRecord
//
//**************************************************************************
class _Export IResultRecord : public IRecord
{
public:
IResultRecord ();
IResultRecord ( const IString & recordData );
IResultRecord ( const IResultRecord & aRecord );
virtual ~IResultRecord ();
IResultRecord & operator = ( const IResultRecord & aRecord );
IResultRecord & operator = ( const IString & aString );
IString asDebugInfo () const;
/*------------------------------------------------------------------
* numResults
*-----------------------------------------------------------------*/
virtual unsigned short
numResults () const;
virtual IResultRecord &
setNumResults (unsigned short iNumResults);
/*------------------------------------------------------------------
* resultData
*-----------------------------------------------------------------*/
virtual IString
resultData () const;
virtual IResultRecord &
setResultData (const IString & iResultData);
private:
unsigned long dParentSize;
const unsigned long dMySize;
};
#endif