Isis 3.0 Programmer Reference
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
}
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., an Isis cube label).
Definition:
KeywordValueBad.cpp:28
Message.h
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
ISIS Support Center
File Modified: 07/12/2023 23:21:49