47 void initRead(std::istream*,
int&,
int&,
int &)
const;
48 void readImage(std::istream*,
char[2], vector<long> &,
int,
int,
int)
const;
70 const string name(
void)
const;
ReadPGMFunction readpgmfunction
Definition: sligraphics.h:62
An implementation of C++ filestreams that supports an interface to the file descriptor.
std::istream * openPGMFile(StringDatum *) const
opens the file
Definition: sligraphics.cc:115
Definition: slifunction.h:35
Definition: sligraphics.h:56
Definition: aggregatedatum.h:53
const string name(void) const
Return name of the module.
Definition: sligraphics.cc:342
Definition: interpret.h:69
WritePGMFunction writepgmfunction
Definition: sligraphics.h:63
SLIgraphics()
Definition: sligraphics.h:67
void readMagicNumber(std::istream *, char[2]) const
reads the magic number into string magic
Definition: sligraphics.cc:129
void init(SLIInterpreter *)
Initialise the module.
Definition: sligraphics.cc:336
Definition: sligraphics.h:42
Base class for all SLI Interpreter modules.
Definition: slimodule.h:34
const string commandstring(void) const
Return sli command sequence to be executed for initialisation.
Definition: sligraphics.cc:347
virtual void execute(SLIInterpreter *) const
Definition: sligraphics.cc:68
Definition: sligraphics.h:39
void readImage(std::istream *, char[2], vector< long > &, int, int, int) const
reads the image
Definition: sligraphics.cc:174
virtual void execute(SLIInterpreter *) const
Definition: sligraphics.cc:253
void initRead(std::istream *, int &, int &, int &) const
reads width, height, maxval
Definition: sligraphics.cc:143