File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
MissingDelimiter.cpp
1 
6 /* SPDX-License-Identifier: CC0-1.0 */
7 
8 #include <sstream>
9 
10 #include "IString.h"
11 #include "Message.h"
12 
13 using namespace std;
14 
16  return "Missing delimiter [" + toString(d) + "]";
17 }
18 
19 QString Isis::Message::MissingDelimiter(char d, const QString &near) {
20  QString message = "Missing delimiter [" + toString(d) + "] at or near [";
21 
22  if(near.size() <= 20) {
23  message += near + "]";
24  }
25  else {
26  message += near.mid(0, 20) + " ...]";
27  }
28 
29  return message;
30 }
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
std
Namespace for the standard library.
Isis::Message::MissingDelimiter
QString MissingDelimiter(const char delimiter)
This error should be used when a delimiter is missing.
Definition: MissingDelimiter.cpp:15

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:52