File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
ExportPdsTable.h
1 #ifndef ExportPdsTable_h
2 #define ExportPdsTable_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include <fstream>
11 
12 #include <QString>
13 
14 namespace 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);
64  int m_numRows;
69  int m_rowBytes;
73  QString m_pdsByteOrder;
75  };
76 }
77 #endif
Isis::ExportPdsTable
Export a PDS table from an ISIS Table.
Definition: ExportPdsTable.h:52
Isis::PvlObject
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
Isis::ExportPdsTable::m_isisTable
Table * m_isisTable
Input ISIS Table object to be exported.
Definition: ExportPdsTable.h:63
Isis::ExportPdsTable::m_rowBytes
int m_rowBytes
The number of bytes per row in the exported PDS table.
Definition: ExportPdsTable.h:69
Isis::TableRecord
Definition: TableRecord.h:38
Isis::ExportPdsTable::ExportPdsTable
ExportPdsTable(Table isisTable)
Construct an ExportPdsTable object and set default member variable values.
Definition: ExportPdsTable.cpp:38
Isis::ExportPdsTable::formatPdsTableName
QString formatPdsTableName()
Format the PDS table object name using the ISIS table name.
Definition: ExportPdsTable.cpp:205
Isis::ExportPdsTable::exportTable
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
Isis::ExportPdsTable::Pack
void Pack(TableRecord record, char *buffer, EndianSwapper *endianSwap)
Pack the buffer with data from the table record, swapping bytes if needed.
Definition: ExportPdsTable.cpp:249
Isis::Table
Class for storing Table blobs information.
Definition: Table.h:61
Isis::ExportPdsTable::~ExportPdsTable
~ExportPdsTable()
Destructs for ExportPdsTable objects.
Definition: ExportPdsTable.cpp:51
Isis::EndianSwapper
Byte swapper.
Definition: EndianSwapper.h:38
Isis::ExportPdsTable::m_pdsByteOrder
QString m_pdsByteOrder
A string indicating the byte order of the exported PDS file.
Definition: ExportPdsTable.h:73
Isis::ExportPdsTable::m_numRows
int m_numRows
The number of rows in the exported PDS table.
Definition: ExportPdsTable.h:64
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ExportPdsTable::fillMetaData
PvlObject fillMetaData()
Creates a PvlObject to be added to the PDS label with needed TABLE information.
Definition: ExportPdsTable.cpp:125
Isis::ExportPdsTable::m_outputRecordBytes
int m_outputRecordBytes
The number of bytes per record in the exported PDS file.
Definition: ExportPdsTable.h:67

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/13/2023 15:16:26