44 static QString
toString(
TableRecord record, QString fieldDelimiter =
",",
bool fieldNames =
false,
bool endLine =
true);
53 void Pack(
char *buf)
const;
54 void Unpack(
const char *buf);
55 void Swap(
char *buf)
const;
58 std::vector<TableField> p_fields;
Class for storing an Isis::Table's field information.
Definition TableField.h:47
Definition TableRecord.h:38
TableRecord()
Constructs an empty TableRecord object. No member variables are set.
Definition TableRecord.cpp:21
void Unpack(const char *buf)
Reads record information from the binary buffer.
Definition TableRecord.cpp:152
int RecordSize() const
Returns the number of bytes per record.
Definition TableRecord.cpp:87
int Fields() const
Returns the number of fields that are currently in the record.
Definition TableRecord.cpp:78
static QString toString(TableRecord record, QString fieldDelimiter=",", bool fieldNames=false, bool endLine=true)
Definition TableRecord.cpp:230
void Pack(char *buf) const
Writes record information into the binary buffer.
Definition TableRecord.cpp:100
~TableRecord()
Destroys the TableRecord object.
Definition TableRecord.cpp:25
void Swap(char *buf) const
Swaps bytes of the buffer, depending on the TableField::Type.
Definition TableRecord.cpp:168
void operator+=(Isis::TableField &field)
Adds a TableField to a TableRecord.
Definition TableRecord.cpp:34
TableField & operator[](const int field)
Returns the TableField at the specified location in the TableRecord.
Definition TableRecord.cpp:45
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16