|
Isis 3 Programmer Reference
|
1 #ifndef PvlToPvlTranslationManager_h
2 #define PvlToPvlTranslationManager_h
9 #include "LabelTranslationManager.h"
15 #include "PvlTokenizer.h"
72 const QString &transFile);
75 std::istream &transStrm);
81 virtual QString
Translate(QString translationGroupName,
int findex = 0);
93 void SetLabel(
Pvl &inputLabel);
A single keyword-value pair.
virtual QString Translate(QString translationGroupName, int findex=0)
Returns a translated value.
virtual PvlKeyword DoTranslation(const QString translationGroupName)
Translate the requested output name to output values using the input name and values or default value...
Container for cube-like labels.
virtual PvlContainer * CreateContainer(const QString translationGroupName, Pvl &pvl)
Create the requsted container and any containers above it and return a reference to the container.
Allows applications to translate simple text files.
PvlToPvlTranslationManager(const QString &transFile)
Constructs and initializes a TranslationManager object from given the Pvl translation file.
virtual const PvlKeyword & InputKeyword(const QString translationGroupName) const
Returns the ith input value associated with the output name argument.
virtual ~PvlToPvlTranslationManager()
Destroys the TranslationManager object.
Allows applications to translate simple text files.
Pvl p_fLabel
A Pvl object for the input label file.
virtual const PvlContainer * GetContainer(const PvlKeyword &inputGroup) const
Return a container from the input label according tund.
virtual bool InputHasKeyword(const QString translationGroupName)
Indicates if the input keyword corresponding to the output name exists in the label.
Contains more than one keyword-value pair.
void Auto(Pvl &outputLabel)
Automatically translate all the output names found in the translation table If a output name does not...
This is free and unencumbered software released into the public domain.