USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::CubeBsqHandler Class Reference
[Low Level Cube I/O]

#include <CubeBsqHandler.h>

Inheritance diagram for Isis::CubeBsqHandler:

Inheritance graph
[legend]
Collaboration diagram for Isis::CubeBsqHandler:

Collaboration graph
[legend]
List of all members.

Detailed Description

I/O Handler for Isis Cubes using the BSQ format.

For internal use only.

Todo:
CubeBsqHandler doesn't have any documentation.

This class is used to open, create, read, and write data from Isis cube files.

Author:
2003-02-14 Jeff Anderson

History:
2007-09-14 Stuart Sides - Fixed bug where pixels from a buffer outside the ns/nl were being transfered to the right most and bottom most tiles
History:
2007-10-11 Stuart Sides - Fixed bug introduced with previous bug fix.
History:
2008-09-03 Steven Lambright - Fixed MSB/LSB problem with the Move(...) method

Definition at line 51 of file CubeBsqHandler.h.

Public Member Functions

 CubeBsqHandler (IsisCubeDef &cube)
 ~CubeBsqHandler ()
void Close (const bool remove=false)
void Read (Isis::Buffer &rbuf)
void Write (Isis::Buffer &wbuf)
void Create (bool overwrite)
void Open ()
void ToDouble (Isis::Buffer &buf)
void ToRaw (Isis::Buffer &buf)

Protected Attributes

IsisCubeDefp_cube
bool p_native

Private Member Functions

void GrowCache (const Isis::Buffer &buf)
InternalCacheFindCache ()
void Move (char *dest, int dindex, char *src, int sindex, int nelements)
void WriteCache (InternalCache *cache)
void WriteTile (char *buf, int tile)
void WriteBuf (char *buf, std::streampos sbyte, std::streamsize nbytes)
void MakeNullCache ()

Private Attributes

int p_tileSamples
int p_tileLines
std::vector< bool > p_tileAllocated
int p_bytesPerTile
int p_sampleTiles
int p_lineTiles
int p_maxTiles
std::vector< const Isis::Buffer * > p_bufList
std::vector< InternalCache * > p_cacheList
InternalCache p_nullCache
int p_lastCache
int p_sample
int p_line
int p_band

Classes

class  InternalCache


The documentation for this class was generated from the following files: