Isis Developer Reference
History.h
Go to the documentation of this file.
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
14namespace 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);
47
48 Blob toBlob(const QString &name = "IsisCube");
49
50 private:
51 Pvl p_history;
52 char *p_histBuffer = nullptr;
53 int p_bufferSize = 0;
54 };
55};
56
57#endif
Definition Blob.h:51
Definition History.h:38
Blob toBlob(const QString &name="IsisCube")
Converts a history object into a new blob object.
Definition History.cpp:79
History()
Default Constructor for history.
Definition History.cpp:22
Pvl ReturnHist()
Reads p_histBuffer into a pvl.
Definition History.cpp:103
void AddEntry()
Adds History PvlObject.
Definition History.cpp:56
~History()
Destructor.
Definition History.cpp:46
Container for cube-like labels.
Definition Pvl.h:119
Contains Pvl Groups and Pvl Objects.
Definition PvlObject.h:61
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16