34 bool NaifStatus::initialized =
false;
45 SpiceChar returnAct[32] =
"RETURN";
46 SpiceChar printAct[32] =
"NONE";
47 erract_c(
"SET",
sizeof(returnAct), returnAct);
48 errprt_c(
"SET",
sizeof(printAct), printAct);
54 if(!failed_c())
return;
70 const int SHORT_DESC_LEN = 26;
71 SpiceChar naifShort[SHORT_DESC_LEN];
72 getmsg_c(
"SHORT", SHORT_DESC_LEN, naifShort);
78 const int LONG_DESC_LEN = 1841;
79 SpiceChar naifLong[LONG_DESC_LEN];
80 getmsg_c(
"LONG", LONG_DESC_LEN, naifLong);
86 PvlGroup errorDescription(
"ErrorDescription");
97 errMsg =
"An unknown NAIF error has been encountered.";
101 errMsg +=
" " + trans.
Translate(
"LongMessage");
111 errMsg +=
" The short explanation ";
112 errMsg +=
"provided by NAIF is [" + QString(naifShort) +
"]. ";
113 errMsg +=
"The Naif error is [" + QString(naifLong) +
"]";
void addGroup(const Isis::PvlGroup &group)
Add a group to the object.
void addKeyword(const PvlKeyword &keyword, const InsertMode mode=Append)
Add a keyword to the container.
Allows applications to translate simple text files.
Contains multiple PvlContainers.
#define _FILEINFO_
Macro for the filename and line number.
A single keyword-value pair.
A type of error that cannot be classified as any of the other error types.
virtual QString Translate(QString translationGroupName, int findex=0)
Returns a translated value.
Container for cube-like labels.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Namespace for ISIS/Bullet specific routines.