Isis Developer Reference
ExportPdsTable.h
Go to the documentation of this file.
1#ifndef ExportPdsTable_h
2#define ExportPdsTable_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include <fstream>
11
12#include <QString>
13
14namespace Isis {
15 class EndianSwapper;
16 class Pvl;
17 class PvlObject;
18 class Table;
19 class TableRecord;
53 public:
54 ExportPdsTable(Table isisTable);
56 PvlObject exportTable(char *pdsTableBuffer, int pdsFileRecordBytes,
57 QString pdsByteOrder);
58 QString formatPdsTableName();
59 static QString formatPdsTableName(QString isisTableName);
60 private:
61 void Pack(TableRecord record, char *buffer, EndianSwapper *endianSwap);
62 PvlObject fillMetaData();
63 Table *m_isisTable;
64 int m_numRows;
67 int m_outputRecordBytes;
69 int m_rowBytes;
73 QString m_pdsByteOrder;
75 };
76}
77#endif
Byte swapper.
Definition EndianSwapper.h:38
Export a PDS table from an ISIS Table.
Definition ExportPdsTable.h:52
~ExportPdsTable()
Destructs for ExportPdsTable objects.
Definition ExportPdsTable.cpp:51
PvlObject exportTable(char *pdsTableBuffer, int pdsFileRecordBytes, QString pdsByteOrder)
This methods fills the given buffer with the binary PDS table data and returns label information.
Definition ExportPdsTable.cpp:67
QString formatPdsTableName()
Format the PDS table object name using the ISIS table name.
Definition ExportPdsTable.cpp:205
ExportPdsTable(Table isisTable)
Construct an ExportPdsTable object and set default member variable values.
Definition ExportPdsTable.cpp:38
Contains Pvl Groups and Pvl Objects.
Definition PvlObject.h:61
Class for storing Table blobs information.
Definition Table.h:61
Definition TableRecord.h:38
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16