Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SampledFunction Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qpdf/xpdf/Function.h>

Inheritance diagram for SampledFunction:

Inheritance graph
[legend]
Collaboration diagram for SampledFunction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SampledFunction (Object *funcObj, Dict *dict)
virtual ~SampledFunction ()
virtual Functioncopy ()
virtual void transform (fouble *in, fouble *out)
virtual GBool isOk ()

Private Member Functions

 SampledFunction (SampledFunction *func)

Private Attributes

int sampleSize [funcMaxInputs]
fouble encode [funcMaxInputs][2]
fouble decode [funcMaxOutputs][2]
foublesamples
GBool ok

Constructor & Destructor Documentation

SampledFunction::SampledFunction Object funcObj,
Dict dict
 

Definition at line 185 of file Function.cc.

References Object::arrayGet(), Object::arrayGetLength(), bits, buf, Stream::close(), decode, encode, error(), Object::free(), Stream::getChar(), Object::getInt(), Object::getNum(), gFalse, gmalloc(), gTrue, Function::hasRange, i, Function::init(), Object::isInt(), Object::isNum(), Dict::lookup(), Function::m, Function::n, NULL, ok, Function::range, Stream::reset(), s, samples, sampleSize, and str.

Referenced by copy().

SampledFunction::~SampledFunction  )  [virtual]
 

Definition at line 337 of file Function.cc.

References gfree(), and samples.

SampledFunction::SampledFunction SampledFunction func  )  [private]
 

Definition at line 343 of file Function.cc.

References gmalloc(), i, Function::m, Function::n, samples, and sampleSize.


Member Function Documentation

virtual Function* SampledFunction::copy  )  [inline, virtual]
 

Implements Function.

Definition at line 90 of file Function.h.

References SampledFunction().

virtual GBool SampledFunction::isOk  )  [inline, virtual]
 

Implements Function.

Definition at line 92 of file Function.h.

References ok.

void SampledFunction::transform fouble in,
fouble out
[virtual]
 

Implements Function.

Definition at line 356 of file Function.cc.

References decode, Function::domain, encode, funcMaxInputs, i, Function::m, Function::n, Function::range, samples, sampleSize, and Opie::MM::x.


Member Data Documentation

fouble SampledFunction::decode[funcMaxOutputs][2] [private]
 

Definition at line 103 of file Function.h.

Referenced by SampledFunction(), and transform().

fouble SampledFunction::encode[funcMaxInputs][2] [private]
 

Definition at line 101 of file Function.h.

Referenced by SampledFunction(), and transform().

GBool SampledFunction::ok [private]
 

Definition at line 105 of file Function.h.

Referenced by isOk(), and SampledFunction().

fouble* SampledFunction::samples [private]
 

Definition at line 104 of file Function.h.

Referenced by SampledFunction(), transform(), and ~SampledFunction().

int SampledFunction::sampleSize[funcMaxInputs] [private]
 

Definition at line 99 of file Function.h.

Referenced by SampledFunction(), and transform().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:51:10 2005 for OPIE by  doxygen 1.4.2