25 #include <QStringList> 33 m_kernelType = (
Type)0;
71 QString strng = type.simplified().trimmed().toUpper();
72 if (strng ==
"PREDICTED")
return Predicted;
73 if (strng ==
"NADIR")
return Nadir;
74 if (strng ==
"RECONSTRUCTED")
return Reconstructed;
75 if (strng ==
"SMITHED")
return Smithed;
93 const char *Kernel::typeEnum(
const Type &type) {
94 if (type == Predicted)
return "Predicted";
95 if (type == Nadir)
return "Nadir";
96 if (type == Reconstructed)
return "Reconstructed";
97 if (type == Smithed)
return "Smithed";
130 void Kernel::setType(
const Type &type) {
139 return m_kernels.size();
146 void Kernel::push_back(
const QString &str) {
147 m_kernels.push_back(str);
157 QString &Kernel::operator[](
const int index) {
158 return m_kernels[index];
169 QString Kernel::operator[](
const int index)
const {
170 return m_kernels[index];
181 bool Kernel::operator<(
const Kernel &other)
const {
Namespace for the standard library.
This class stores Kernel information, including Type and kernel file names.
Type
Enumeration for type of kernel.
Namespace for ISIS/Bullet specific routines.
Type m_kernelType
Enumeration value indicating the kernel type.