Loading [MathJax]/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
KeywordValueBad.cpp
Go to the documentation of this file.
1 
24 #include "Message.h"
25 
26 using namespace std;
27 
28 QString Isis::Message::KeywordValueBad(const QString &key) {
29  return "Keyword [" + key + "] has bad value";
30 }
31 
32 QString Isis::Message::KeywordValueBad(const QString &key, const QString &value) {
33  QString message;
34 
35  message = "Keyword [" + key + "] has bad value [";
36  if(value.size() <= 20) {
37  message += value + "]";
38  }
39  else {
40  message += value.mid(0, 20) + " ...]";
41  }
42  return message;
43 }
QString KeywordValueBad(const QString &key)
This error should be used when a supplied keyword does not appear in the list (e.g., an Isis cube label).
Namespace for the standard library.

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: 07/12/2023 23:23:14