|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef OriginalXmlLabel_h
2 #define OriginalXmlLabel_h
11 #include <QDomDocument>
49 QDomDocument m_originalLabel;
OriginalXmlLabel()
Constructors a default OriginalXmlLabel with an empty label.
Definition: OriginalXmlLabel.cpp:23
Blob toBlob() const
Serialize the OriginalXmlLabel to a Blob.
Definition: OriginalXmlLabel.cpp:78
A single keyword-value pair.
Definition: PvlKeyword.h:82
void setData(const char *buffer, int nbytes)
Set the data stored in the BLOB.
Definition: Blob.cpp:382
bool IsLsb()
Return true if this host is an LSB first machine and false if it is not.
Definition: Endian.h:67
File name manipulation and expansion.
Definition: FileName.h:100
const QDomDocument & ReturnLabels() const
Returns the original Xml label.
Definition: OriginalXmlLabel.cpp:130
void fromBlob(Isis::Blob blob)
Definition: OriginalXmlLabel.cpp:58
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
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
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
char * getBuffer()
Get the internal data buff of the Blob.
Definition: Blob.cpp:546
PvlObject & Label()
Accessor method that returns a PvlObject containing the Blob label.
Definition: Blob.cpp:151
Read and store original Xml labels.
Definition: OriginalXmlLabel.h:32
@ Msb
Definition: Endian.h:45
Isis exception class.
Definition: IException.h:91
int Size() const
Accessor method that returns the number of bytes in the blob data.
Definition: Blob.cpp:142
void ReadData(std::istream &stream)
Namespace for the standard library.
QString ByteOrderName(Isis::ByteOrder byteOrder)
Definition: Endian.h:48
@ Lsb
Definition: Endian.h:44
void readFromXmlFile(const FileName &xmlFileName)
Read the original label from an Xml file.
Definition: OriginalXmlLabel.cpp:103
~OriginalXmlLabel()
Destructor.
Definition: OriginalXmlLabel.cpp:51
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16