23 #ifndef CubeBsqHandler_h
24 #define CubeBsqHandler_h
59 const Pvl &label,
bool alreadyOnDisk);
62 void updateLabels(
Pvl &labels);
virtual void readRaw(RawCubeChunk &chunkToFill)
This needs to populate the chunkToFill with unswapped raw bytes from the disk.
IO Handler for Isis Cubes using the BSQ format.
~CubeBsqHandler()
The destructor writes all cached data to disk.
Handles converting buffers to and from disk.
int findGoodSize(int maxSize, int dimensionSize) const
This method attempts to compute a good chunk line size.
A section of raw data on the disk.
CubeBsqHandler & operator=(const CubeBsqHandler &other)
Disallow assignments of this object.
virtual void writeRaw(const RawCubeChunk &chunkToWrite)
This needs to write the chunkToWrite directly to disk with no modifications to the data itself...
Container for cube-like labels.
CubeBsqHandler(QFile *dataFile, const QList< int > *virtualBandList, const Pvl &label, bool alreadyOnDisk)
Construct a BSQ IO handler.
BigInt getChunkStartByte(const RawCubeChunk &chunk) const
This is a helper method that goes from chunk to file position.