IsisDlm
Version 0.2
|
Keyword construct handler. More...
#include <KeywordHandler.h>
Public Types | |
typedef PvlSpecs::PvlType | PvlType |
Public Member Functions | |
KeywordHandler () | |
KeywordHandler (const QString &path, const PvlType &type=PvlSpecs::Keyword, const bool &recurse=false) | |
KeywordHandler (const std::string &path, const PvlType &type=PvlSpecs::Keyword, const bool &recurse=false) | |
~KeywordHandler () | |
void | setRecursive () |
void | setNoRecursive () |
Isis::PvlKeyword | read (Isis::Pvl &pvl) const |
Static Public Member Functions | |
static Isis::PvlKeyword | read (const QString &path, Isis::Pvl &pvl) |
Private Types | |
typedef QList< PvlSpecs > | PvlElementList |
Private Member Functions | |
void | init (const QString &path, const PvlType &type) |
QVariant | find (Isis::PvlObject &pvl) const |
QVariant | findElement (const PvlElementList &plist, const QVariant &source) const |
Isis::PvlKeyword * | getKeyword (Isis::PvlContainer *pvl, const QString &name) const |
Private Attributes | |
QString | m_path |
PvlElementList | m_pvlParts |
bool | m_recursive |
Keyword construct handler.
|
private |
ISISDLM::KeywordHandler::KeywordHandler | ( | ) |
ISISDLM::KeywordHandler::KeywordHandler | ( | const QString & | path, |
const PvlType & | type = PvlSpecs::Keyword , |
||
const bool & | recurse = false |
||
) |
ISISDLM::KeywordHandler::KeywordHandler | ( | const std::string & | path, |
const PvlType & | type = PvlSpecs::Keyword , |
||
const bool & | recurse = false |
||
) |
|
inline |
|
private |
References findElement(), m_pvlParts, m_recursive, and ISISDLM::PvlSpecs::name().
|
private |
References getKeyword(), ISISDLM::PvlSpecs::hasQualifiers(), ISISDLM::PvlSpecs::Keyword, ISISDLM::PvlSpecs::name(), and ISISDLM::PvlSpecs::type().
Referenced by find().
|
private |
Referenced by findElement().
|
private |
References ISISDLM::PvlSpecs::Container, m_path, and m_pvlParts.
Referenced by KeywordHandler().
Isis::PvlKeyword ISISDLM::KeywordHandler::read | ( | Isis::Pvl & | pvl | ) | const |
Referenced by ISISDLM::isis_get_key(), and ISISDLM::isis_query_key().
|
static |
void ISISDLM::KeywordHandler::setNoRecursive | ( | ) |
References m_recursive.
void ISISDLM::KeywordHandler::setRecursive | ( | ) |
References m_recursive.
|
private |
Referenced by init().
|
private |
|
private |
Referenced by find(), setNoRecursive(), and setRecursive().