home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
VISBUILD
/
CALCULAT
/
CPPOV13
/
ICALCFNC.HPP
< prev
next >
Wrap
Text File
|
1995-04-14
|
2KB
|
53 lines
#ifndef _ICALCFUNC_
#define _ICALCFUNC_
//****************************************************************************
// ICalcFunction Class - C++ Header File (icalcfnc.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.
//
// VERSION 2
//
//
//****************************************************************************
#include <istring.hpp>
#include <istdntfy.hpp>
//Forward declarations of other classes
class ICalcPU;
//**************************************************************************
// Class: ICalcFunction
//
// Purpose: Describes ICalcFunction
// This is the abstract base class for all calculator unary functions.
// This defines the pluggable interface for all unary type functions.
//**************************************************************************
class _Export ICalcFunction : public IStandardNotifier
{
public:
ICalcFunction(); //constructor
virtual ~ICalcFunction(); //destructor
//Implementor Method Functions
virtual ICalcFunction& perform(ICalcPU& aPUObject) = 0; //pure virtual function; which makes
//this class Abstract Base Class
};
#endif