Isis 3 Programmer Reference
History.h
1 #ifndef History_h
2 #define History_h
3 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 
11 #include "Blob.h"
12 #include "Pvl.h"
13 
14 namespace Isis {
15  class PvlObject;
38  class History {
39  public:
40  History();
41  History(Isis::Blob &blob);
42  ~History();
43 
44  void AddEntry();
45  void AddEntry(Isis::PvlObject &obj);
46  Pvl ReturnHist();
47 
48  Blob toBlob(const QString &name = "IsisCube");
49 
50  private:
52  char *p_histBuffer = nullptr;
53  int p_bufferSize = 0;
54  };
55 };
56 
57 #endif
Isis::PvlObject
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
Isis::History::p_history
Pvl p_history
History Pvl.
Definition: History.h:51
Isis::History::ReturnHist
Pvl ReturnHist()
Reads p_histBuffer into a pvl.
Definition: History.cpp:99
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::History::~History
~History()
Destructor.
Definition: History.cpp:42
Isis::History::p_histBuffer
char * p_histBuffer
Store for read in history data.
Definition: History.h:52
Isis::History::AddEntry
void AddEntry()
Adds History PvlObject.
Definition: History.cpp:52
Isis::History::toBlob
Blob toBlob(const QString &name="IsisCube")
Converts a history object into a new blob object.
Definition: History.cpp:75
Isis::History
Definition: History.h:38
Isis::History::History
History()
Default Constructor for history.
Definition: History.cpp:22
Isis::Blob
Definition: Blob.h:51
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16