USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::PvlContainer Class Reference

Contains more than one keyword-value pair. More...

#include <PvlContainer.h>

Inheritance diagram for Isis::PvlContainer:
Inheritance graph
Collaboration diagram for Isis::PvlContainer:
Collaboration graph

Public Types

enum  InsertMode { Append, Replace }
 Contains both modes: Append or Replace. More...
 
typedef QList< PvlKeyword >
::iterator 
PvlKeywordIterator
 The keyword iterator.
 
typedef QList< PvlKeyword >
::const_iterator 
ConstPvlKeywordIterator
 The const keyword iterator.
 

Public Member Functions

 PvlContainer (const QString &type)
 Constructs a PvlContainer object with a type.
 
 PvlContainer (const QString &type, const QString &name)
 Constructs a PvlContainer object with a keyword name and a container name.
 
 PvlContainer (const PvlContainer &other)
 
void setName (const QString &name)
 Set the name of the container.
 
QString name () const
 Returns the container name.
 
bool isNamed (const QString &match) const
 Returns whether the given string is equal to the container name or not.
 
QString type () const
 Returns the container type.
 
int keywords () const
 Returns the number of keywords contained in the PvlContainer.
 
void clear ()
 Clears PvlKeywords.
 
void addKeyword (const PvlKeyword &keyword, const InsertMode mode=Append)
 Add a keyword to the container.
 
void operator+= (const PvlKeyword &keyword)
 When you use the += operator with a PvlKeyword, it will call the addKeyword() method.
 
PvlKeywordfindKeyword (const QString &name)
 Find a keyword with a specified name.
 
PvlKeywordoperator[] (const QString &name)
 When you use the [] operator with a (string) name, it will call the findKeyword() method.
 
PvlKeywordoperator[] (const int index)
 Return the PvlKeyword object at the specified index.
 
PvlKeywordoperator[] (const char *name)
 When you use the [] operator with a (char) name, it will call the findKeyword() method.
 
const PvlKeywordfindKeyword (const QString &name) const
 Find a keyword with a specified name.
 
const PvlKeywordoperator[] (const QString &name) const
 When you use the [] operator with a (string) name, it will call the findKeyword() method.
 
const PvlKeywordoperator[] (const int index) const
 Return the PvlKeyword object at the specified index.
 
PvlKeyword operator[] (const char *name) const
 When you use the [] operator with a (char) name, it will call the findKeyword() method.
 
bool hasKeyword (const QString &name) const
 Check to see if a keyword exists.
 
PvlKeywordIterator findKeyword (const QString &name, PvlKeywordIterator beg, PvlKeywordIterator end)
 Find the index of a keyword, using iterators.
 
ConstPvlKeywordIterator findKeyword (const QString &name, ConstPvlKeywordIterator beg, ConstPvlKeywordIterator end) const
 Find the index of a keyword, using iterators.
 
PvlKeywordIterator addKeyword (const PvlKeyword &keyword, PvlKeywordIterator pos)
 Insert a keyword at the specified iterator position.
 
PvlKeywordIterator begin ()
 Return the beginning iterator.
 
ConstPvlKeywordIterator begin () const
 Return the const beginning iterator.
 
PvlKeywordIterator end ()
 Return the ending iterator.
 
ConstPvlKeywordIterator end () const
 Return the const ending iterator.
 
void deleteKeyword (const QString &name)
 Remove a specified keyword.
 
void deleteKeyword (const int index)
 Remove the specified keyword.
 
bool cleanDuplicateKeywords ()
 Removes keywords from the container that have BOTH the same name and value.
 
void operator-= (const QString &name)
 When you use the -= operator with a (string) name, it will call the deleteKeyword() method.
 
void operator-= (const PvlKeyword &key)
 When you use the -= operator with a PvlKeyword object, it will call the deleteKeyword() method.
 
QString fileName () const
 Returns the filename used to initialise the Pvl object.
 
void setFormatTemplate (PvlContainer &ref)
 
bool hasFormatTemplate ()
 
PvlContainerformatTemplate ()
 
PvlFormatformat ()
 
void setFormat (PvlFormat *format)
 
int indent ()
 
void setIndent (int indent)
 
int comments () const
 
QString comment (const int index) const
 
void addComment (const QString &comment)
 
PvlKeywordnameKeyword ()
 
const PvlKeywordnameKeyword () const
 
const PvlContaineroperator= (const PvlContainer &other)
 This is an assignment operator.
 

Protected Member Functions

void init ()
 Sets the filename to blank.
 
void setFileName (const QString &filename)
 Sets the filename to the specified string.
 
void validateAllKeywords (PvlContainer &pPvlCont)
 Validate All the Keywords in a Container comparing with the Template.
 
void validateRepeatOption (PvlKeyword &pPvlTmplKwrd, PvlContainer &pPvlCont)
 Validate the Repeat Option for a Keyword.
 

Protected Attributes

QString m_filename
 
               This contains the filename

used to initialize the pvl object.

 
PvlKeyword m_name
 This is the name keyword.
 
QList< PvlKeywordm_keywords
 This is the vector of PvlKeywords the container is holding.
 
PvlContainerm_formatTemplate
 

Detailed Description

Contains more than one keyword-value pair.

This is the container for PvlKeywords. It holds information about more than one set of PvlKeywords.

Author
2002-10-11 Jeff Anderson
History:

2005-04-04 Leah Dahmer wrote class documentation.

2006-04-21 Jacob Danton Added format templates abilities.

2006-05-17 Jacob Danton Added DeleteKeyword by index method

2006-09-11 Stuart Sides Added formatting ability

2008-07-02 Steven Lambright Added const functionality

2008-07-10 Steven Lambright PvlContainer is no longer a PvlKeyword, but rather has a set of pvl keywords

2008-09-30 Christopher Austin Replaced all std::endl in the << operator with PvlFormat.FormatEOL()

2008-10-30 Steven Lambright Moved Find methods' implementations to the cpp file from the header file, added <algorithm> include, problem pointed out by "novas0x2a" (Support Forum Member)

2009-06-01 Kris Becker - Added a new AddKeyword method that provides insert capabilities at iterator positions.

2010-01-06 Christopher Austin - Added CleanDuplicateKeywords()

2010-04-13 Eric Hyer - Added Copy constructor

  • Added Assignment operator

2010-09-27 Sharmila Prasad - Validate all the Keywords in a Container and verify the 'Repeat' Option also

2010-10-18 Sharmila Prasad - Added more options for the keyword validation

2013-03-11 Steven Lambright and Mathew Eis - Brought method names and member variable names up to the current Isis 3 coding standards. Fixes #1533.

Definition at line 64 of file PvlContainer.h.

Member Typedef Documentation

The const keyword iterator.

Definition at line 175 of file PvlContainer.h.

The keyword iterator.

Definition at line 172 of file PvlContainer.h.

Member Enumeration Documentation

Contains both modes: Append or Replace.

Definition at line 110 of file PvlContainer.h.

Constructor & Destructor Documentation

Isis::PvlContainer::PvlContainer ( const QString &  type)

Constructs a PvlContainer object with a type.

Parameters
typeThe type of the container.

Definition at line 42 of file PvlContainer.cpp.

Isis::PvlContainer::PvlContainer ( const QString &  type,
const QString &  name 
)

Constructs a PvlContainer object with a keyword name and a container name.

Parameters
typeThe type of container.
nameThe name of the container.

Definition at line 53 of file PvlContainer.cpp.

Member Function Documentation

void Isis::PvlContainer::addKeyword ( const PvlKeyword keyword,
const InsertMode  mode = Append 
)

Add a keyword to the container.

Add a keyword to the PvlContainer object.

Parameters
keywordThe PvlKeyword object to append.
modeUsing the InsertMode value of Append.
keyThe PvlKeyword object to add.
modeThe enum InsertMode has two possible values, Append or Replace. Use Append if you just want to add it to the end, Replace if you want to replace it.

Definition at line 218 of file PvlContainer.cpp.

References Isis::PvlKeyword::name().

Referenced by Isis::ControlNetDiff::addUniqueMeasure(), Isis::ControlNetDiff::addUniquePoint(), Isis::NaifStatus::CheckErrors(), Isis::ControlNetDiff::compare(), Isis::ControlNetDiff::compareGroups(), Isis::ControlNetVersioner::ConvertVersion1ToVersion2(), Isis::CameraFactory::Create(), Isis::ProjectionFactory::CreateForCube(), Isis::ControlNetDiff::diff(), Isis::ProcessImportFits::extractFitsLabels(), Isis::ExportPdsTable::fillMetaData(), Isis::Application::GetEnviromentInfo(), Isis::CameraPointInfo::GetPointInfo(), Isis::Application::GetUnameInfo(), operator+=(), Isis::operator<<(), Isis::operator>>(), Isis::LimitPolygonSeeder::PluginParameters(), Isis::StripPolygonSeeder::PluginParameters(), Isis::GridPolygonSeeder::PluginParameters(), Isis::PolygonSeeder::PluginParameters(), Isis::ProjectionFactory::RingsCreateForCube(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::Projection::SetUpperLeftCorner(), Isis::SubArea::UpdateLabel(), Isis::CubeTileHandler::updateLabels(), Isis::CubeBsqHandler::updateLabels(), and Isis::ControlNetFileV0002::Write().

PvlContainer::PvlKeywordIterator Isis::PvlContainer::addKeyword ( const PvlKeyword keyword,
PvlKeywordIterator  pos 
)

Insert a keyword at the specified iterator position.

This method provides the capability to insert a keyword at the specified iterator position. The process follows the description of the STL vector definition along with all the caveats (e.g., invalidation of iterators upon insert operations).

This method will not perform any checks for the existance of the keyword. This could lead to multiple instances of the same keyword in the same container. It is up to the caller to manage this issue.

Parameters
keyKeyword to insert
posIterator position where to insert the new keyword
Returns
PvlContainer::PvlKeywordIterator Returns the position of the inserted keyword per the STL vector documentation.

Definition at line 249 of file PvlContainer.cpp.

PvlKeywordIterator Isis::PvlContainer::begin ( )
inline

Return the beginning iterator.

Returns
The beginning iterator.

Definition at line 193 of file PvlContainer.h.

References m_keywords.

Referenced by Isis::PvlObject::findKeyword(), Isis::PvlObject::hasKeyword(), Isis::PvlTranslationTable::InputGroup(), Isis::DbProfile::loadkeys(), and Isis::PvlTranslationTable::Translate().

ConstPvlKeywordIterator Isis::PvlContainer::begin ( ) const
inline

Return the const beginning iterator.

Returns
The const beginning iterator.

Definition at line 201 of file PvlContainer.h.

References m_keywords.

bool Isis::PvlContainer::cleanDuplicateKeywords ( )

Removes keywords from the container that have BOTH the same name and value.

Returns
bool True if one or more keywords were deleted; False if no keywords were deleted.

Definition at line 152 of file PvlContainer.cpp.

void Isis::PvlContainer::clear ( )
inline

Clears PvlKeywords.

Definition at line 106 of file PvlContainer.h.

References m_keywords.

Referenced by Isis::PvlObject::clear().

void Isis::PvlContainer::deleteKeyword ( const int  index)

Remove the specified keyword.

Parameters
indexThe index of the keyword to remove.
Exceptions
iException::PvlKeyword doesn't exist.

Definition at line 131 of file PvlContainer.cpp.

References _FILEINFO_.

PvlKeywordIterator Isis::PvlContainer::end ( )
inline

Return the ending iterator.

Returns
The ending iterator.

Definition at line 209 of file PvlContainer.h.

References m_keywords.

Referenced by Isis::PvlObject::findKeyword(), Isis::PvlObject::hasKeyword(), Isis::PvlTranslationTable::InputGroup(), Isis::DbProfile::loadkeys(), and Isis::PvlTranslationTable::Translate().

ConstPvlKeywordIterator Isis::PvlContainer::end ( ) const
inline

Return the const ending iterator.

Returns
The const ending iterator.

Definition at line 217 of file PvlContainer.h.

References m_keywords.

const Isis::PvlKeyword & Isis::PvlContainer::findKeyword ( const QString &  name) const

Find a keyword with a specified name.

Parameters
nameThe name of the keyword to look for.
Returns
The PvlKeyword object.
Exceptions
IExceptionThe keyword doesn't exist.

Definition at line 96 of file PvlContainer.cpp.

References _FILEINFO_.

PvlContainer::PvlKeywordIterator Isis::PvlContainer::findKeyword ( const QString &  name,
PvlContainer::PvlKeywordIterator  beg,
PvlContainer::PvlKeywordIterator  end 
)

Find the index of a keyword, using iterators.

Parameters
nameThe name of the keyword.
begThe beginning iterator.
endThe ending iterator.
Returns
The keyword index.

Definition at line 367 of file PvlContainer.cpp.

PvlContainer::ConstPvlKeywordIterator Isis::PvlContainer::findKeyword ( const QString &  name,
PvlContainer::ConstPvlKeywordIterator  beg,
PvlContainer::ConstPvlKeywordIterator  end 
) const

Find the index of a keyword, using iterators.

Parameters
nameThe name of the keyword.
begThe beginning iterator.
endThe ending iterator.
Returns
The keyword index.

Definition at line 382 of file PvlContainer.cpp.

bool Isis::PvlContainer::hasKeyword ( const QString &  name) const

Check to see if a keyword exists.

Parameters
nameThe name of the keyword to check for.
Returns
True if the keyword exists, false if it doesn't.

Definition at line 175 of file PvlContainer.cpp.

Referenced by Isis::Latitude::add(), Isis::ProjectionConfigDialog::addMissingKeywords(), Isis::PvlTranslationTable::AddTable(), Isis::AlbedoAtm::AlbedoAtm(), Isis::AtmosModel::AtmosModel(), Isis::Camera::Camera(), IsisAml::CommandLine(), Isis::ControlNetDiff::compareGroups(), Isis::ControlNetVersioner::ConvertVersion1ToVersion2(), Isis::ControlNetVersioner::Copy(), Isis::CameraFactory::Create(), Isis::AtmosModelFactory::Create(), Isis::PhotoModelFactory::Create(), Isis::NormModelFactory::Create(), Isis::ControlNetFilter::CubeConvexHullFilter(), Isis::ControlNetFilter::CubeDistanceFilter(), Isis::ControlNetFilter::CubeNameExpressionFilter(), Isis::ControlNetFilter::CubeNumPointsFilter(), Isis::DemShape::DemShape(), Isis::PvlTranslationManager::DoTranslation(), Isis::SpectralPlotWindow::drawBandMarkers(), Isis::Equirectangular::Equirectangular(), Isis::ProcessImportFits::extractFitsLabels(), Isis::KernelDb::findAll(), Isis::Kernels::findKernels(), Isis::FeatureNomenclatureTool::findMissingNomenclature(), Isis::CubeViewport::getBandFilterName(), Isis::Kernels::getCameraVersion(), Isis::SpectralPlotTool::getSpectralStatistics(), Isis::UniversalGroundMap::GroundRange(), Isis::Camera::GroundRange(), Isis::Spice::hasKernels(), Isis::HiLab::HiLab(), Isis::IdealCamera::IdealCamera(), Isis::Spice::init(), Isis::DatabaseFactory::initPreferences(), Isis::PvlTranslationTable::InputDefault(), Isis::PvlTranslationManager::InputHasKeyword(), Isis::PvlTranslationManager::InputKeyword(), Isis::PvlTranslationTable::InputKeywordName(), Isis::LambertConformal::LambertConformal(), Isis::ControlNetVersioner::LatestPvlToBinary(), Isis::Latitude::Latitude(), Isis::LoMediumCamera::LoMediumCamera(), Isis::RingPlaneProjection::Mapping(), Isis::TProjection::Mapping(), Isis::ProcessMosaic::MatchBandBinGroup(), Isis::ProcessMosaic::MatchDEMShapeModel(), Isis::KernelDb::matches(), Isis::Mercator::Mercator(), Isis::NaifDskShape::NaifDskShape(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::operator<<(), Isis::Orthographic::Orthographic(), Isis::LimitPolygonSeeder::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::StripPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::AutoReg::Parse(), Isis::PhotoModel::PhotoModel(), Isis::Planar::Planar(), Isis::ControlNetFilter::PointDistanceFilter(), Isis::ControlNetFilter::PointEditLockFilter(), Isis::ControlNetFilter::PointGoodnessOfFitFilter(), Isis::ControlNetFilter::PointLatLonFilter(), Isis::ControlNetFilter::PointMeasurePropertiesFilter(), Isis::ControlNetFilter::PointMeasuresFilter(), Isis::ControlNetFilter::PointNumMeasuresEditLockFilter(), Isis::PointPerspective::PointPerspective(), Isis::ControlNetFilter::PointPixelShiftFilter(), Isis::ControlNetFilter::PointPropertiesFilter(), Isis::ControlNetFilter::PointResMagnitudeFilter(), Isis::PolarStereographic::PolarStereographic(), Isis::Projection::Projection(), Isis::ControlNetVersioner::ReadBinaryNetwork(), Isis::MocLabels::ReadLabels(), Isis::AutoReg::RegTemplate(), Isis::RingCylindrical::RingCylindrical(), Isis::RingPlaneProjection::RingPlaneProjection(), Isis::Camera::ringRange(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::Robinson::Robinson(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::ProcessImportFits::setProcessFileStructure(), Isis::SimpleCylindrical::SimpleCylindrical(), Isis::Sinusoidal::Sinusoidal(), Isis::ProcessImportFits::standardInstrumentGroup(), Isis::Target::Target(), Isis::TProjection::TargetRadii(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::ControlNetFileV0002::toPvl(), Isis::IException::toString(), Isis::TProjection::TProjection(), Isis::PvlTranslationManager::Translate(), Isis::PvlTranslationTable::Translate(), Isis::ProcessImportPds::TranslateIsis2Instrument(), Isis::TransverseMercator::TransverseMercator(), Isis::SubArea::UpdateLabel(), Isis::SpectralPlotTool::updateTool(), Isis::TiffImporter::upperLeftXY(), validateAllKeywords(), Isis::PvlObject::validateObject(), and Isis::Pvl::validatePvl().

void Isis::PvlContainer::init ( )
protected

Sets the filename to blank.

Definition at line 67 of file PvlContainer.cpp.

bool Isis::PvlContainer::isNamed ( const QString &  match) const
inline

Returns whether the given string is equal to the container name or not.

Parameters
matchThe string to compare to the name.
Returns
True if the name and string are the same, false if they are not.

Definition at line 87 of file PvlContainer.h.

References m_name, and Isis::PvlKeyword::stringEqual().

Referenced by Isis::FileTool::copyCubeDetails(), Isis::Blob::Find(), Isis::KernelDb::findAll(), Isis::Cube::hasTable(), Isis::IsBlob(), Isis::Image::isFootprintable(), Isis::UserInterface::loadHistory(), Isis::KernelDb::loadKernelDbFiles(), Isis::Table::ReadInit(), Isis::Process::SetOutputCube(), Isis::Gui::UpdateHistory(), and Isis::Process::WriteHistory().

void Isis::PvlContainer::operator+= ( const PvlKeyword keyword)
inline

When you use the += operator with a PvlKeyword, it will call the addKeyword() method.

Parameters
keywordThe PvlKeyword to be added.

Definition at line 125 of file PvlContainer.h.

References addKeyword().

void Isis::PvlContainer::operator-= ( const QString &  name)
inline

When you use the -= operator with a (string) name, it will call the deleteKeyword() method.

Parameters
nameThe name of the keyword to remove.

Definition at line 231 of file PvlContainer.h.

References deleteKeyword().

void Isis::PvlContainer::operator-= ( const PvlKeyword key)
inline

When you use the -= operator with a PvlKeyword object, it will call the deleteKeyword() method.

Parameters
keyThe PvlKeyword object to remove.

Definition at line 239 of file PvlContainer.h.

References deleteKeyword(), and Isis::PvlKeyword::name().

const PvlContainer & Isis::PvlContainer::operator= ( const PvlContainer other)

This is an assignment operator.

Definition at line 391 of file PvlContainer.cpp.

References m_filename, m_keywords, and m_name.

Referenced by Isis::PvlGroup::operator=(), and Isis::PvlObject::operator=().

PvlKeyword& Isis::PvlContainer::operator[] ( const QString &  name)
inline

When you use the [] operator with a (string) name, it will call the findKeyword() method.

Parameters
nameThe name of the keyword to find.

Definition at line 135 of file PvlContainer.h.

References findKeyword().

Referenced by operator[]().

PvlKeyword & Isis::PvlContainer::operator[] ( const int  index)

Return the PvlKeyword object at the specified index.

Parameters
indexThe index to use.
Returns
The PvlKeyword at the specified index.
Exceptions
iException::MessageThe index is out of bounds.

Definition at line 188 of file PvlContainer.cpp.

References _FILEINFO_, and Isis::Message::ArraySubscriptNotInRange().

PvlKeyword& Isis::PvlContainer::operator[] ( const char *  name)
inline

When you use the [] operator with a (char) name, it will call the findKeyword() method.

Parameters
nameThe name of the keyword to find.

Definition at line 145 of file PvlContainer.h.

References operator[]().

const PvlKeyword& Isis::PvlContainer::operator[] ( const QString &  name) const
inline

When you use the [] operator with a (string) name, it will call the findKeyword() method.

Parameters
nameThe name of the keyword to find.

Definition at line 156 of file PvlContainer.h.

References findKeyword().

const Isis::PvlKeyword & Isis::PvlContainer::operator[] ( const int  index) const

Return the PvlKeyword object at the specified index.

Parameters
indexThe index to use.
Returns
The PvlKeyword at the specified index.
Exceptions
iException::MessageThe index is out of bounds.

Definition at line 203 of file PvlContainer.cpp.

References _FILEINFO_, and Isis::Message::ArraySubscriptNotInRange().

PvlKeyword Isis::PvlContainer::operator[] ( const char *  name) const
inline

When you use the [] operator with a (char) name, it will call the findKeyword() method.

Parameters
nameThe name of the keyword to find.

Definition at line 166 of file PvlContainer.h.

References operator[]().

void Isis::PvlContainer::setFileName ( const QString &  filename)
inlineprotected

Sets the filename to the specified string.

Parameters
filenameThe new filename to use.

Definition at line 316 of file PvlContainer.h.

References m_filename.

void Isis::PvlContainer::setName ( const QString &  name)
inline

Set the name of the container.

Definition at line 71 of file PvlContainer.h.

References m_name, and Isis::PvlKeyword::setValue().

Referenced by Isis::MosaicController::convertV1ToV2(), and Isis::operator>>().

QString Isis::PvlContainer::type ( ) const
inline

Returns the container type.

Returns
The container type.

Definition at line 94 of file PvlContainer.h.

References m_name, and Isis::PvlKeyword::name().

Referenced by Isis::PvlObject::deleteGroup(), Isis::PvlObject::deleteObject(), and Isis::operator<<().

void Isis::PvlContainer::validateAllKeywords ( PvlContainer pPvlCont)
protected

Validate All the Keywords in a Container comparing with the Template.

Validate all the PvlKeywords in this container.

Author
Sharmila Prasad (9/24/2010)
Parameters
pPvlCont- Container to be Validated
History:
2010-10-18 Sharmila Prasad - Added options "Type", "Range", "Value" for the keyword validation

Definition at line 410 of file PvlContainer.cpp.

References _FILEINFO_, deleteKeyword(), findKeyword(), hasKeyword(), Isis::PvlKeyword::name(), and Isis::PvlKeyword::validateKeyword().

Referenced by Isis::PvlGroup::validateGroup(), Isis::PvlObject::validateObject(), and Isis::Pvl::validatePvl().

void Isis::PvlContainer::validateRepeatOption ( PvlKeyword pPvlTmplKwrd,
PvlContainer pPvlCont 
)
protected

Validate the Repeat Option for a Keyword.

Validate Repeat Option in the Template Group.

This option indicates that a particular keyname can be repeated several times

Author
Sharmila Prasad (9/24/2010)
Parameters
pPvlTmplKwrd- Template Keyword wit
pPvlCont- Container with all the Keywords
History:
2010-10-18 Sharmila Prasad - Added option "Type" for the keyword validation

Definition at line 486 of file PvlContainer.cpp.

References deleteKeyword(), keywords(), Isis::PvlKeyword::name(), and Isis::PvlKeyword::validateKeyword().

Member Data Documentation

QString Isis::PvlContainer::m_filename
protected

               This contains the filename

used to initialize the pvl object.

If the object was not initialized using a filename the string is empty.

Definition at line 298 of file PvlContainer.h.

Referenced by Isis::PvlObject::deleteGroup(), Isis::PvlObject::deleteObject(), fileName(), Isis::PvlObject::findGroup(), Isis::PvlObject::findKeyword(), Isis::PvlObject::findObject(), Isis::Pvl::init(), operator=(), Isis::Pvl::read(), and setFileName().

QList<PvlKeyword> Isis::PvlContainer::m_keywords
protected

This is the vector of PvlKeywords the container is holding.

Definition at line 305 of file PvlContainer.h.

Referenced by begin(), clear(), end(), keywords(), and operator=().

PvlKeyword Isis::PvlContainer::m_name
protected

This is the name keyword.

Definition at line 304 of file PvlContainer.h.

Referenced by isNamed(), name(), operator=(), setName(), and type().


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