IsisDlm  Version 0.2
ISISDLM::PvlSpecs Class Reference

Container defines a Pvl path element such as Group, Object and Keyword. More...

#include <KeywordHandler.h>

Public Types

enum  PvlType {
  Object, Group, Container, Keyword,
  None
}

Public Member Functions

 PvlSpecs ()
 PvlSpecs (const QString &spec, const PvlType &ptype)
 ~PvlSpecs ()
QString name () const
PvlType type () const
void setType (const PvlType &ptype)
bool hasQualifiers (Isis::PvlContainer &element) const

Private Member Functions

void init (const QString &spec)

Private Attributes

QString m_spec
QString m_name
PvlType m_type
QList< Isis::PvlKeyword > m_qualifiers

Detailed Description

Container defines a Pvl path element such as Group, Object and Keyword.

This container parses and/or accepts a Pvl Object, Group or keyword type specificiation.

Author
2013-06-26 Kris Becker

Member Enumeration Documentation

Enumerator:
Object 
Group 
Container 
Keyword 
None 

Constructor & Destructor Documentation

ISISDLM::PvlSpecs::PvlSpecs ( )
ISISDLM::PvlSpecs::PvlSpecs ( const QString &  spec,
const PvlType ptype 
)

References init(), and m_spec.

Here is the call graph for this function:

ISISDLM::PvlSpecs::~PvlSpecs ( )
inline

Member Function Documentation

bool ISISDLM::PvlSpecs::hasQualifiers ( Isis::PvlContainer &  element) const
void ISISDLM::PvlSpecs::init ( const QString &  spec)
private

References m_name, and m_qualifiers.

Referenced by PvlSpecs().

QString ISISDLM::PvlSpecs::name ( ) const
void ISISDLM::PvlSpecs::setType ( const PvlType ptype)

References m_type.

PvlSpecs::PvlType ISISDLM::PvlSpecs::type ( ) const

References m_type.

Referenced by ISISDLM::KeywordHandler::findElement().

Member Data Documentation

QString ISISDLM::PvlSpecs::m_name
private

Referenced by init(), and name().

QList<Isis::PvlKeyword> ISISDLM::PvlSpecs::m_qualifiers
private

Referenced by hasQualifiers(), and init().

QString ISISDLM::PvlSpecs::m_spec
private

Referenced by PvlSpecs().

PvlType ISISDLM::PvlSpecs::m_type
private

Referenced by setType(), and type().


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