IsisDlm  Version 0.2
ISISDLM::KeywordHandler Class Reference

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< 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 ( )
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:

ISISDLM::KeywordHandler::~KeywordHandler ( )
inline

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
void ISISDLM::KeywordHandler::setNoRecursive ( )

References m_recursive.

void ISISDLM::KeywordHandler::setRecursive ( )

References m_recursive.

Member Data Documentation

QString ISISDLM::KeywordHandler::m_path
private

Referenced by init().

PvlElementList ISISDLM::KeywordHandler::m_pvlParts
private

Referenced by find(), and init().

bool ISISDLM::KeywordHandler::m_recursive
private

Referenced by find(), setNoRecursive(), and setRecursive().


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