Isis 3 Programmer Reference
Message.h
Go to the documentation of this file.
1 
24 #ifndef Message_h
25 #define Message_h
26 
27 #include <QString>
28 #include <vector>
29 
30 namespace Isis {
31  /* Documentation for this namespace is in:
32  * isis/src/docsys/Object/build/isisDoxyDefs.doxydef
33  * @internal
34  * @history 2016-08-28 Kelvin Rodriguez - Moved 'using namespace' to be properly defined
35  * after the includes for every cpp file in the message folder.
36  * Part of porting to OS X 10.11.
37  */
38  namespace Message {
48  QString ArraySubscriptNotInRange(int index);
49 
60  QString KeywordAmbiguous(const QString &key);
61 
71  QString KeywordUnrecognized(const QString &key);
72 
82  QString KeywordDuplicated(const QString &key);
83 
93  QString KeywordNotArray(const QString &key);
94 
104  QString KeywordNotFound(const QString &key);
105 
114  QString KeywordBlockInvalid(const QString &block);
115 
125  QString KeywordBlockStartMissing(const QString &block, const QString &found);
126 
136  QString KeywordBlockEndMissing(const QString &block, const QString &found);
137 
147  QString KeywordValueBad(const QString &key);
148 
159  QString KeywordValueBad(const QString &key, const QString &value);
160 
170  QString KeywordValueExpected(const QString &key);
171 
184  QString KeywordValueNotInRange(const QString &key, const QString &value,
185  const QString &range);
186 
198  QString KeywordValueNotInList(const QString &key, const QString &value,
199  const std::vector<QString> &list);
200 
209  QString MissingDelimiter(const char delimiter);
210 
220  QString MissingDelimiter(const char delimiter, const QString &near);
221 
230  QString FileOpen(const QString &filename);
231 
240  QString FileCreate(const QString &filename);
241 
250  QString FileRead(const QString &filename);
251 
260  QString FileWrite(const QString &filename);
261 
269  QString MemoryAllocationFailed();
270  }
271 }
272 
273 #endif
QString FileCreate(const QString &filename)
This error should be used when a file could not be created.
Definition: FileCreate.cpp:28
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).
QString KeywordNotArray(const QString &key)
This error should be used when a supplied keyword is being used as an array (i.e., with a subscript) but is only a scaler entity.
QString KeywordBlockStartMissing(const QString &block, const QString &found)
This error has been deprecated and should not be used in new code.
QString FileWrite(const QString &filename)
This error should be used when an error accrues during a write to a file.
Definition: FileWrite.cpp:28
QString KeywordValueNotInRange(const QString &key, const QString &value, const QString &range)
This error should be used when the value of a supplied keyword is not within a specific range...
QString KeywordDuplicated(const QString &key)
This error should be used when a supplied keyword for an Isis application parameter is the same as on...
QString KeywordBlockInvalid(const QString &block)
This error has been deprecated and should not be used in new code.
QString KeywordBlockEndMissing(const QString &block, const QString &found)
This error has been deprecated and should not be used in new code.
QString KeywordUnrecognized(const QString &key)
This error should be used when a supplied keyword for an Isis application parameter does not match an...
QString FileRead(const QString &filename)
This error should be used when an error accrues during a read of a file.
Definition: FileRead.cpp:28
QString MemoryAllocationFailed()
This error should be used when an error accrues during a memory allocation such as "new"...
QString KeywordValueExpected(const QString &key)
This error should be used when the value of a supplied keyword was expected but not present...
QString ArraySubscriptNotInRange(int index)
This error should be used when an Isis object or application is checking array bounds and the legal r...
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...
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
QString FileOpen(const QString &filename)
This error should be used when a file could not be opened.
Definition: FileOpen.cpp:28
QString MissingDelimiter(const char delimiter)
This error should be used when a delimiter is missing.
QString KeywordNotFound(const QString &key)
This error should be used when a supplied keyword is not defined in the application.
QString KeywordAmbiguous(const QString &key)
This error should be used when a supplied keyword for an Isis application parameter does not contain ...