File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
7 #include "NaifStatus.h"
13 #include "IException.h"
16 #include "PvlToPvlTranslationManager.h"
19 bool NaifStatus::initialized =
false;
30 SpiceChar returnAct[32] =
"RETURN";
31 SpiceChar printAct[32] =
"NONE";
32 erract_c(
"SET",
sizeof(returnAct), returnAct);
33 errprt_c(
"SET",
sizeof(printAct), printAct);
39 if(!failed_c())
return;
55 const int SHORT_DESC_LEN = 26;
56 SpiceChar naifShort[SHORT_DESC_LEN];
57 getmsg_c(
"SHORT", SHORT_DESC_LEN, naifShort);
63 const int LONG_DESC_LEN = 1841;
64 SpiceChar naifLong[LONG_DESC_LEN];
65 getmsg_c(
"LONG", LONG_DESC_LEN, naifLong);
71 PvlGroup errorDescription(
"ErrorDescription");
82 errMsg =
"An unknown NAIF error has been encountered.";
86 errMsg +=
" " + trans.
Translate(
"LongMessage");
96 errMsg +=
" The short explanation ";
97 errMsg +=
"provided by NAIF is [" + QString(naifShort) +
"]. ";
98 errMsg +=
"The Naif error is [" + QString(naifLong) +
"]";
A single keyword-value pair.
void addKeyword(const PvlKeyword &keyword, const InsertMode mode=Append)
Add a keyword to the container.
@ Unknown
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.
Allows applications to translate simple text files.
Contains multiple PvlContainers.
void addGroup(const Isis::PvlGroup &group)
Add a group to the object.
This is free and unencumbered software released into the public domain.