Isis 3.0 Programmer Reference
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MissingDelimiter.cpp
Go to the documentation of this file.
1
24
#include <sstream>
25
26
#include "
IString.h
"
27
#include "
Message.h
"
28
29
using namespace
std;
30
31
QString
Isis::Message::MissingDelimiter
(
char
d) {
32
return
"Missing delimiter ["
+
toString
(d) +
"]"
;
33
}
34
35
QString
Isis::Message::MissingDelimiter
(
char
d,
const
QString &near) {
36
QString message =
"Missing delimiter ["
+
toString
(d) +
"] at or near ["
;
37
38
if
(near.size() <= 20) {
39
message += near +
"]"
;
40
}
41
else
{
42
message += near.mid(0, 20) +
" ...]"
;
43
}
44
45
return
message;
46
}
IString.h
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition:
IString.cpp:226
Isis::Message::MissingDelimiter
QString MissingDelimiter(const char delimiter)
This error should be used when a delimiter is missing.
Definition:
MissingDelimiter.cpp:31
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:23:38