81 if (p_bufferSize > 0) ostr << std::endl;
83 string histStr = ostr.str();
84 int bytes = histStr.size();
86 int blobBufferSize = p_bufferSize+bytes;
87 char *blobBuffer =
new char[blobBufferSize];
89 const char *ptr = histStr.c_str();
90 memcpy(&blobBuffer[p_bufferSize], (
void *)ptr, bytes);
92 Blob newBlob(name,
"History");
93 newBlob.takeData(blobBuffer, blobBufferSize);
Blob toBlob(const QString &name="IsisCube")
Converts a history object into a new blob object.
char * p_histBuffer
Store for read in history data.
History()
Default Constructor for history.
Pvl ReturnHist()
Reads p_histBuffer into a pvl.