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);
Allows applications to translate simple text files.
Contains more than one keyword-value pair.
Container for cube-like labels.
A single keyword-value pair.
Allows applications to translate simple text files.
virtual PvlContainer * CreateContainer(const QString translationGroupName, Pvl &pvl)
Create the requsted container and any containers above it and return a reference to the container.
virtual ~PvlToPvlTranslationManager()
Destroys the TranslationManager object.
virtual PvlKeyword DoTranslation(const QString translationGroupName)
Translate the requested output name to output values using the input name and values or default value...
virtual const PvlKeyword & InputKeyword(const QString translationGroupName) const
Returns the ith input value associated with the output name argument.
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 QString Translate(QString translationGroupName, int findex=0)
Returns a translated value.
virtual bool InputHasKeyword(const QString translationGroupName)
Indicates if the input keyword corresponding to the output name exists in the label.
PvlToPvlTranslationManager(const QString &transFile)
Constructs and initializes a TranslationManager object from given the Pvl translation file.
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.