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;
74 std::vector<TableField> p_fields;
int RecordSize() const
Returns the number of bytes per record.
Definition: TableRecord.cpp:103
TableRecord()
Constructs an empty TableRecord object. No member variables are set.
Definition: TableRecord.cpp:37
void Unpack(const char *buf)
Reads record information from the binary buffer.
Definition: TableRecord.cpp:168
static QString toString(TableRecord record, QString fieldDelimiter=",", bool fieldNames=false, bool endLine=true)
Definition: TableRecord.cpp:246
void operator+=(Isis::TableField &field)
Adds a TableField to a TableRecord.
Definition: TableRecord.cpp:50
void Pack(char *buf) const
Writes record information into the binary buffer.
Definition: TableRecord.cpp:116
void Swap(char *buf) const
Swaps bytes of the buffer, depending on the TableField::Type.
Definition: TableRecord.cpp:184
TableField & operator[](const int field)
Returns the TableField at the specified location in the TableRecord.
Definition: TableRecord.cpp:61
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
~TableRecord()
Destroys the TableRecord object.
Definition: TableRecord.cpp:41
int Fields() const
Returns the number of fields that are currently in the record.
Definition: TableRecord.cpp:94
Class for storing an Isis::Table's field information.
Definition: TableField.h:63
Definition: TableRecord.h:54