Isis 3 Programmer Reference
|
#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 | ( | ) |
Default Constructor for history.
Definition at line 22 of file History.cpp.
References p_history, and Isis::Pvl::setTerminator().
Isis::History::History | ( | Isis::Blob & | blob | ) |
Constructor for reading a blob.
blob |
Definition at line 31 of file History.cpp.
References p_histBuffer, p_history, and Isis::Pvl::setTerminator().
Isis::History::~History | ( | ) |
void Isis::History::AddEntry | ( | ) |
Definition at line 56 of file History.cpp.
References AddEntry(), and Isis::Application::History().
Referenced by AddEntry(), and Isis::Process::WriteHistory().
void Isis::History::AddEntry | ( | Isis::PvlObject & | obj | ) |
Adds given PvlObject to History Pvl.
obj | PvlObject to be added |
Definition at line 67 of file History.cpp.
References Isis::PvlObject::addObject(), and p_history.
Pvl Isis::History::ReturnHist | ( | ) |
Reads p_histBuffer into a pvl.
Definition at line 103 of file History.cpp.
References Isis::PvlObject::object(), Isis::PvlObject::objects(), 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, and p_history.
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().