/*************************************************************************** * * Copyright (c) 1989, 1990, 1991, 1992, 1993 * Rector and Visitors of the University of Virginia * All Rights Reserved * * This file is part of the Mentat system software library. This software * is intended for research and is available free of charge for that * purpose; however, all material is the proprietary source of the * University of Virginia, and may not be disclosed or copied in any * form without the explicit written permission of the Univeristy of * Virginia. * * This software is distributed WITHOUT ANY WARRANTY; without even the * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. This software hereunder is provided on an "as is" basis, * and the University of Virginia has no obligation to provide maintenance, * support, updates, enhancements, or modifications. * * Send problems & suggestions to: * mentat@Virginia.EDU * ***************************************************************************/ // ------------------------------------------------------------------- // This class implements a generic filter function. The important // charateristic of this type of filter is that they are pure functions. // Thus, the system can instantiate a new instance to handle every // invocation. We indicate this in Mentat using the keyword "regular". // ------------------------------------------------------------------- regular mentat class gfilter { public: int one_arg(int arg1); int two_arg(int arg1, int arg2); int three_arg(int arg1, int arg2, int arg3); };