Isis 3 Programmer Reference
|
Read and store original labels. More...
#include <OriginalLabel.h>
Public Member Functions | |
OriginalLabel () | |
Constructor for creating an original blob with a given name. More... | |
OriginalLabel (const QString &file) | |
Constructor for creating an original blob with a given name and file to read labels from. More... | |
OriginalLabel (Isis::Blob &blob) | |
Constructor for creating an original label from a blob object. More... | |
OriginalLabel (Pvl pvl) | |
Constructor for creating an original blob with a given name and Pvl container. More... | |
Pvl | ReturnLabels () const |
Returns the labels in a Pvl object. More... | |
Isis::Blob | toBlob () |
Serialize the OriginalLabel data to a Blob. More... | |
Protected Member Functions | |
void | WriteInit () |
Private Member Functions | |
void | fromBlob (Isis::Blob blob) |
Initialize the OriginalLabel from a Blob. More... | |
Private Attributes | |
Pvl | m_originalLabel |
Read and store original labels.
This class provides a means to read and store the labels from the original source. The labels can be retreived in a Pvl object.
Definition at line 35 of file OriginalLabel.h.
Isis::OriginalLabel::OriginalLabel | ( | ) |
Constructor for creating an original blob with a given name.
Definition at line 19 of file OriginalLabel.cpp.
Isis::OriginalLabel::OriginalLabel | ( | const QString & | file | ) |
Constructor for creating an original blob with a given name and file to read labels from.
file | File to read labels from |
Definition at line 38 of file OriginalLabel.cpp.
References Isis::Blob::Read().
Isis::OriginalLabel::OriginalLabel | ( | Isis::Blob & | blob | ) |
Constructor for creating an original label from a blob object.
Definition at line 27 of file OriginalLabel.cpp.
Isis::OriginalLabel::OriginalLabel | ( | Pvl | pvl | ) |
Constructor for creating an original blob with a given name and Pvl container.
pvl | Pvl containing labels of the source |
Definition at line 51 of file OriginalLabel.cpp.
|
private |
Initialize the OriginalLabel from a Blob.
blob | The Blob to extract data from |
Definition at line 65 of file OriginalLabel.cpp.
References Isis::Blob::getBuffer(), and Isis::Blob::Size().
Pvl Isis::OriginalLabel::ReturnLabels | ( | ) | const |
Returns the labels in a Pvl object.
Definition at line 97 of file OriginalLabel.cpp.
Isis::Blob Isis::OriginalLabel::toBlob | ( | ) |
Serialize the OriginalLabel data to a Blob.
Definition at line 82 of file OriginalLabel.cpp.
References Isis::Blob::setData().
Referenced by Isis::Cube::write().