Isis Developer Reference
OriginalLabel.h
Go to the documentation of this file.
1#ifndef OriginalLabel_h
2#define OriginalLabel_h
3
9/* SPDX-License-Identifier: CC0-1.0 */
10
11#include "Blob.h"
12#include "Pvl.h"
13
14namespace Isis {
36 public:
38 OriginalLabel(const QString &file);
40 OriginalLabel(Pvl pvl);
42
43 // Return the original labels
44 Pvl ReturnLabels() const;
46
47 protected:
48 // prepare data for writing
49 void WriteInit();
50
51 private:
52 // labels of original source
53 Pvl m_originalLabel;
54 void fromBlob(Isis::Blob blob);
55 };
56};
57
58#endif
Definition Blob.h:51
Read and store original labels.
Definition OriginalLabel.h:35
Isis::Blob toBlob()
Serialize the OriginalLabel data to a Blob.
Definition OriginalLabel.cpp:82
OriginalLabel()
Constructor for creating an original blob with a given name.
Definition OriginalLabel.cpp:19
Pvl ReturnLabels() const
Returns the labels in a Pvl object.
Definition OriginalLabel.cpp:97
~OriginalLabel()
Definition OriginalLabel.cpp:56
Container for cube-like labels.
Definition Pvl.h:119
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16