57 t = t.remove(QRegExp(
"[\\w_-\"'")).toUpper();
59 if(t ==
"STRING")
return StringKeyword;
60 else if(t ==
"BOOL")
return BoolKeyword;
61 else if(t ==
"INTEGER")
return IntegerKeyword;
62 else if(t ==
"REAL")
return RealKeyword;
63 else if(t ==
"OCTAL")
return OctalKeyword;
64 else if(t ==
"HEX")
return HexKeyword;
65 else if(t ==
"BINARY")
return BinaryKeyword;
66 else if(t ==
"ENUM")
return EnumKeyword;
133 void add(
const QString &file);
134 void add(
Pvl &keymap);
158 virtual QString formatValue(
const PvlKeyword &keyword,
160 virtual QString formatName(
const PvlKeyword &keyword);
161 virtual QString formatEnd(
const QString name,
163 virtual QString formatEOL() {
167 virtual KeywordType type(
const PvlKeyword &keyword);
168 virtual int accuracy(
const PvlKeyword &keyword);
172 virtual QString addQuotes(
const QString value);
175 QString m_keywordMapFile;
KeywordType toKeywordType(const QString type)
Convert a string representing a type of keyword to the corresponding enumeration. ...
A single keyword-value pair.
Container for cube-like labels.
KeywordType
The different types of keywords that can be formatted.
Namespace for ISIS/Bullet specific routines.