next up previous contents
Next: An Example Class Up: Users View of Previous: Primitive DataClasses

Data Access

Historically Asterix applications have used only one data access method for bulk data handling, namely file mapping. This has three disadvantages,

For these reasons ADI supports two data access modes in addition to mapping. The first of these is a simple get/put interface where the entire data object is read into or written from Fortran variables in one fell swoop. This makes the life of the amateur programmer considerably simpler.

The third access mode is buffered access. ADI buffers can be defined to scan over a data object or objects with buffer sizes under either user or automatic control. Access to buffered objects can be synchronised to (for example) step over multiple data members of a class at the same rate.



Web Master
Wed Oct 8 09:22:23 BST 1997