TiledFileHelper.h

Classes

TiledFileHelper -- Helper class for tiled access to an array in a file. (full description)

class TiledFileHelper : public TiledStMan

Interface

Public Members
TiledFileHelper (const String& fileName, const IPosition& shape, DataType dtype, uInt maximumCacheSize, Bool writable, Bool bigEndian)
~TiledFileHelper()
virtual const TableDesc& getDesc() const
TSMFile* file()
virtual String dataManagerType() const
virtual DataManager* clone() const
virtual Bool flush (AipsIO&, Bool)
virtual void create (uInt)
virtual TSMCube* getHypercube (uInt)
virtual TSMCube* getHypercube (uInt, IPosition&)
virtual void readHeader (uInt, Bool)
Private Members
TiledFileHelper (const TiledFileHelper&)
TiledFileHelper& operator= (const TiledFileHelper&)

Description

Review Status

Programs:
Tests:

Prerequisite

Synopsis

TiledFileHelper is a helper class for class TiledFileAccess. It sets up a table description containing one array column to make it possible to use the tiled storage manager to access an array in an arbitrary file.

Motivation

This class was created to be able to read an image in a FITS file.

Member Description

TiledFileHelper (const String& fileName, const IPosition& shape, DataType dtype, uInt maximumCacheSize, Bool writable, Bool bigEndian)

Create a TiledFileHelper object. Tell if the data is stored in big or little endian canonical format.

~TiledFileHelper()

virtual const TableDesc& getDesc() const

TSMFile* file()

virtual String dataManagerType() const

Return the class name.

virtual DataManager* clone() const
virtual Bool flush (AipsIO&, Bool)
virtual void create (uInt)
virtual TSMCube* getHypercube (uInt)
virtual TSMCube* getHypercube (uInt, IPosition&)
virtual void readHeader (uInt, Bool)

These functions are pure virtual, but not needed here. They throw an exception.

TiledFileHelper (const TiledFileHelper&)
TiledFileHelper& operator= (const TiledFileHelper&)

Forbid copy constructor and assignment.