11 #if !defined(KeywordHandler_h)
12 #define KeywordHandler_h
18 #include <QStringList>
24 #include "PvlKeyword.h"
25 #include "IException.h"
57 void init(
const QString &spec);
71 const bool &recurse =
false);
73 const bool &recurse =
false);
79 Isis::PvlKeyword
read(Isis::Pvl &pvl)
const;
80 static Isis::PvlKeyword
read(
const QString &path, Isis::Pvl &pvl);
82 #if defined(FULL_IMPLEMENTATION)
83 bool exists(
const Pvl &pvl)
const;
84 bool write(
const QStringList &values, Pvl &pvl)
const;
85 bool remove(Pvl &pvl)
const;
87 static bool exists(
const QString &path,
const Pvl &pvl,
90 static bool write(
const QString &path,
const QStringList &values, Pvl &pvl);
91 static bool remove(
const QString &path, Pvl &pvl,
92 const PvlType &ptype = Keyword);
93 static bool create(
const QString &path,
PvlType &ptype, Pvl &pvl);
102 void init(
const QString &path,
const PvlType &type);
103 QVariant
find(Isis::PvlObject &pvl)
const;
105 Isis::PvlKeyword *
getKeyword(Isis::PvlContainer *pvl,
const QString &name)
const;