60 static QString toString(
TableRecord record, QString fieldDelimiter =
",",
bool fieldNames =
false,
bool endLine =
true);
69 void Pack(
char *buf)
const;
70 void Unpack(
const char *buf);
71 void Swap(
char *buf)
const;
int RecordSize() const
Returns the number of bytes per record.
TableRecord()
Constructs an empty TableRecord object. No member variables are set.
void Unpack(const char *buf)
Reads record information from the binary buffer.
void operator+=(Isis::TableField &field)
Adds a TableField to a TableRecord.
void Pack(char *buf) const
Writes record information into the binary buffer.
void Swap(char *buf) const
Swaps bytes of the buffer, depending on the TableField::Type.
TableField & operator[](const int field)
Returns the TableField at the specified location in the TableRecord.
Namespace for ISIS/Bullet specific routines.
~TableRecord()
Destroys the TableRecord object.
int Fields() const
Returns the number of fields that are currently in the record.
std::vector< TableField > p_fields
Vector of TableFields in the record.
Class for storing an Isis::Table's field information.