#include <History.h>

Public Member Functions | |
| History () | |
| Default Constructor for history. | |
| History (Isis::Blob &blob) | |
| Constructor for reading a blob. | |
| ~History () | |
| Destructor. | |
| void | AddEntry () |
| Adds History PvlObject. | |
| void | AddEntry (Isis::PvlObject &obj) |
| Adds given PvlObject to History Pvl. | |
| Pvl | ReturnHist () |
| Reads p_histBuffer into a pvl. | |
| Blob | toBlob (const QString &name="IsisCube") |
| Converts a history object into a new blob object. | |
Private Attributes | |
| Pvl | p_history |
| History Pvl. | |
| char * | p_histBuffer = nullptr |
| Store for read in history data. | |
| int | p_bufferSize = 0 |
2006-12-11 Kris Becker Fixed bug in WriteInit method using a temporary string to reference a char pointer to its contents. The string remain after the reference or its toast.
2011-08-19 Jeannie Backer - Modified unitTest to use $temporary variable instead of /tmp directory. Added some documentation to methods.
2012-10-04 Jeannie Backer - Replaced if! defined with ifndef. Added forward declaration for PvlObject and include for Pvl since the include for Pvl was removed from Blob.h. Added padding to control statements. References #1169
2021-03-05 Adam Paquette - Refactored History to no longer be a child class of a blob for a cleaner definition of responsabilities for the object
| Isis::History::History | ( | ) |
| Isis::History::History | ( | Isis::Blob & | blob | ) |
Constructor for reading a blob.
| blob |
Definition at line 31 of file History.cpp.
References Isis::Blob::getBuffer(), p_histBuffer, p_history, and Isis::Blob::Size().
| Isis::History::~History | ( | ) |
| void Isis::History::AddEntry | ( | ) |
Definition at line 56 of file History.cpp.
References AddEntry().
Referenced by AddEntry(), and Isis::Process::WriteHistory().
| void Isis::History::AddEntry | ( | Isis::PvlObject & | obj | ) |
| Pvl Isis::History::ReturnHist | ( | ) |
Reads p_histBuffer into a pvl.
Definition at line 103 of file History.cpp.
References p_histBuffer, and p_history.
| Blob Isis::History::toBlob | ( | const QString & | name = "IsisCube" | ) |
Converts a history object into a new blob object.
| name | Name of the History object to create |
Definition at line 79 of file History.cpp.
References p_histBuffer, p_history, and Isis::Blob::takeData().
Referenced by Isis::Cube::write().
|
private |
Store for read in history data.
Definition at line 52 of file History.h.
Referenced by History(), ReturnHist(), toBlob(), and ~History().
|
private |
Definition at line 51 of file History.h.
Referenced by AddEntry(), History(), History(), ReturnHist(), and toBlob().