48 Blob(tableName,
"Table") {
69 Isis::
Blob(tableName,
"Table") {
88 Blob(tableName,
"Table") {
109 const Pvl &fileHeader) :
Blob(tableName,
"Table") {
111 Read(file, fileHeader);
127 for (
unsigned int i = 0; i < other.
p_recbufs.size(); i++) {
154 for (
unsigned int i = 0; i < other.
p_recbufs.size(); i++) {
188 return (
p_assoc == Table::Samples);
198 return (
p_assoc == Table::Lines);
208 return (
p_assoc == Table::Bands);
257 IString msg =
"Unable to add records to Isis Table ["
258 +
p_blobName +
"]. Bytes per record = [0 bytes].";
275 QString msg =
"Unable to add the given record with size = ["
279 "not exceed table record size.";
303 vector<char *>::iterator it =
p_recbufs.begin();
304 for (
int i = 0; i < index; i++, it++);
332 QString temp = (QString)
p_blobPvl[
"Association"];
333 temp = temp.toUpper();
334 if (temp ==
"SAMPLES")
p_assoc = Table::Samples;
335 if (temp ==
"LINES")
p_assoc = Table::Lines;
336 if (temp ==
"BANDS")
p_assoc = Table::Bands;
357 for (
int rec = 0; rec <
p_records; rec++) {
360 stream.seekg(sbyte, std::ios::beg);
361 if (!stream.good()) {
362 QString msg =
"Error preparing to read record [" +
toString(rec + 1) +
369 if (!stream.good()) {
370 QString msg =
"Error reading record [" +
toString(rec + 1) +
386 p_blobPvl[
"ByteOrder"] = Isis::ByteOrderName(Isis::Lsb);
389 p_blobPvl[
"ByteOrder"] = Isis::ByteOrderName(Isis::Msb);
412 for (
int rec = 0; rec <
Records(); rec++) {