64 const QString &name) : _blobname(blobname),
65 _fieldname(fieldname), _name(name) {
93 const QString &fieldname,
94 const QString &name) :
96 _fieldname(fieldname),
168 " is not double or integer";
187 BlobBuf pixels(nlines, nsamps);
188 for (
int i = 0 ; i < nlines ; i++) {
190 for (
unsigned int j = 0 ; j < d.size() ; j++) {
213 BlobBuf pixels(nlines, nsamps);
214 for (
int i = 0 ; i < nlines ; i++) {
216 for (
unsigned int j = 0 ; j < d.size(); j++) {
233 if (value == NULL2)
return NULL8;
234 else if (value == LOW_REPR_SAT2)
return LOW_REPR_SAT8;
235 else if (value == LOW_INSTR_SAT2)
return LOW_INSTR_SAT8;
236 else if (value == HIGH_INSTR_SAT2)
return HIGH_INSTR_SAT8;
237 else if (value == HIGH_REPR_SAT2)
return HIGH_REPR_SAT8;
TNT::Array2D< double > BlobBuf
Internal buffer uses TNT.
double int2ToDouble(int value) const
Converts integer data to double precision.
int Records() const
Returns the number of records.
Base class for accessing ISIS blobs.
void load(const QString &filename)
Loads the contents of a BLOB from a cube file.
void loadInteger(Table &tbl)
Provides direct reading in of the field data from the BLOB.
void read(Blob &blob) const
This method will read data from the specified Blob object.
This error is for when a programmer made an API call that was illegal.
void loadDouble(Table &tbl)
Provides direct reading in of the field data from the BLOB.
QString getFieldName() const
Retreive the name of the field in the Tabel object BLOB.
#define _FILEINFO_
Macro for the filename and line number.
QString getBlobName() const
Retrieves the name of the Table object.
bool isInteger() const
Determines whether the field type is Integer.
BlobBuf _buf
Buffer holding data.
bool isDouble() const
Determines whether the field type is Double.
void open(const QString &cfile, QString access="r")
This method will open an isis cube for reading or reading/writing.
Blobber deepcopy() const
Create a unique copy of this blob.
Class for storing Table blobs information.
Blobber()
Default basic constructor that is mostly not useful.
Class for storing an Isis::Table's field information.
IO Handler for Isis Cubes.