GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



next up previous contents
Next: Constructing and Destroying FileStream Up: FileStream Management Previous: Copy, Move, and Delete,   Contents

The FileStream Package

In C there exists a suite of functions which allows for the application programmer to read, write, and seek on a file on a byte-by-byte basis. Among the plethora of functions which exists in C to allow the application programmer this luxury are fgets, fputs, and fseek. This trinity of functions, however, limit the application programmer to reading, writing, and seeking only on the local hard drive, useful, but not as sexy as begin able to read, write, and do seek on files half-way across the world over secure protocols. This is the narcotic with which GAT provides the application programmer. The process of reading, writing, and seeking on a file through the aegis of GAT is accomplished through the use of a single class GATFileStream, the involution of which we shall next examine.



Subsections

Andre Merzky 2004-05-13