Isis 3 Developer Reference
|
Contains multiple PvlContainers. More...
#include <PvlGroup.h>
Public Types | |
enum | InsertMode { Append, Replace } |
Contains both modes: Append or Replace. More... | |
typedef QList< PvlKeyword >::iterator | PvlKeywordIterator |
The keyword iterator. More... | |
typedef QList< PvlKeyword >::const_iterator | ConstPvlKeywordIterator |
The const keyword iterator. More... | |
Public Member Functions | |
PvlGroup () | |
Creates a blank PvlGroup object. More... | |
PvlGroup (const QString &name) | |
Creates a PvlGroup object with a name. More... | |
PvlGroup (const PvlGroup &other) | |
Copy constructor. More... | |
void | validateGroup (PvlGroup &pPvlGrp) |
Validate a Group comparing with the Template Group. More... | |
bool | operator== (const PvlGroup &group) const |
Whenever the '==' operator is used on a PvlGroup object, it will call the stringEqual() method. More... | |
const PvlGroup & | operator= (const PvlGroup &other) |
This is an assignment operator. More... | |
void | setName (const QString &name) |
Set the name of the container. More... | |
QString | name () const |
Returns the container name. More... | |
bool | isNamed (const QString &match) const |
Returns whether the given string is equal to the container name or not. More... | |
QString | type () const |
Returns the container type. More... | |
int | keywords () const |
Returns the number of keywords contained in the PvlContainer. More... | |
void | clear () |
Clears PvlKeywords. More... | |
void | addKeyword (const PvlKeyword &keyword, const InsertMode mode=Append) |
Add a keyword to the container. More... | |
PvlKeywordIterator | addKeyword (const PvlKeyword &keyword, PvlKeywordIterator pos) |
Insert a keyword at the specified iterator position. More... | |
void | operator+= (const PvlKeyword &keyword) |
When you use the += operator with a PvlKeyword, it will call the addKeyword() method. More... | |
PvlKeyword & | findKeyword (const QString &name) |
Find a keyword with a specified name. More... | |
const PvlKeyword & | findKeyword (const QString &name) const |
Find a keyword with a specified name. More... | |
PvlKeywordIterator | findKeyword (const QString &name, PvlKeywordIterator beg, PvlKeywordIterator end) |
Find the index of a keyword, using iterators. More... | |
ConstPvlKeywordIterator | findKeyword (const QString &name, ConstPvlKeywordIterator beg, ConstPvlKeywordIterator end) const |
Find the index of a keyword, using iterators. More... | |
PvlKeyword & | operator[] (const QString &name) |
When you use the [] operator with a (string) name, it will call the findKeyword() method. More... | |
PvlKeyword & | operator[] (const int index) |
Return the PvlKeyword object at the specified index. More... | |
PvlKeyword & | operator[] (const char *name) |
When you use the [] operator with a (char) name, it will call the findKeyword() method. More... | |
const PvlKeyword & | operator[] (const QString &name) const |
When you use the [] operator with a (string) name, it will call the findKeyword() method. More... | |
const PvlKeyword & | operator[] (const int index) const |
Return the PvlKeyword object at the specified index. More... | |
PvlKeyword | operator[] (const char *name) const |
When you use the [] operator with a (char) name, it will call the findKeyword() method. More... | |
bool | hasKeyword (const QString &name) const |
Check to see if a keyword exists. More... | |
PvlKeywordIterator | begin () |
Return the beginning iterator. More... | |
ConstPvlKeywordIterator | begin () const |
Return the const beginning iterator. More... | |
PvlKeywordIterator | end () |
Return the ending iterator. More... | |
ConstPvlKeywordIterator | end () const |
Return the const ending iterator. More... | |
void | deleteKeyword (const QString &name) |
Remove a specified keyword. More... | |
void | deleteKeyword (const int index) |
Remove the specified keyword. More... | |
bool | cleanDuplicateKeywords () |
Removes keywords from the container that have BOTH the same name and value. More... | |
void | operator-= (const QString &name) |
When you use the -= operator with a (string) name, it will call the deleteKeyword() method. More... | |
void | operator-= (const PvlKeyword &key) |
When you use the -= operator with a PvlKeyword object, it will call the deleteKeyword() method. More... | |
QString | fileName () const |
Returns the filename used to initialise the Pvl object. More... | |
void | setFormatTemplate (PvlContainer &ref) |
bool | hasFormatTemplate () |
PvlContainer * | formatTemplate () |
PvlFormat * | format () |
void | setFormat (PvlFormat *format) |
int | indent () |
void | setIndent (int indent) |
int | comments () const |
QString | comment (const int index) const |
void | addComment (const QString &comment) |
PvlKeyword & | nameKeyword () |
const PvlKeyword & | nameKeyword () const |
Protected Member Functions | |
void | init () |
Sets the filename to blank. More... | |
void | setFileName (const QString &filename) |
Sets the filename to the specified string. More... | |
void | validateAllKeywords (PvlContainer &pPvlCont) |
Validate All the Keywords in a Container comparing with the Template. More... | |
void | validateRepeatOption (PvlKeyword &pPvlTmplKwrd, PvlContainer &pPvlCont) |
Validate the Repeat Option for a Keyword. More... | |
Protected Attributes | |
QString | m_filename |
This contains the filename used to initialize the pvl object. More... | |
PvlKeyword | m_name |
This is the name keyword. More... | |
QList< PvlKeyword > | m_keywords |
This is the vector of PvlKeywords the container is holding. More... | |
PvlContainer * | m_formatTemplate |
Friends | |
std::istream & | operator>> (std::istream &is, PvlGroup &result) |
Read in a group. More... | |
std::ostream & | operator<< (std::ostream &os, PvlGroup &group) |
Outputs the PvlGroup data to a specified output stream. More... | |
Contains multiple PvlContainers.
Contains multiple PvlContainers so that keyword-value pairs can be organized in specific groups. For example, a PvlGroup would be used to group all data from a particular mission together. A PvlGroup object will also organize (indent) objects on output.
|
inherited |
The const keyword iterator.
|
inherited |
The keyword iterator.
|
inherited |
Isis::PvlGroup::PvlGroup | ( | ) |
Creates a blank PvlGroup object.
Isis::PvlGroup::PvlGroup | ( | const QString & | name | ) |
Creates a PvlGroup object with a name.
name | The group name. |
Isis::PvlGroup::PvlGroup | ( | const PvlGroup & | other | ) |
Copy constructor.
|
inlineinherited |
|
inherited |
Add a keyword to the container.
Add a keyword to the PvlContainer object.
keyword | The PvlKeyword object to append. |
mode | Using the InsertMode value of Append. |
key | The PvlKeyword object to add. |
mode | The 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. |
References Isis::PvlKeyword::name().
Referenced by Isis::ControlNetDiff::addUniqueMeasure(), Isis::ControlNetDiff::addUniquePoint(), Isis::NaifStatus::CheckErrors(), Isis::ControlNetDiff::compare(), Isis::ControlNetDiff::compareGroups(), Isis::ShapeModelFactory::create(), Isis::CameraFactory::Create(), Isis::ProjectionFactory::CreateForCube(), Isis::ControlNetDiff::diff(), Isis::PvlContainer::operator+=(), Isis::operator<<(), Isis::operator>>(), Isis::LimitPolygonSeeder::PluginParameters(), Isis::StripPolygonSeeder::PluginParameters(), Isis::GridPolygonSeeder::PluginParameters(), Isis::PolygonSeeder::PluginParameters(), Isis::Target::radiiGroup(), Isis::ProjectionFactory::RingsCreateForCube(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::Stretch::Save(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::Projection::SetUpperLeftCorner(), Isis::ProcessMosaic::StartProcess(), Isis::SubArea::UpdateLabel(), Isis::CubeTileHandler::updateLabels(), Isis::CubeBsqHandler::updateLabels(), and Isis::ControlNetVersioner::write().
|
inherited |
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.
key | Keyword to insert |
pos | Iterator position where to insert the new keyword |
|
inlineinherited |
Return the beginning iterator.
References Isis::PvlContainer::m_keywords.
Referenced by Isis::PvlToPvlTranslationManager::DoTranslation(), Isis::PvlObject::findKeyword(), Isis::PvlObject::hasKeyword(), Isis::PvlTranslationTable::InputGroup(), Isis::DbProfile::loadkeys(), Isis::PvlTranslationTable::Translate(), and Isis::XmlToPvlTranslationManager::Translate().
|
inlineinherited |
Return the const beginning iterator.
References Isis::PvlContainer::m_keywords.
|
inherited |
Removes keywords from the container that have BOTH the same name and value.
|
inlineinherited |
Clears PvlKeywords.
References Isis::PvlContainer::m_keywords.
Referenced by Isis::PvlObject::clear().
|
inlineinherited |
References Isis::PvlKeyword::comment(), and Isis::PvlContainer::m_name.
Referenced by Isis::PvlContainer::addComment(), and Isis::operator<<().
|
inlineinherited |
References Isis::PvlKeyword::comments(), and Isis::PvlContainer::m_name.
Referenced by Isis::operator<<().
|
inherited |
Remove a specified keyword.
name | The name of the keyword to remove. |
iException::Pvl | Keyword doesn't exist. |
References _FILEINFO_.
Referenced by IsisAml::CommandLine(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::Preference::Load(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::PvlContainer::operator-=(), Isis::LimitPolygonSeeder::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::StripPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::ProcessExportPds::StandardImageImage(), Isis::ProcessExportPds::StandardJP2Image(), Isis::SubArea::UpdateLabel(), Isis::PvlContainer::validateAllKeywords(), Isis::PvlContainer::validateRepeatOption(), and Isis::Table::WriteInit().
|
inherited |
Remove the specified keyword.
index | The index of the keyword to remove. |
iException::Pvl | Keyword doesn't exist. |
References _FILEINFO_.
|
inlineinherited |
Return the ending iterator.
References Isis::PvlContainer::m_keywords.
Referenced by Isis::PvlToPvlTranslationManager::DoTranslation(), Isis::PvlObject::findGroup(), Isis::PvlObject::findKeyword(), Isis::PvlObject::findObject(), Isis::PvlObject::hasKeyword(), Isis::PvlTranslationTable::InputGroup(), Isis::DbProfile::loadkeys(), Isis::PvlTranslationTable::Translate(), and Isis::XmlToPvlTranslationManager::Translate().
|
inlineinherited |
Return the const ending iterator.
References Isis::PvlContainer::m_keywords.
|
inlineinherited |
Returns the filename used to initialise the Pvl object.
If the object was not initialized using a file, this string is empty.
References Isis::PvlContainer::m_filename.
Referenced by Isis::PvlObject::addObject(), Isis::ObservationNumber::Compose(), Isis::SerialNumber::Compose(), Isis::ProjectionFactory::CreateForCube(), Isis::ProjectionFactory::CreateFromCube(), Isis::DawnVirCamera::DawnVirCamera(), Isis::PvlTranslationTable::findTranslationGroup(), Isis::HrscCamera::HrscCamera(), Isis::PvlToXmlTranslationManager::InputKeyword(), Isis::PvlToPvlTranslationManager::InputKeyword(), Isis::LimitPolygonSeeder::Parse(), Isis::StripPolygonSeeder::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::InterestOperator::Parse(), Isis::AutoReg::Parse(), Isis::PvlEditDialog::PvlEditDialog(), Isis::ProjectionFactory::RingsCreateForCube(), Isis::ProjectionFactory::RingsCreateFromCube(), Isis::RosettaVirtisCamera::RosettaVirtisCamera(), and Isis::PvlTranslationTable::Translate().
|
inherited |
Find a keyword with a specified name.
name | The name of the keyword to look for. |
iException::Pvl | The keyword doesn't exist. |
References _FILEINFO_.
Referenced by Isis::MosaicSceneWidget::addToPermanent(), Isis::ControlNetDiff::compare(), Isis::ControlNetDiff::compareGroups(), Isis::CubeIoHandler::CubeIoHandler(), Isis::PvlToXmlTranslationManager::doTranslation(), Isis::PvlToPvlTranslationManager::DoTranslation(), Isis::CubeViewport::getBandFilterName(), Isis::PvlTranslationTable::InputGroup(), Isis::PvlToXmlTranslationManager::InputKeyword(), Isis::PvlToPvlTranslationManager::InputKeyword(), Isis::JunoCamera::JunoCamera(), Isis::Stretch::Load(), Isis::PvlContainer::operator[](), Isis::Target::radiiGroup(), Isis::ReseauDistortionMap::ReseauDistortionMap(), Isis::MosaicSceneWidget::setProjection(), Isis::CubeViewport::setTrackingCube(), Isis::ProcessExportPds4::StandardAllMapping(), Isis::ProcessExportPds::StandardAllMapping(), Isis::PvlTranslationTable::Translate(), Isis::XmlToPvlTranslationManager::Translate(), Isis::PvlContainer::validateAllKeywords(), Isis::PvlObject::validateObject(), and Isis::Pvl::validatePvl().
|
inherited |
Find a keyword with a specified name.
name | The name of the keyword to look for. |
IException | The keyword doesn't exist. |
References _FILEINFO_.
|
inherited |
Find the index of a keyword, using iterators.
name | The name of the keyword. |
beg | The beginning iterator. |
end | The ending iterator. |
|
inherited |
Find the index of a keyword, using iterators.
name | The name of the keyword. |
beg | The beginning iterator. |
end | The ending iterator. |
|
inlineinherited |
References Isis::PvlKeyword::format(), and Isis::PvlContainer::m_name.
Referenced by Isis::Pvl::append(), Isis::ProcessExportPds::CreateImageLabel(), Isis::ProcessExportPds::FixedJP2ImageRoot(), Isis::operator<<(), Isis::PvlContainer::setFormat(), Isis::ProcessExportPds::StandardImageImage(), Isis::ProcessExportPds::StandardJP2Image(), Isis::ProcessExportPds::StreamJP2ImageRoot(), and Isis::Pvl::write().
|
inlineinherited |
References Isis::PvlContainer::m_formatTemplate.
Referenced by Isis::operator<<().
|
inlineinherited |
References Isis::PvlContainer::m_formatTemplate.
Referenced by Isis::operator<<().
|
inherited |
Check to see if a keyword exists.
name | The name of the keyword to check for. |
Referenced by Isis::SerialNumberList::add(), Isis::Latitude::add(), Isis::PvlTranslationTable::AddTable(), Isis::Albedo::Albedo(), Isis::AlbedoAtm::AlbedoAtm(), Isis::AtmosModel::AtmosModel(), Isis::BulletShapeModel::BulletShapeModel(), Isis::Camera::Camera(), Isis::CameraFactory::CameraVersion(), IsisAml::CommandLine(), Isis::ControlNetDiff::compareGroups(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::ShapeModelFactory::create(), Isis::AtmosModelFactory::Create(), Isis::CameraFactory::Create(), Isis::PhotoModelFactory::Create(), Isis::NormModelFactory::Create(), Isis::Gui::Create(), Isis::ProcessExportPds4::createUnitMap(), Isis::ControlNetFilter::CubeConvexHullFilter(), Isis::ControlNetFilter::CubeDistanceFilter(), Isis::ControlNetFilter::CubeNameExpressionFilter(), Isis::ControlNetFilter::CubeNumPointsFilter(), Isis::DemShape::DemShape(), Isis::PvlToXmlTranslationManager::doTranslation(), Isis::PvlToPvlTranslationManager::DoTranslation(), Isis::EmbreeShapeModel::EmbreeShapeModel(), Isis::Equirectangular::Equirectangular(), Isis::KernelDb::findAll(), Isis::CubeViewport::getBandFilterName(), Isis::UniversalGroundMap::GroundRange(), Isis::Camera::GroundRange(), Isis::Hapke::Hapke(), Isis::PvlTranslationTable::hasInputDefault(), Isis::Spice::hasKernels(), Isis::HiLab::HiLab(), Isis::IdealCamera::IdealCamera(), Isis::Equalization::importStatistics(), Isis::PvlTranslationTable::InputDefault(), Isis::PvlToXmlTranslationManager::InputHasKeyword(), Isis::PvlToPvlTranslationManager::InputHasKeyword(), Isis::PvlToXmlTranslationManager::InputKeyword(), Isis::PvlToPvlTranslationManager::InputKeyword(), Isis::PvlTranslationTable::InputKeywordName(), Isis::PvlTranslationTable::IsAuto(), Isis::PvlTranslationTable::IsOptional(), Isis::LambertConformal::LambertConformal(), Isis::Latitude::Latitude(), Isis::Preference::Load(), Isis::LoMediumCamera::LoMediumCamera(), Isis::LunarLambert::LunarLambert(), Isis::LunarLambertEmpirical::LunarLambertEmpirical(), Isis::RingPlaneProjection::Mapping(), Isis::TProjection::Mapping(), Isis::KernelDb::matches(), Isis::Mercator::Mercator(), Isis::Minnaert::Minnaert(), Isis::MinnaertEmpirical::MinnaertEmpirical(), Isis::Mixed::Mixed(), Isis::Mollweide::Mollweide(), Isis::MoonAlbedo::MoonAlbedo(), Isis::NaifDskShape::NaifDskShape(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::operator<<(), Isis::Orthographic::Orthographic(), Isis::OsirisRexOcamsCamera::OsirisRexOcamsCamera(), Isis::PvlTranslationTable::OutputName(), Isis::PvlTranslationTable::OutputPosition(), 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::Target::radiiGroup(), Isis::AutoReg::RegTemplate(), Isis::RingCylindrical::RingCylindrical(), Isis::RingPlaneProjection::RingPlaneProjection(), Isis::Camera::ringRange(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::Robinson::Robinson(), Isis::ProcessImportFits::setFitsFile(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::ProcessImportFits::setProcessFileStructure(), Isis::ControlNet::SetTarget(), Isis::Shade::Shade(), Isis::ShadeAtm::ShadeAtm(), Isis::SimpleCylindrical::SimpleCylindrical(), Isis::Sinusoidal::Sinusoidal(), Isis::ProcessExportPds::StandardAllMapping(), Isis::ProcessImportFits::standardInstrumentGroup(), Isis::Target::Target(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::Topo::Topo(), Isis::TopoAtm::TopoAtm(), Isis::IException::toString(), Isis::TProjection::TProjection(), Isis::PvlToXmlTranslationManager::Translate(), Isis::PvlToPvlTranslationManager::Translate(), Isis::PvlTranslationTable::Translate(), Isis::XmlToPvlTranslationManager::Translate(), Isis::ProcessExportPds4::translateBandBinSpectrumBinSet(), Isis::ProcessExportPds4::translateBandBinSpectrumUniform(), Isis::TransverseMercator::TransverseMercator(), Isis::SubArea::UpdateLabel(), Isis::SpectralPlotTool::updateTool(), Isis::PvlContainer::validateAllKeywords(), Isis::PvlObject::validateObject(), Isis::Pvl::validatePvl(), Isis::ControlNetValidMeasure::ValidatePvlDN(), Isis::ControlNetValidMeasure::ValidatePvlEmissionAngle(), Isis::ControlNetValidMeasure::ValidatePvlFromEdge(), Isis::ControlNetValidMeasure::ValidatePvlIncidenceAngle(), Isis::ControlNetValidMeasure::ValidatePvlResidualTolerances(), Isis::ControlNetValidMeasure::ValidatePvlResolution(), and Isis::ControlNetValidMeasure::ValidatePvlShiftTolerances().
|
inlineinherited |
References Isis::PvlKeyword::indent(), and Isis::PvlContainer::m_name.
Referenced by Isis::operator<<(), and Isis::PvlContainer::setIndent().
|
protectedinherited |
Sets the filename to blank.
|
inlineinherited |
Returns whether the given string is equal to the container name or not.
match | The string to compare to the name. |
References Isis::PvlContainer::m_name, and Isis::PvlKeyword::stringEqual().
Referenced by Isis::SessionLog::AddError(), Isis::Cube::copy(), Isis::Blob::Find(), Isis::KernelDb::findAll(), Isis::Cube::hasTable(), Isis::IsBlob(), Isis::Shape::isFootprintable(), Isis::Image::isFootprintable(), Isis::Table::ReadInit(), Isis::RemoveHiBlobs(), Isis::Process::SetOutputCube(), and Isis::Process::WriteHistory().
|
inlineinherited |
Returns the number of keywords contained in the PvlContainer.
References Isis::PvlContainer::m_keywords.
Referenced by Isis::PvlFormat::add(), Isis::PvlTranslationTable::AddTable(), Isis::ControlNetDiff::addTolerances(), Isis::ControlNetDiff::compare(), Isis::ControlNetDiff::compareGroups(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::KernelDb::findAll(), Isis::MosaicSceneWidget::fromPvl(), Isis::ImageImporter::import(), Isis::Equalization::importStatistics(), Isis::Preference::Load(), Isis::KernelDb::matches(), Isis::operator<<(), Isis::ControlNetFilter::PointCubeNamesFilter(), Isis::BandSpinBox::setBandBin(), validateGroup(), Isis::PvlObject::validateObject(), Isis::Pvl::validatePvl(), and Isis::PvlContainer::validateRepeatOption().
|
inlineinherited |
Returns the container name.
References Isis::PvlContainer::m_name.
Referenced by Isis::PvlTranslationTable::AddTable(), Isis::ControlNetDiff::addTolerances(), Isis::LabelTranslationManager::Auto(), Isis::PvlToXmlTranslationManager::Auto(), Isis::PvlToPvlTranslationManager::Auto(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::Cube::copy(), Isis::CorrelationMatrix::CorrelationMatrix(), Isis::ProcessExportPds4::createUnitMap(), Isis::Cube::deleteBlob(), Isis::PvlObject::deleteGroup(), Isis::PvlObject::deleteObject(), Isis::PvlToXmlTranslationManager::doTranslation(), Isis::PvlObject::findGroup(), Isis::PvlObject::findObject(), Isis::ImageFileListWidget::fromPvl(), Isis::PvlObject::hasGroup(), Isis::PvlObject::hasObject(), Isis::Preference::Load(), Isis::PvlContainer::operator-=(), Isis::operator<<(), operator==(), Isis::PvlObject::operator==(), Isis::operator>>(), Isis::PvlContainer::operator[](), Isis::Cube::putGroup(), Isis::BandSpinBox::setBandBin(), Isis::PvlContainer::setName(), Isis::Process::SetOutputCube(), Isis::OverlapStatistics::toPvl(), validateGroup(), Isis::PvlObject::validateObject(), Isis::Pvl::validatePvl(), and Isis::Blob::Write().
|
inlineinherited |
References Isis::PvlContainer::m_name.
Referenced by Isis::operator<<().
|
inlineinherited |
References Isis::PvlContainer::m_name.
|
inlineinherited |
When you use the += operator with a PvlKeyword, it will call the addKeyword() method.
keyword | The PvlKeyword to be added. |
References Isis::PvlContainer::addKeyword().
|
inlineinherited |
When you use the -= operator with a (string) name, it will call the deleteKeyword() method.
name | The name of the keyword to remove. |
References Isis::PvlContainer::deleteKeyword(), and Isis::PvlContainer::name().
|
inlineinherited |
When you use the -= operator with a PvlKeyword object, it will call the deleteKeyword() method.
key | The PvlKeyword object to remove. |
References Isis::PvlContainer::deleteKeyword(), and Isis::PvlKeyword::name().
This is an assignment operator.
References Isis::PvlContainer::operator=().
|
inline |
Whenever the '==' operator is used on a PvlGroup object, it will call the stringEqual() method.
This returns a boolean value.
group | The PvlGroup object to compare. |
References Isis::PvlContainer::name(), and Isis::PvlKeyword::stringEqual().
|
inlineinherited |
When you use the [] operator with a (string) name, it will call the findKeyword() method.
name | The name of the keyword to find. |
References Isis::PvlContainer::findKeyword(), and Isis::PvlContainer::name().
Referenced by Isis::PvlContainer::operator[]().
|
inherited |
Return the PvlKeyword object at the specified index.
index | The index to use. |
iException::Message | The index is out of bounds. |
References _FILEINFO_, and Isis::Message::ArraySubscriptNotInRange().
|
inlineinherited |
When you use the [] operator with a (char) name, it will call the findKeyword() method.
name | The name of the keyword to find. |
References Isis::PvlContainer::name(), and Isis::PvlContainer::operator[]().
|
inlineinherited |
When you use the [] operator with a (string) name, it will call the findKeyword() method.
name | The name of the keyword to find. |
References Isis::PvlContainer::findKeyword(), and Isis::PvlContainer::name().
|
inherited |
Return the PvlKeyword object at the specified index.
index | The index to use. |
iException::Message | The index is out of bounds. |
References _FILEINFO_, and Isis::Message::ArraySubscriptNotInRange().
|
inlineinherited |
When you use the [] operator with a (char) name, it will call the findKeyword() method.
name | The name of the keyword to find. |
References Isis::PvlContainer::name(), and Isis::PvlContainer::operator[]().
|
inlineprotectedinherited |
Sets the filename to the specified string.
filename | The new filename to use. |
References Isis::PvlContainer::m_filename.
|
inlineinherited |
References Isis::PvlContainer::format(), Isis::PvlContainer::m_name, and Isis::PvlKeyword::setFormat().
Referenced by Isis::Pvl::append(), Isis::operator<<(), and Isis::Pvl::write().
|
inlineinherited |
References Isis::PvlContainer::m_formatTemplate.
Referenced by Isis::operator<<(), and Isis::Pvl::setFormatTemplate().
|
inlineinherited |
References Isis::PvlContainer::indent(), Isis::PvlContainer::m_name, and Isis::PvlKeyword::setIndent().
Referenced by Isis::operator<<().
|
inlineinherited |
Set the name of the container.
References Isis::PvlContainer::m_name, Isis::PvlContainer::name(), and Isis::PvlKeyword::setValue().
Referenced by Isis::operator>>(), Isis::MosaicSceneWidget::save(), and Isis::MosaicSceneWidget::toPvl().
|
inlineinherited |
Returns the container type.
References Isis::PvlContainer::m_name, and Isis::PvlKeyword::name().
Referenced by Isis::PvlObject::deleteGroup(), Isis::PvlObject::deleteObject(), and Isis::operator<<().
|
protectedinherited |
Validate All the Keywords in a Container comparing with the Template.
Validate all the PvlKeywords in this container.
pPvlCont | - Container to be Validated |
References _FILEINFO_, Isis::PvlContainer::deleteKeyword(), Isis::PvlContainer::findKeyword(), Isis::PvlContainer::hasKeyword(), Isis::PvlKeyword::name(), and Isis::PvlKeyword::validateKeyword().
Referenced by validateGroup(), Isis::PvlObject::validateObject(), and Isis::Pvl::validatePvl().
void Isis::PvlGroup::validateGroup | ( | PvlGroup & | pPvlGrp | ) |
Validate a Group comparing with the Template Group.
Validate a PvlGroup, comparing against the corresponding PvlGroup in the Template file.
Template PvlGroup has the format: Group = (groupName, optional/required)
pPvlGrp | - PvlGroup to be validated |
References _FILEINFO_, Isis::PvlContainer::keywords(), Isis::PvlContainer::name(), Isis::IException::User, and Isis::PvlContainer::validateAllKeywords().
Referenced by Isis::PvlObject::validateObject(), and Isis::Pvl::validatePvl().
|
protectedinherited |
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
pPvlTmplKwrd | - Template Keyword wit |
pPvlCont | - Container with all the Keywords |
References Isis::PvlContainer::deleteKeyword(), Isis::PvlContainer::keywords(), Isis::PvlKeyword::name(), and Isis::PvlKeyword::validateKeyword().
|
friend |
|
friend |
Read in a group.
is | The input stream |
result | The PvlGroup to read into (OUTPUT) |
|
protectedinherited |
This contains the filename used to initialize the pvl object.
If the object was not initialized using a filename the string is empty.
Referenced by Isis::PvlObject::deleteGroup(), Isis::PvlObject::deleteObject(), Isis::PvlContainer::fileName(), Isis::PvlObject::findGroup(), Isis::PvlObject::findKeyword(), Isis::PvlObject::findObject(), Isis::PvlContainer::operator=(), Isis::Pvl::read(), and Isis::PvlContainer::setFileName().
|
protectedinherited |
|
protectedinherited |
This is the vector of PvlKeywords the container is holding.
Referenced by Isis::PvlContainer::begin(), Isis::PvlContainer::clear(), Isis::PvlContainer::end(), Isis::PvlContainer::keywords(), and Isis::PvlContainer::operator=().
|
protectedinherited |
This is the name keyword.
Referenced by Isis::PvlContainer::addComment(), Isis::PvlContainer::comment(), Isis::PvlContainer::comments(), Isis::PvlContainer::format(), Isis::PvlContainer::indent(), Isis::PvlContainer::isNamed(), Isis::PvlContainer::name(), Isis::PvlContainer::nameKeyword(), Isis::PvlContainer::operator=(), Isis::PvlContainer::setFormat(), Isis::PvlContainer::setIndent(), Isis::PvlContainer::setName(), and Isis::PvlContainer::type().