Isis 3.0 Programmer Reference
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Isis 3.0 Programmer Reference
Isis 3.0 Object Documentation
Todo List
Deprecated List
History
Modules
Namespaces
Classes
Files
File List
File Members
KeywordValueNotInList.cpp
Go to the documentation of this file.
1
24
#include "
Message.h
"
25
26
using namespace
std;
27
28
QString
Isis::Message::KeywordValueNotInList
(
const
QString &key,
const
QString &value,
29
const
vector<QString> &list) {
30
QString message;
31
message =
"Keyword ["
+ key +
"="
+ value +
"] must be one of ["
;
32
for
(
unsigned
int
i = 0; i < list.size(); i++) {
33
message += list[i];
34
if
(i < (list.size() - 1)) message +=
","
;
35
}
36
message +=
"]"
;
37
38
return
message;
39
}
Isis::Message::KeywordValueNotInList
QString KeywordValueNotInList(const QString &key, const QString &value, const std::vector< QString > &list)
This error should be used when the value of a supplied keyword is not one of a specific list of possi...
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:50