IsisDlm  Version 0.2
ISISDLM::KeywordHandler Class Reference

Keyword construct handler. More...

#include <KeywordHandler.h>

List of all members.

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< PvlSpecsPvlElementList

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

Detailed Description

Keyword construct handler.

Author:
2013-06-23 Kris Becker

Member Typedef Documentation


Constructor & Destructor Documentation

ISISDLM::KeywordHandler::KeywordHandler ( const QString &  path,
const PvlType type = PvlSpecs::Keyword,
const bool &  recurse = false 
)

References init().

Here is the call graph for this function:

ISISDLM::KeywordHandler::KeywordHandler ( const std::string &  path,
const PvlType type = PvlSpecs::Keyword,
const bool &  recurse = false 
)

References init().

Here is the call graph for this function:


Member Function Documentation

QVariant ISISDLM::KeywordHandler::find ( Isis::PvlObject &  pvl) const [private]

References findElement(), m_pvlParts, m_recursive, and ISISDLM::PvlSpecs::name().

Here is the call graph for this function:

QVariant ISISDLM::KeywordHandler::findElement ( const PvlElementList plist,
const QVariant &  source 
) const [private]
PvlKeyword * ISISDLM::KeywordHandler::getKeyword ( Isis::PvlContainer *  pvl,
const QString &  name 
) const [private]

Referenced by findElement().

void ISISDLM::KeywordHandler::init ( const QString &  path,
const PvlType type 
) [private]
Isis::PvlKeyword ISISDLM::KeywordHandler::read ( Isis::Pvl &  pvl) const
static Isis::PvlKeyword ISISDLM::KeywordHandler::read ( const QString &  path,
Isis::Pvl &  pvl 
) [static]

Member Data Documentation

Referenced by init().


The documentation for this class was generated from the following files: