File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
KeywordValueBad.cpp
1 
6 /* SPDX-License-Identifier: CC0-1.0 */
7 #include "Message.h"
8 
9 using namespace std;
10 
11 QString Isis::Message::KeywordValueBad(const QString &key) {
12  return "Keyword [" + key + "] has bad value";
13 }
14 
15 QString Isis::Message::KeywordValueBad(const QString &key, const QString &value) {
16  QString message;
17 
18  message = "Keyword [" + key + "] has bad value [";
19  if(value.size() <= 20) {
20  message += value + "]";
21  }
22  else {
23  message += value.mid(0, 20) + " ...]";
24  }
25  return message;
26 }
Isis::Message::KeywordValueBad
QString KeywordValueBad(const QString &key)
This error should be used when a supplied keyword does not appear in the list (e.g....
Definition: KeywordValueBad.cpp:11
std
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/13/2023 15:16:46