92 Table(
const QString &tableName);
93 Table(
const QString &tableName,
const QString &file);
94 Table(
const QString &tableName,
const QString &file,
95 const Pvl &fileHeader);
102 friend std::istream&operator>>(std::istream &is,
Table &table);
103 friend std::ostream&operator<<(std::ostream &os,
Table &table);
124 void Delete(
const int index);
129 static QString toString(
Table table, QString fieldDelimiter=
",");
133 void ReadData(std::istream &stream);
void WriteInit()
Virtual Function to prepare labels for writing.
int Records() const
Returns the number of records.
bool IsBandAssociated()
Checks to see if association is Bands.
TableRecord p_record
The current table record.
int RecordSize() const
Returns the number of bytes per record.
bool IsLineAssociated()
Checks to see if association is Lines.
void WriteData(std::fstream &os)
Virtual function to write the data.
int p_records
Holds record count read from labels, may differ from the size of p_recbufs.
~Table()
Destroys the Table object.
std::vector< char * > p_recbufs
Buffers containing record values.
Association p_assoc
Association Type of the table.
void Clear()
Clear the table of all records.
int RecordFields() const
Returns the number of fields per record.
void Delete(const int index)
Deletes a TableRecord from the Table.
Container for cube-like labels.
void Update(const TableRecord &rec, const int index)
Updates a TableRecord.
void SetAssociation(const Table::Association assoc)
Sets the association to the input parameter.
Table & operator=(const Isis::Table &other)
Sets the Table equal to the input Table object.
Class for storing Table blobs information.
void operator+=(TableRecord &rec)
Adds a TableRecord to the Table.
TableRecord & operator[](const int index)
Reads a TableRecord from the Table.
Namespace for ISIS/Bullet specific routines.
void ReadInit()
Virtual function to validate PVL table information.
bool IsSampleAssociated()
Checks to see if association is Samples.
void ReadData(std::istream &stream)
Virtual function to Read the data.
bool p_swap
Only used for reading.