Isis 3 Developer Reference
ExportPdsTable.h
Go to the documentation of this file.
1 #ifndef ExportPdsTable_h
2 #define ExportPdsTable_h
3 
25 #include <fstream>
26 
27 #include <QString>
28 
29 namespace Isis {
30  class EndianSwapper;
31  class Pvl;
32  class PvlObject;
33  class Table;
34  class TableRecord;
68  public:
69  ExportPdsTable(Table isisTable);
71  PvlObject exportTable(char *pdsTableBuffer, int pdsFileRecordBytes,
72  QString pdsByteOrder);
73  QString formatPdsTableName();
74  static QString formatPdsTableName(QString isisTableName);
75  private:
76  void Pack(TableRecord record, char *buffer, EndianSwapper *endianSwap);
77  PvlObject fillMetaData();
78  Table *m_isisTable;
79  int m_numRows;
82  int m_outputRecordBytes;
84  int m_rowBytes;
88  QString m_pdsByteOrder;
90  };
91 }
92 #endif
~ExportPdsTable()
Destructs for ExportPdsTable objects.
Definition: ExportPdsTable.cpp:66
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:82
Byte swapper.
Definition: EndianSwapper.h:55
Class for storing Table blobs information.
Definition: Table.h:77
ExportPdsTable(Table isisTable)
Construct an ExportPdsTable object and set default member variable values.
Definition: ExportPdsTable.cpp:53
QString formatPdsTableName()
Format the PDS table object name using the Isis3 table name.
Definition: ExportPdsTable.cpp:220
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Definition: TableRecord.h:54
Export a PDS table from an Isis3 Table.
Definition: ExportPdsTable.h:67
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74