1 #ifndef PvlTranslationTable_h
2 #define PvlTranslationTable_h
146 QString
Translate(
const QString nName,
const QString fValue =
"")
const;
149 void AddTable(std::istream &transStm);
150 void AddTable(
const QString &transFile);
153 Pvl &TranslationTable() {
156 const Pvl &TranslationTable()
const {
160 bool IsAuto(
const QString nName);
161 bool IsOptional(
const QString nName);
162 PvlKeyword &OutputPosition(
const QString nName);
163 QString OutputName(
const QString nName);
PvlKeyword InputGroup(const QString nName, const int inst=0) const
Returns the input group name from the translation table corresponding to the output name argument...
~PvlTranslationTable()
Destroys the PvlTranslationTable object.
File name manipulation and expansion.
QString Translate(const QString nName, const QString fValue="") const
Translates the output name and input value.
PvlTranslationTable()
Construct an empty PvlTranslationTable.
QString InputDefault(const QString nName) const
Returns the input default value from the translation table corresponding to the output name argument...
void AddTable(std::istream &transStm)
Adds the contents of a translation table to the searchable groups/keys Also performs a verification...
QString InputKeywordName(const QString nName) const
Returns the input keyword name from the translation table corresponding to the output name argument...
A single keyword-value pair.
Container for cube-like labels.
Internalizes a translation table.