Isis 3 Programmer Reference
OriginalXmlLabel.h
1#ifndef OriginalXmlLabel_h
2#define OriginalXmlLabel_h
3
9/* SPDX-License-Identifier: CC0-1.0 */
10
11#include <QDomDocument>
12
13#include "Blob.h"
14#include "FileName.h"
15
16namespace Isis {
33 public:
35 OriginalXmlLabel(const QString &file);
38
39 Blob toBlob() const;
40
41 void fromBlob(Isis::Blob blob);
42 void readFromXmlFile(const FileName &xmlFileName);
43 const QDomDocument &ReturnLabels() const;
44
45 protected:
46 void ReadData(std::istream &stream);
47
48 private:
49 QDomDocument m_originalLabel;
50 };
51};
52
53#endif
File name manipulation and expansion.
Definition FileName.h:100
Read and store original Xml labels.
const QDomDocument & ReturnLabels() const
Returns the original Xml label.
void readFromXmlFile(const FileName &xmlFileName)
Read the original label from an Xml file.
QDomDocument m_originalLabel
Original Xml Label.
OriginalXmlLabel()
Constructors a default OriginalXmlLabel with an empty label.
Blob toBlob() const
Serialize the OriginalXmlLabel to a Blob.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16