![]() |
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. | |
| OriginalLabel (const QString &file) | |
| Constructor for creating an original blob with a given name and file to read labels from. | |
| OriginalLabel (Isis::Blob &blob) | |
| Constructor for creating an original label from a blob object. | |
| OriginalLabel (Pvl pvl) | |
| Constructor for creating an original blob with a given name and Pvl container. | |
| Pvl | ReturnLabels () const |
| Returns the labels in a Pvl object. | |
| Isis::Blob | toBlob () |
| Serialize the OriginalLabel data to a Blob. | |
Protected Member Functions | |
| void | WriteInit () |
Private Member Functions | |
| void | fromBlob (Isis::Blob blob) |
| Initialize the OriginalLabel from a Blob. | |
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.
2006-06-13 Brendan George - Modified to throw error when called file does not contain an Original Label
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.
2008-06-18 Steven Koechle - Fixed Documentation Errors
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.
References Isis::Pvl::setTerminator().
| 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 fromBlob().
| Isis::OriginalLabel::OriginalLabel | ( | Isis::Blob & | blob | ) |
Constructor for creating an original label from a blob object.
Definition at line 27 of file OriginalLabel.cpp.
References fromBlob().
| 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.
| Isis::OriginalLabel::~OriginalLabel | ( | ) |
Definition at line 56 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.
Referenced by OriginalLabel(), and OriginalLabel().
| 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.
|
private |
Definition at line 53 of file OriginalLabel.h.