File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
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 
14 namespace Isis {
35  class OriginalLabel {
36  public:
37  OriginalLabel();
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
Isis::OriginalLabel::toBlob
Isis::Blob toBlob()
Serialize the OriginalLabel data to a Blob.
Definition: OriginalLabel.cpp:82
Isis::Blob::setData
void setData(const char *buffer, int nbytes)
Set the data stored in the BLOB.
Definition: Blob.cpp:382
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::OriginalLabel::OriginalLabel
OriginalLabel()
Constructor for creating an original blob with a given name.
Definition: OriginalLabel.cpp:19
Isis::OriginalLabel::~OriginalLabel
~OriginalLabel()
Definition: OriginalLabel.cpp:56
Isis::OriginalLabel::WriteInit
void WriteInit()
OriginalLabel.h
Isis::OriginalLabel::ReturnLabels
Pvl ReturnLabels() const
Returns the labels in a Pvl object.
Definition: OriginalLabel.cpp:97
Isis::Blob::Read
void Read(const QString &file, const std::vector< PvlKeyword > keywords=std::vector< PvlKeyword >())
This method reads Pvl values from a specified file.
Definition: Blob.cpp:255
Pvl.h
Isis::Blob::getBuffer
char * getBuffer()
Get the internal data buff of the Blob.
Definition: Blob.cpp:546
Application.h
Blob.h
Isis::Blob::Size
int Size() const
Accessor method that returns the number of bytes in the blob data.
Definition: Blob.cpp:142
std
Namespace for the standard library.
Isis::OriginalLabel
Read and store original labels.
Definition: OriginalLabel.h:35
PvlObject.h
Isis::Blob
Definition: Blob.h:51
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 03/21/2022 06:51:09