#include <TableRecord.h>

| Public Member Functions | |
| TableRecord () | |
| Constructs an empty TableRecord object. No member variables are set. | |
| TableRecord (std::string tableRecordStr, char fieldDelimiter, std::vector< QString > fieldNames, int numOfFieldValues) | |
| TableRecord constructor. | |
| ~TableRecord () | |
| Destroys the TableRecord object. | |
| void | operator+= (Isis::TableField &field) | 
| Adds a TableField to a TableRecord. | |
| TableField & | operator[] (const int field) | 
| Returns the TableField at the specified location in the TableRecord. | |
| TableField & | operator[] (const QString &field) | 
| Returns the TableField in the record whose name corresponds to the input string. | |
| int | Fields () const | 
| Returns the number of fields that are currently in the record. | |
| int | RecordSize () const | 
| Returns the number of bytes per record. | |
| void | Pack (char *buf) const | 
| Writes record information into the binary buffer. | |
| void | Unpack (const char *buf) | 
| Reads record information from the binary buffer. | |
| void | Swap (char *buf) const | 
| Swaps bytes of the buffer, depending on the TableField::Type. | |
| Static Public Member Functions | |
| static QString | toString (TableRecord record, QString fieldDelimiter=",", bool fieldNames=false, bool endLine=true) | 
| Isis::TableRecord::TableRecord | ( | ) | 
Constructs an empty TableRecord object. No member variables are set.
Referenced by toString().
| Isis::TableRecord::TableRecord | ( | std::string | tableRecordStr, | 
| char | fieldDelimiter, | ||
| std::vector< QString > | fieldNames, | ||
| int | numOfFieldValues ) | 
TableRecord constructor.
| tableRecordStr | Table record string | 
| fieldDelimiter | The delimiter to separate fields with | 
| fieldNames | Table header names | 
| numOfFieldValues | Number of fields (rows) | 
References Isis::TableField::Double, and operator+=().
| Isis::TableRecord::~TableRecord | ( | ) | 
Destroys the TableRecord object.
| int Isis::TableRecord::Fields | ( | ) | const | 
Returns the number of fields that are currently in the record.
Referenced by Isis::DawnVirCamera::DawnVirCamera(), Isis::SpicePosition::LoadCache(), Isis::SpiceRotation::LoadCache(), Pack(), Isis::RosettaVirtisCamera::RosettaVirtisCamera(), Swap(), Isis::Table::Table(), toString(), and Unpack().
| void Isis::TableRecord::operator+= | ( | Isis::TableField & | field | ) | 
Adds a TableField to a TableRecord.
| field | - TableField to be added to the record | 
Referenced by TableRecord().
| Isis::TableField & Isis::TableRecord::operator[] | ( | const int | field | ) | 
Returns the TableField at the specified location in the TableRecord.
| field | Index of desired field | 
| TableField & Isis::TableRecord::operator[] | ( | const QString & | field | ) | 
Returns the TableField in the record whose name corresponds to the input string.
| field | The name of desired TableField | 
| Isis::IException::Programmer | - The field does not exist in the record | 
References _FILEINFO_, Isis::IException::Programmer, and Isis::IString::UpCase().
| void Isis::TableRecord::Pack | ( | char * | buf | ) | const | 
Writes record information into the binary buffer.
| buf | Buffer to fill with binary record information. | 
| Isis::IException::Programmer | - Invalid field type | 
References _FILEINFO_, Fields(), Isis::TableField::isDouble(), Isis::TableField::isInteger(), Isis::TableField::isReal(), Isis::TableField::isText(), Isis::IException::Programmer, and Isis::TableField::size().
Referenced by Isis::Table::operator+=(), and Isis::Table::Update().
| int Isis::TableRecord::RecordSize | ( | ) | const | 
Returns the number of bytes per record.
Referenced by Isis::ExportPdsTable::exportTable(), and Isis::Table::operator+=().
| void Isis::TableRecord::Swap | ( | char * | buf | ) | const | 
Swaps bytes of the buffer, depending on the TableField::Type.
| buf | Buffer containing record values to be swapped. | 
| Isis::iException::Programmer | - Invalid field type | 
References _FILEINFO_, Isis::TableField::bytes(), Fields(), Isis::TableField::isDouble(), Isis::TableField::isInteger(), Isis::TableField::isReal(), Isis::TableField::isText(), Isis::IException::Programmer, and Isis::TableField::size().
| 
 | static | 
References Fields(), TableRecord(), Isis::TableField::toString(), and Isis::toString().
Referenced by Isis::Table::toString().
| void Isis::TableRecord::Unpack | ( | const char * | buf | ) | 
Reads record information from the binary buffer.
| buf | Buffer from which to read record field values. | 
References Isis::TableField::bytes(), and Fields().