This is LookupTable.h in view mode; [Download] [Up]
//
// Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu>
// Creation Date: Sat Nov 8 21:08:39 GMT-0800 1997
// Last Modified: Sat Nov 8 21:08:45 GMT-0800 1997
// Filename: .../sig/src/LookupTable/LookupTableCI/LookupTableCI.h
// Syntax: C++
// $Smake: cc -Wall -g -c %b.cc -I../../include %
// -ILookupTableCI && rm -f %b.o
//
#ifndef _LOOKUPTABLE_H_INCLUDED
#define _LOOKUPTABLE_H_INCLUDED
#include "Definitions.h"
#include "LookupTableCI.h"
class LookupTable : public LookupTableCI {
public:
LookupTable (int size = 0);
LookupTable (sampleType* aTable, int size);
~LookupTable ();
void doLinearInterpolation (void);
void doConstantInterpolation (void);
LookupTable& operator= (LookupTable& aTable);
protected:
int interpolationType;
sampleType read (double index) const;
};
#endif _LOOKUPTABLE_H_INCLUDED
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.