Isis 3 Developer Reference
|
Container for cube-like labels. More...
#include <Pvl.h>
Public Types | |
enum | FindOptions { None, Traverse } |
A collection of options to use when finding. More... | |
typedef QList< Isis::PvlGroup >::iterator | PvlGroupIterator |
The counter for groups. More... | |
typedef QList< Isis::PvlGroup >::const_iterator | ConstPvlGroupIterator |
typedef QList< PvlObject >::iterator | PvlObjectIterator |
The counter for objects. More... | |
typedef QList< PvlObject >::const_iterator | ConstPvlObjectIterator |
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 | |
Pvl () | |
Constructs an empty Pvl object. More... | |
Pvl (const QString &file) | |
Constructs a Pvl from a file. More... | |
Pvl (const Pvl &other) | |
Copy constructor. More... | |
~Pvl () | |
void | read (const QString &file) |
Loads PVL information from a stream. More... | |
void | write (const QString &file) |
Opens and writes PVL information to a file and handles the end of line sequence. More... | |
void | append (const QString &file) |
Appends PVL information to a file and handles the end of line sequence. More... | |
void | setTerminator (const QString &term) |
Sets the terminator used to signify the end of the PVL informationDefaults to "END". More... | |
QString | terminator () const |
Returns the terminator used to signify the end of the PVL informationDefaults to "END". More... | |
void | setFormatTemplate (Isis::Pvl &temp) |
void | setFormatTemplate (const QString &filename) |
const Pvl & | operator= (const Pvl &other) |
This is an assignment operator. More... | |
void | validatePvl (const Pvl &pPvl, Pvl &pPvlResults) |
Validate a Pvl with the Template Pvl. More... | |
int | groups () const |
Returns the number of groups contained. More... | |
PvlGroup & | group (const int index) |
Return the group at the specified index. More... | |
const PvlGroup & | group (const int index) const |
Return the group at the specified index. More... | |
PvlGroupIterator | beginGroup () |
Returns the beginning group index. More... | |
ConstPvlGroupIterator | beginGroup () const |
Returns the beginning group index. More... | |
PvlGroupIterator | endGroup () |
Returns the ending group index. More... | |
ConstPvlGroupIterator | endGroup () const |
Returns the const ending group index. More... | |
PvlGroupIterator | findGroup (const QString &name, PvlGroupIterator beg, PvlGroupIterator end) |
Find a group with the specified name, within these indexes. More... | |
ConstPvlGroupIterator | findGroup (const QString &name, ConstPvlGroupIterator beg, ConstPvlGroupIterator end) const |
Find a group with the specified name, within these indexes. More... | |
Isis::PvlGroup & | findGroup (const QString &name, FindOptions opts=None) |
Finds a group within the current PvlObject. More... | |
const Isis::PvlGroup & | findGroup (const QString &name, FindOptions opts=None) const |
Finds a group within the current PvlObject. More... | |
PvlKeyword & | findKeyword (const QString &kname, FindOptions opts) |
Finds a keyword in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within this one. 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 & | 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... | |
bool | hasKeyword (const QString &kname, FindOptions opts) const |
See if a keyword is in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within this one. More... | |
bool | hasKeyword (const QString &name) const |
Check to see if a keyword exists. More... | |
bool | hasKeyword (const QString &name) const |
Check to see if a keyword exists. More... | |
void | addGroup (const Isis::PvlGroup &group) |
Add a group to the object. More... | |
void | operator+= (const Isis::PvlGroup &group) |
void | operator+= (const Isis::PvlObject &obj) |
void | operator+= (const PvlKeyword &keyword) |
When you use the += operator with a PvlKeyword, it will call the addKeyword() method. More... | |
void | operator+= (const PvlKeyword &keyword) |
When you use the += operator with a PvlKeyword, it will call the addKeyword() method. More... | |
void | deleteGroup (const QString &name) |
Remove a group from the current PvlObject. More... | |
void | deleteGroup (const int index) |
Remove a group from the current PvlObject. More... | |
bool | hasGroup (const QString &name) const |
Returns a boolean value based on whether the object has the specified group or not. More... | |
int | objects () const |
Returns the number of objects. More... | |
PvlObject & | object (const int index) |
Return the object at the specified index. More... | |
const PvlObject & | object (const int index) const |
Return the object at the specified index. More... | |
PvlObjectIterator | beginObject () |
Returns the index of the beginning object. More... | |
ConstPvlObjectIterator | beginObject () const |
Returns the const index of the beginning object. More... | |
PvlObjectIterator | endObject () |
Returns the index of the ending object. More... | |
ConstPvlObjectIterator | endObject () const |
Returns the const index of the ending object. More... | |
PvlObjectIterator | findObject (const QString &name, PvlObjectIterator beg, PvlObjectIterator end) |
Find the index of object with a specified name, between two indexes. More... | |
ConstPvlObjectIterator | findObject (const QString &name, ConstPvlObjectIterator beg, ConstPvlObjectIterator end) const |
Find the index of object with a specified name, between two indexes. More... | |
PvlObject & | findObject (const QString &name, FindOptions opts=None) |
Find an object within the current PvlObject. More... | |
const PvlObject & | findObject (const QString &name, FindOptions opts=None) const |
Find an object within the current PvlObject. More... | |
void | addObject (const PvlObject &object) |
Add a PvlObject. More... | |
void | deleteObject (const QString &name) |
Remove an object from the current PvlObject. More... | |
void | deleteObject (const int index) |
Remove an object from the current PvlObject. More... | |
bool | hasObject (const QString &name) const |
Returns a boolean value based on whether the object exists in the current PvlObject or not. More... | |
bool | operator== (const PvlObject &object) const |
Compares two PvlObjects. More... | |
void | clear () |
Remove everything from the current PvlObject. More... | |
void | validateObject (PvlObject &pPvlObj) |
Validate Object. 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 | 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... | |
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... | |
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 | 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, Pvl &pvl) |
Reads keywords from the instream and appends them to the Pvl object. More... | |
std::ostream & | operator<< (std::ostream &os, Isis::Pvl &pvl) |
This stream will not handle the end of line sequence. More... | |
Container for cube-like labels.
This class is used for creating, reading, and writing grouped labels generally from a file. An example of a label is:
There are three different groupings, "root", "object", and "group". The information is stored in "keywords". The root grouping can contain objects, groups, and keywords. Object groupings can contain other objects, groups and keywords. Group groupings can only contain keywords. Contents within the group are called keywords which can have integer, double, string values or no value. A keyword with no value is treated as a boolean.
If you would like to see Pvl being used in implementation, see class Cube or Preference
|
inherited |
|
inherited |
The const keyword iterator.
|
inherited |
|
inherited |
The counter for groups.
|
inherited |
The keyword iterator.
|
inherited |
The counter for objects.
|
inherited |
|
inherited |
Isis::Pvl::Pvl | ( | ) |
Constructs an empty Pvl object.
Referenced by validatePvl().
Isis::Pvl::Pvl | ( | const QString & | file | ) |
Isis::Pvl::Pvl | ( | const Pvl & | other | ) |
Copy constructor.
|
inline |
References Isis::PvlContainer::m_formatTemplate.
|
inlineinherited |
|
inlineinherited |
Add a group to the object.
group | The PvlGroup object to add. |
References Isis::PvlObject::group().
Referenced by Isis::InterestOperator::addGroup(), Isis::ControlNetDiff::addUniqueMeasure(), Isis::Gruen::AlgorithmStatistics(), Isis::Camera::BasicMapping(), Isis::Camera::basicRingMapping(), Isis::NaifStatus::CheckErrors(), IsisAml::CommandLine(), Isis::ControlNetDiff::compareGroups(), Isis::TiffImporter::convertProjection(), Isis::Cube::copy(), Isis::Cube::create(), Isis::LabelTranslationManager::CreateContainer(), Isis::Application::History(), Isis::ImageImporter::import(), Isis::Preference::Load(), Isis::PvlObject::operator+=(), Isis::operator<<(), Isis::operator>>(), Isis::Process::PropagateLabels(), Isis::Cube::putGroup(), Isis::AutoReg::RegistrationStatistics(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::Stretch::Save(), Isis::UserInterface::SaveHistory(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::Process::SetOutputCube(), Isis::Equalization::setResults(), Isis::Table::Table(), Isis::MultivariateStatistics::toPvl(), Isis::IException::toPvl(), Isis::OverlapStatistics::toPvl(), Isis::ControlNetVersioner::toPvl(), Isis::ProcessImportPds::TranslatePdsProjection(), Isis::AlphaCube::UpdateGroup(), and Isis::ControlNetVersioner::write().
|
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 |
Add a PvlObject.
object | The PvlObject to add. |
References Isis::PvlContainer::fileName().
Referenced by Isis::History::AddEntry(), Isis::ControlNetDiff::addUniquePoint(), Isis::ControlNetDiff::compare(), Isis::Cube::copy(), Isis::Cube::create(), Isis::LabelTranslationManager::CreateContainer(), Isis::ProcessExportPds::ExportTable(), Isis::ProcessExportPds::FixedJP2ImageRoot(), Isis::PvlObject::operator+=(), Isis::operator<<(), Isis::operator>>(), Isis::Process::PropagateLabels(), Isis::Process::SetOutputCube(), Isis::Equalization::setResults(), Isis::ProcessExportPds::StreamJP2ImageRoot(), Isis::OverlapStatistics::toPvl(), Isis::ControlNetVersioner::toPvl(), Isis::Blob::Write(), and Isis::ControlNetVersioner::write().
void Isis::Pvl::append | ( | const QString & | file | ) |
Appends PVL information to a file and handles the end of line sequence.
file | Name of the file to append to. |
Isis::iException::Io |
References _FILEINFO_, Isis::FileName::expanded(), Isis::Message::FileOpen(), Isis::PvlContainer::format(), Isis::PvlFormat::formatEOL(), Isis::IException::Io, Isis::PvlContainer::setFormat(), and terminator().
|
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.
|
inlineinherited |
Returns the beginning group index.
Referenced by Isis::PvlObject::deleteGroup(), Isis::PvlObject::findGroup(), Isis::PvlObject::hasGroup(), Isis::DbAccess::load(), and Isis::BundleTargetBody::readFromPvl().
|
inlineinherited |
Returns the beginning group index.
|
inlineinherited |
Returns the index of the beginning object.
Referenced by Isis::PvlObject::deleteObject(), Isis::PvlObject::findObject(), Isis::Equalization::fromPvl(), Isis::Strategy::getObjectList(), Isis::PvlObject::hasObject(), Isis::ShapeReader::read(), and Isis::ImageReader::read().
|
inlineinherited |
Returns the const index of the beginning object.
|
inherited |
Removes keywords from the container that have BOTH the same name and value.
|
inlineinherited |
Remove everything from the current PvlObject.
References Isis::PvlContainer::clear().
Referenced by IsisAml::CommandLine(), Isis::Preference::Preferences(), and Isis::QIsisApplication::QIsisApplication().
|
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 group from the current PvlObject.
name | The name of the PvlGroup to remove. |
IException |
References _FILEINFO_, Isis::PvlObject::beginGroup(), Isis::PvlObject::endGroup(), Isis::PvlObject::findGroup(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Isis::PvlContainer::type(), and Isis::IException::Unknown.
Referenced by Isis::Cube::deleteGroup(), Isis::UserInterface::SaveHistory(), Isis::PvlObject::validateObject(), and validatePvl().
|
inherited |
Remove a group from the current PvlObject.
index | The index of the PvlGroup to remove. |
IException |
References _FILEINFO_, Isis::PvlObject::beginGroup(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Isis::PvlContainer::type(), and Isis::IException::Unknown.
|
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_.
|
inherited |
Remove an object from the current PvlObject.
name | The name of the PvlObject to remove. |
IException |
References _FILEINFO_, Isis::PvlObject::beginObject(), Isis::PvlObject::endObject(), Isis::PvlObject::findObject(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Isis::PvlContainer::type(), and Isis::IException::Unknown.
Referenced by Isis::Cube::deleteBlob(), Isis::RemoveHiBlobs(), Isis::PvlObject::validateObject(), and validatePvl().
|
inherited |
Remove an object from the current PvlObject.
index | The index of the PvlObject to remove. |
IException |
References _FILEINFO_, Isis::PvlObject::beginObject(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Isis::PvlContainer::type(), and Isis::IException::Unknown.
|
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 ending group index.
Referenced by Isis::PvlObject::deleteGroup(), Isis::PvlObject::findGroup(), Isis::PvlObject::hasGroup(), Isis::DbAccess::load(), and Isis::BundleTargetBody::readFromPvl().
|
inlineinherited |
Returns the const ending group index.
|
inlineinherited |
Returns the index of the ending object.
Referenced by Isis::PvlObject::deleteObject(), Isis::PvlObject::findObject(), Isis::Equalization::fromPvl(), Isis::Strategy::getObjectList(), Isis::PvlObject::hasObject(), Isis::ShapeReader::read(), and Isis::ImageReader::read().
|
inlineinherited |
Returns the const index of the ending object.
|
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().
|
inlineinherited |
Find a group with the specified name, within these indexes.
name | The name of the group to look for. |
beg | The lower index |
end | The higher index |
References Isis::PvlContainer::end(), and Isis::PvlContainer::name().
Referenced by Isis::SerialNumberList::add(), Isis::ControlNetDiff::addTolerances(), Isis::AlphaCube::AlphaCube(), Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::BulletShapeModel::BulletShapeModel(), Isis::Camera::Camera(), Isis::CameraFactory::CameraVersion(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::TiffImporter::convertProjection(), Isis::CorrelationMatrix::CorrelationMatrix(), Isis::InterestOperatorFactory::Create(), Isis::ShapeModelFactory::create(), Isis::PolygonSeederFactory::Create(), Isis::CameraFactory::Create(), Isis::AutoRegFactory::Create(), Isis::ProjectionFactory::Create(), Isis::Gui::Create(), Isis::LabelTranslationManager::CreateContainer(), Isis::ProjectionFactory::CreateForCube(), Isis::ProjectionFactory::CreateFromCube(), Isis::CrismCamera::CrismCamera(), Isis::CTXCamera::CTXCamera(), Isis::CubeIoHandler::CubeIoHandler(), Isis::DawnFcCamera::DawnFcCamera(), Isis::DawnVirCamera::DawnVirCamera(), Isis::PvlObject::deleteGroup(), Isis::DemShape::DemShape(), Isis::PvlToPvlTranslationManager::DoTranslation(), Isis::EmbreeShapeModel::EmbreeShapeModel(), Isis::Equirectangular::Equirectangular(), Isis::KernelDb::findAll(), Isis::MosaicSceneWidget::fromPvl(), Isis::Equalization::fromPvl(), Isis::CubeViewport::getBandFilterName(), Isis::PvlToXmlTranslationManager::GetContainer(), Isis::PvlToPvlTranslationManager::GetContainer(), Isis::Plugin::GetPlugin(), Isis::GroundGrid::GroundGrid(), Isis::Camera::GroundRange(), Isis::Cube::group(), Isis::PvlObject::hasGroup(), Isis::Spice::hasKernels(), Isis::HayabusaAmicaCamera::HayabusaAmicaCamera(), Isis::HayabusaNirsCamera::HayabusaNirsCamera(), Isis::HiresCamera::HiresCamera(), Isis::HiriseCamera::HiriseCamera(), Isis::HrscCamera::HrscCamera(), Isis::Hyb2OncCamera::Hyb2OncCamera(), Isis::IdealCamera::IdealCamera(), Isis::Equalization::importStatistics(), Isis::VimsSkyMap::Init(), Isis::VimsGroundMap::Init(), Isis::IssNACamera::IssNACamera(), Isis::IssWACamera::IssWACamera(), Isis::JunoCamera::JunoCamera(), Isis::KaguyaMiCamera::KaguyaMiCamera(), Isis::KaguyaTcCamera::KaguyaTcCamera(), Isis::LambertConformal::LambertConformal(), Isis::Preference::Load(), Isis::Stretch::Load(), Isis::DbAccess::load(), Isis::KernelDb::loadSystemDb(), Isis::LoHighCamera::LoHighCamera(), Isis::LoMediumCamera::LoMediumCamera(), Isis::LroNarrowAngleCamera::LroNarrowAngleCamera(), Isis::LroWideAngleCamera::LroWideAngleCamera(), Isis::LunarAzimuthalEqualArea::LunarAzimuthalEqualArea(), Isis::LwirCamera::LwirCamera(), Isis::MarciCamera::MarciCamera(), Isis::Mariner10Camera::Mariner10Camera(), Isis::KernelDb::matches(), Isis::MdisCamera::MdisCamera(), Isis::Mercator::Mercator(), Isis::MiniRF::MiniRF(), Isis::Process::MissionData(), Isis::MocNarrowAngleCamera::MocNarrowAngleCamera(), Isis::MocWideAngleCamera::MocWideAngleCamera(), Isis::Mollweide::Mollweide(), Isis::MsiCamera::MsiCamera(), Isis::NaifDskShape::NaifDskShape(), Isis::NewHorizonsLeisaCamera::NewHorizonsLeisaCamera(), Isis::NewHorizonsLorriCamera::NewHorizonsLorriCamera(), Isis::NewHorizonsMvicFrameCamera::NewHorizonsMvicFrameCamera(), Isis::NewHorizonsMvicTdiCamera::NewHorizonsMvicTdiCamera(), Isis::NirCamera::NirCamera(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::Orthographic::Orthographic(), Isis::OsirisRexOcamsCamera::OsirisRexOcamsCamera(), Isis::LimitPolygonSeeder::Parse(), Isis::StripPolygonSeeder::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::ControlNetValidMeasure::Parse(), Isis::InterestOperator::Parse(), Isis::AutoReg::Parse(), Isis::Planar::Planar(), Isis::PointPerspective::PointPerspective(), Isis::PolarStereographic::PolarStereographic(), Isis::ProcessImportPds::ProcessImportPds(), Isis::Progress::Progress(), Isis::Projection::Projection(), Isis::Cube::putGroup(), Isis::Target::radiiGroup(), Isis::PvlKeyword::reform(), Isis::ReseauDistortionMap::ReseauDistortionMap(), Isis::RingCylindrical::RingCylindrical(), Isis::Camera::ringRange(), Isis::ProjectionFactory::RingsCreate(), Isis::ProjectionFactory::RingsCreateForCube(), Isis::ProjectionFactory::RingsCreateFromCube(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::Robinson::Robinson(), Isis::RosettaOsirisCamera::RosettaOsirisCamera(), Isis::RosettaVirtisCamera::RosettaVirtisCamera(), Isis::UserInterface::SaveHistory(), Isis::ProcessMosaic::SetInputCube(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::ProcessGroundPolygons::SetStatCubes(), Isis::ControlNet::SetTarget(), Isis::SimpleCylindrical::SimpleCylindrical(), Isis::Sinusoidal::Sinusoidal(), Isis::Spice::Spice(), Isis::SsiCamera::SsiCamera(), Isis::ProcessExportPds4::StandardAllMapping(), Isis::ProcessExportPds::StandardAllMapping(), Isis::Target::Target(), Isis::Pipeline::TemporaryFolder(), Isis::TgoCassisCamera::TgoCassisCamera(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::ThemisVisCamera::ThemisVisCamera(), Isis::IException::toString(), Isis::XmlToPvlTranslationManager::Translate(), Isis::ProcessImportPds::TranslatePdsProjection(), Isis::TransverseMercator::TransverseMercator(), Isis::AlphaCube::UpdateGroup(), Isis::UvvisCamera::UvvisCamera(), Isis::PvlObject::validateObject(), validatePvl(), Isis::VikingCamera::VikingCamera(), Isis::VimsCamera::VimsCamera(), and Isis::VoyagerCamera::VoyagerCamera().
|
inlineinherited |
Find a group with the specified name, within these indexes.
name | The name of the group to look for. |
beg | The lower index |
end | The higher index |
References Isis::PvlContainer::end(), and Isis::PvlContainer::name().
|
inherited |
Finds a group within the current PvlObject.
name | The name of the group to look for. |
opts | The FindOptions option (None or Traverse). |
IException |
References _FILEINFO_, Isis::PvlObject::beginGroup(), Isis::PvlObject::endGroup(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Isis::PvlObject::Traverse, and Isis::IException::Unknown.
|
inherited |
Finds a group within the current PvlObject.
name | The name of the group to look for. |
opts | The FindOptions option (None or Traverse). |
IException |
References _FILEINFO_, Isis::PvlObject::beginGroup(), Isis::PvlObject::endGroup(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Isis::PvlObject::Traverse, and Isis::IException::Unknown.
|
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 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 a keyword with a specified name.
name | The name of the keyword to look for. |
iException::Pvl | The keyword doesn't exist. |
|
inherited |
Find a keyword with a specified name.
name | The name of the keyword to look for. |
IException | The keyword doesn't exist. |
|
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. |
|
inherited |
Find the index of a keyword, using iterators.
name | The name of the keyword. |
beg | The beginning iterator. |
end | The ending iterator. |
|
inherited |
Finds a keyword in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within this one.
Note: This member has the same name as the PvlContainer and hides those implementations, but with the using statement the parents FindKeyword members ar made visible. Note: If more than one occurance of a Keyword appears below this Object no guarantee is made as to which one is returned.
kname | The name of the keyword to look for. |
opts | The FindOptions option (None or Traverse). |
IException |
References _FILEINFO_, Isis::PvlContainer::begin(), Isis::PvlContainer::end(), Isis::PvlObject::group(), Isis::PvlContainer::m_filename, Isis::PvlObject::None, and Isis::IException::Unknown.
Referenced by Isis::ControlNetDiff::compare(), Isis::CorrelationMatrix::CorrelationMatrix(), Isis::CubeIoHandler::CubeIoHandler(), Isis::Cube::deleteBlob(), Isis::SpicePosition::LoadCache(), Isis::SpiceRotation::LoadCache(), Isis::LroWideAngleCamera::LroWideAngleCamera(), Isis::ProcessImportPds::ProcessLabel(), Isis::Target::radiiGroup(), Isis::SsiCamera::SsiCamera(), Isis::ProcessExportPds::StandardAllMapping(), Isis::PvlObject::validateObject(), and validatePvl().
|
inherited |
Find the index of a keyword, using iterators.
name | The name of the keyword. |
beg | The beginning iterator. |
end | The ending iterator. |
|
inlineinherited |
Find the index of object with a specified name, between two indexes.
name | The name of the object to find. |
beg | The lower index. |
end | The higher index. |
References Isis::PvlContainer::end(), and Isis::PvlContainer::name().
Referenced by Isis::SerialNumberList::add(), Isis::Albedo::Albedo(), Isis::AlbedoAtm::AlbedoAtm(), Isis::PhotometricFunction::algorithmName(), Isis::AlphaCube::AlphaCube(), Isis::AtmosModel::AtmosModel(), Isis::AutoReg::AutoReg(), Isis::Camera::Camera(), Isis::ControlNetDiff::compare(), Isis::Cube::copy(), Isis::AtmosModelFactory::Create(), Isis::PhotoModelFactory::Create(), Isis::NormModelFactory::Create(), Isis::LabelTranslationManager::CreateContainer(), Isis::ProcessExportPds::CreateQubeLabel(), Isis::ProcessExportPds::CreateSpectralQubeLabel(), Isis::CubeIoHandler::CubeIoHandler(), Isis::CubeTileHandler::CubeTileHandler(), Isis::Cube::deleteGroup(), Isis::PvlObject::deleteObject(), Isis::Cube::externalCubeFileName(), Isis::ProcessExportPds4::fileAreaObservational(), Isis::KernelDb::findAll(), Isis::Shape::fromPvl(), Isis::Image::fromPvl(), Isis::MosaicSceneWidget::fromPvl(), Isis::Equalization::fromPvl(), Isis::CubeViewport::getBandFilterName(), Isis::PvlToXmlTranslationManager::GetContainer(), Isis::PvlToPvlTranslationManager::GetContainer(), Isis::Cube::group(), Isis::Hapke::Hapke(), Isis::Cube::hasGroup(), Isis::PvlObject::hasObject(), Isis::ImageImporter::import(), Isis::Equalization::importStatistics(), Isis::DbAccess::load(), Isis::LunarLambert::LunarLambert(), Isis::LunarLambertEmpirical::LunarLambertEmpirical(), Isis::KernelDb::matches(), Isis::Minnaert::Minnaert(), Isis::MinnaertEmpirical::MinnaertEmpirical(), Isis::Mixed::Mixed(), Isis::MoonAlbedo::MoonAlbedo(), Isis::Cube::open(), Isis::AutoReg::Parse(), Isis::PhotoModel::PhotoModel(), Isis::ProcessImportPds::ProcessLabel(), Isis::Process::PropagateLabels(), Isis::Cube::putGroup(), Isis::Target::radiiGroup(), Isis::MosaicController::readProject(), Isis::BandSpinBox::setBandBin(), Isis::Process::SetOutputCube(), Isis::ProcessMosaic::SetOutputCube(), Isis::ControlNet::SetTarget(), Isis::Shade::Shade(), Isis::ShadeAtm::ShadeAtm(), Isis::ProcessExportPds4::StandardAllMapping(), Isis::ProcessExportPds::StandardAllMapping(), Isis::ProcessExportPds4::standardBandBin(), Isis::ProcessExportPds::StandardImageImage(), Isis::ProcessExportPds4::standardInstrument(), Isis::ProcessExportPds::StandardJP2Image(), Isis::ProcessMosaic::StartProcess(), Isis::Topo::Topo(), Isis::TopoAtm::TopoAtm(), Isis::ControlNetVersioner::toPvl(), Isis::ProcessExportPds4::translateBandBinSpectrumBinSet(), Isis::ProcessExportPds4::translateBandBinSpectrumUniform(), Isis::AlphaCube::UpdateGroup(), Isis::SubArea::UpdateLabel(), Isis::CubeTileHandler::updateLabels(), Isis::CubeBsqHandler::updateLabels(), Isis::SpectralPlotTool::updateTool(), Isis::PvlObject::validateObject(), validatePvl(), and Isis::Blob::Write().
|
inlineinherited |
Find the index of object with a specified name, between two indexes.
name | The name of the object to find. |
beg | The lower index. |
end | The higher index. |
References Isis::PvlContainer::end(), and Isis::PvlContainer::name().
|
inherited |
Find an object within the current PvlObject.
name | The object name to look for. |
opts | The FindOptions option (None or Traverse). |
IException |
References _FILEINFO_, Isis::PvlObject::beginObject(), Isis::PvlObject::endObject(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Isis::PvlObject::Traverse, and Isis::IException::Unknown.
|
inherited |
Find an object within the current PvlObject.
name | The object name to look for. |
opts | The FindOptions option (None or Traverse). |
IException |
References _FILEINFO_, Isis::PvlObject::beginObject(), Isis::PvlObject::endObject(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Isis::PvlObject::Traverse, and Isis::IException::Unknown.
|
inlineinherited |
References Isis::PvlKeyword::format(), and Isis::PvlContainer::m_name.
Referenced by append(), Isis::ProcessExportPds::CreateImageLabel(), Isis::ProcessExportPds::FixedJP2ImageRoot(), Isis::operator<<(), Isis::PvlContainer::setFormat(), Isis::ProcessExportPds::StandardImageImage(), Isis::ProcessExportPds::StandardJP2Image(), Isis::ProcessExportPds::StreamJP2ImageRoot(), and write().
|
inlineinherited |
References Isis::PvlContainer::m_formatTemplate.
Referenced by Isis::operator<<().
|
inherited |
Return the group at the specified index.
index | The index of the group. |
IException |
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), and Isis::IException::Programmer.
Referenced by Isis::SessionLog::AddError(), Isis::PvlObject::addGroup(), Isis::LabelTranslationManager::Auto(), Isis::PvlToXmlTranslationManager::Auto(), Isis::PvlToPvlTranslationManager::Auto(), Isis::ControlNetDiff::compare(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::Cube::copy(), Isis::ProcessExportPds4::createUnitMap(), Isis::KernelDb::findAll(), Isis::PvlObject::findKeyword(), Isis::Plugin::GetPlugin(), Isis::PvlObject::hasKeyword(), Isis::Equalization::importStatistics(), Isis::Preference::Load(), Isis::PvlObject::operator+=(), Isis::operator<<(), Isis::Process::PropagateLabels(), Isis::Table::ReadInit(), Isis::Process::SetOutputCube(), Isis::PvlObject::validateObject(), and validatePvl().
|
inherited |
Return the group at the specified index.
index | The index of the group. |
IException |
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), and Isis::IException::Programmer.
|
inlineinherited |
Returns the number of groups contained.
Referenced by Isis::SessionLog::AddError(), Isis::LabelTranslationManager::Auto(), Isis::PvlToXmlTranslationManager::Auto(), Isis::PvlToPvlTranslationManager::Auto(), Isis::ControlNetDiff::compare(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::Cube::copy(), Isis::ProcessExportPds4::createUnitMap(), Isis::KernelDb::findAll(), Isis::Preference::Load(), Isis::operator<<(), Isis::Process::PropagateLabels(), Isis::Table::ReadInit(), Isis::UserInterface::SaveHistory(), Isis::Process::SetOutputCube(), Isis::IException::toString(), Isis::PvlObject::validateObject(), and validatePvl().
|
inlineinherited |
References Isis::PvlContainer::m_formatTemplate.
Referenced by Isis::operator<<().
|
inlineinherited |
Returns a boolean value based on whether the object has the specified group or not.
name | The name of the group to look for. |
References Isis::PvlObject::beginGroup(), Isis::PvlObject::endGroup(), Isis::PvlObject::findGroup(), and Isis::PvlContainer::name().
Referenced by Isis::SerialNumberList::add(), Isis::ControlNetDiff::addTolerances(), Isis::AlphaCube::AlphaCube(), Isis::ControlNetValidMeasure::ControlNetValidMeasure(), Isis::LabelTranslationManager::CreateContainer(), Isis::Cube::deleteGroup(), Isis::KernelDb::findAll(), Isis::CubeViewport::getBandFilterName(), Isis::PvlToXmlTranslationManager::GetContainer(), Isis::PvlToPvlTranslationManager::GetContainer(), Isis::Cube::hasGroup(), Isis::Preference::Load(), Isis::operator<<(), Isis::AutoReg::Parse(), Isis::Cube::putGroup(), Isis::ProcessGroundPolygons::SetStatCubes(), Isis::ControlNet::SetTarget(), Isis::AlphaCube::UpdateGroup(), Isis::PvlObject::validateObject(), and validatePvl().
|
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(), validatePvl(), Isis::ControlNetValidMeasure::ValidatePvlDN(), Isis::ControlNetValidMeasure::ValidatePvlEmissionAngle(), Isis::ControlNetValidMeasure::ValidatePvlFromEdge(), Isis::ControlNetValidMeasure::ValidatePvlIncidenceAngle(), Isis::ControlNetValidMeasure::ValidatePvlResidualTolerances(), Isis::ControlNetValidMeasure::ValidatePvlResolution(), and Isis::ControlNetValidMeasure::ValidatePvlShiftTolerances().
|
inherited |
Check to see if a keyword exists.
name | The name of the keyword to check for. |
|
inherited |
See if a keyword is in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within this one.
Note: This member has the same name as the PvlContainer and hides those implementations, but with the using statement the parents FindKeyword members ar made visible.
kname | The name of the keyword to look for. |
opts | The FindOptions option (None or Traverse). |
References Isis::PvlContainer::begin(), Isis::PvlContainer::end(), Isis::PvlObject::group(), and Isis::PvlObject::None.
Referenced by Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::CubeTileHandler::CubeTileHandler(), Isis::MosaicAreaTool::fromPvl(), Isis::ImageFileListWidget::fromPvl(), Isis::Shape::fromPvl(), Isis::MosaicControlNetTool::fromPvl(), Isis::MosaicGridTool::fromPvl(), Isis::Image::fromPvl(), Isis::Cube::hasTable(), Isis::Shape::isFootprintable(), Isis::Image::isFootprintable(), Isis::SpicePosition::LoadCache(), Isis::SpiceRotation::LoadCache(), Isis::SpiceRotation::loadPCFromTable(), Isis::Cube::open(), Isis::operator<<(), Isis::Target::radiiGroup(), Isis::Table::ReadInit(), Isis::ProcessExportPds::StandardAllMapping(), Isis::ProcessExportPds::StandardImageImage(), Isis::ProcessExportPds::StandardJP2Image(), Isis::PvlObject::validateObject(), validatePvl(), and Isis::Table::WriteInit().
|
inlineinherited |
Returns a boolean value based on whether the object exists in the current PvlObject or not.
name | The name of the object to search for. |
References Isis::PvlObject::beginObject(), Isis::PvlObject::endObject(), Isis::PvlObject::findObject(), and Isis::PvlContainer::name().
Referenced by Isis::LabelTranslationManager::CreateContainer(), Isis::ProjectionFactory::CreateForCube(), Isis::ProcessExportPds::CreateQubeLabel(), Isis::ProcessExportPds::CreateSpectralQubeLabel(), Isis::KernelDb::findAll(), Isis::MosaicSceneWidget::fromPvl(), Isis::PvlToXmlTranslationManager::GetContainer(), Isis::PvlToPvlTranslationManager::GetContainer(), Isis::operator<<(), Isis::Photometry::Photometry(), Isis::Process::PropagateLabels(), Isis::Target::radiiGroup(), Isis::MosaicController::readProject(), Isis::ProjectionFactory::RingsCreateForCube(), Isis::ControlNet::SetTarget(), Isis::ProcessExportPds4::StandardAllMapping(), Isis::ProcessExportPds::StandardAllMapping(), Isis::PvlObject::validateObject(), and validatePvl().
|
inlineinherited |
References Isis::PvlKeyword::indent(), and Isis::PvlContainer::m_name.
Referenced by Isis::operator<<(), and Isis::PvlContainer::setIndent().
|
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(), Isis::PvlGroup::validateGroup(), Isis::PvlObject::validateObject(), 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<<(), Isis::PvlGroup::operator==(), Isis::PvlObject::operator==(), Isis::operator>>(), Isis::PvlContainer::operator[](), Isis::Cube::putGroup(), Isis::BandSpinBox::setBandBin(), Isis::PvlContainer::setName(), Isis::Process::SetOutputCube(), Isis::OverlapStatistics::toPvl(), Isis::PvlGroup::validateGroup(), Isis::PvlObject::validateObject(), validatePvl(), and Isis::Blob::Write().
|
inlineinherited |
References Isis::PvlContainer::m_name.
Referenced by Isis::operator<<().
|
inlineinherited |
References Isis::PvlContainer::m_name.
|
inherited |
Return the object at the specified index.
index | The index of the object. |
IException::Programmer |
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), and Isis::IException::Programmer.
Referenced by Isis::ControlNetDiff::compare(), Isis::Cube::copy(), Isis::ProcessExportPds4::createUnitMap(), Isis::Cube::deleteBlob(), Isis::Blob::Find(), Isis::KernelDb::findAll(), Isis::ImageFileListWidget::fromPvl(), Isis::Cube::hasTable(), Isis::Shape::isFootprintable(), Isis::Image::isFootprintable(), Isis::operator<<(), Isis::Process::PropagateTables(), Isis::RemoveHiBlobs(), Isis::Process::SetOutputCube(), Isis::PvlObject::validateObject(), validatePvl(), Isis::Blob::Write(), and Isis::Process::WriteHistory().
|
inherited |
Return the object at the specified index.
index | The index of the object. |
IException::Programmer |
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), and Isis::IException::Programmer.
|
inlineinherited |
Returns the number of objects.
Referenced by Isis::ProcessExportPds4::createUnitMap(), Isis::Blob::Find(), Isis::KernelDb::findAll(), Isis::ImageFileListWidget::fromPvl(), Isis::Shape::isFootprintable(), Isis::Image::isFootprintable(), Isis::operator<<(), Isis::Process::PropagateTables(), Isis::RemoveHiBlobs(), Isis::Process::SetOutputCube(), Isis::PvlObject::validateObject(), validatePvl(), Isis::Blob::Write(), and Isis::Process::WriteHistory().
|
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 PvlKeyword, it will call the addKeyword() method.
keyword | The PvlKeyword to be added. |
|
inlineinherited |
References Isis::PvlObject::addGroup(), and Isis::PvlObject::group().
|
inlineinherited |
References Isis::PvlObject::addObject().
|
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::PvlObject::operator=().
|
inlineinherited |
Compares two PvlObjects.
Returns a boolean value based on the StringEqual() method.
object | The PvlObject 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[]().
void Isis::Pvl::read | ( | const QString & | file | ) |
Loads PVL information from a stream.
file | A file containing PVL information |
Isis::iException::Io |
References _FILEINFO_, Isis::FileName::expanded(), Isis::Message::FileOpen(), Isis::IException::Io, Isis::PvlContainer::m_filename, and Isis::IException::Unknown.
Referenced by Isis::PvlTranslationTable::AddTable(), Isis::InterestOperatorFactory::Create(), Isis::PolygonSeederFactory::Create(), Isis::AtmosModelFactory::Create(), Isis::PhotoModelFactory::Create(), Isis::AutoRegFactory::Create(), Isis::NormModelFactory::Create(), Isis::Preference::Load(), Pvl(), Isis::Blob::Read(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::UserInterface::SaveHistory(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::ProcessImportPds::SetPdsFile(), and Isis::ProcessExportPds4::translateUnits().
|
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 append(), Isis::operator<<(), and write().
void Isis::Pvl::setFormatTemplate | ( | Isis::Pvl & | temp | ) |
void Isis::Pvl::setFormatTemplate | ( | const QString & | filename | ) |
References Isis::PvlContainer::m_formatTemplate.
|
inlineinherited |
References Isis::PvlContainer::m_formatTemplate.
Referenced by Isis::operator<<(), and 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().
|
inline |
Sets the terminator used to signify the end of the PVL informationDefaults to "END".
term | The user-defined terminator |
Referenced by Isis::History::History(), Isis::OriginalLabel::OriginalLabel(), and Isis::CameraStatistics::toPvl().
|
inline |
Returns the terminator used to signify the end of the PVL informationDefaults to "END".
Referenced by append(), Isis::operator<<(), and write().
|
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 Isis::PvlGroup::validateGroup(), Isis::PvlObject::validateObject(), and validatePvl().
|
inherited |
Validate Object.
Validate a PvlObject, comparing against corresponding Template PvlObject.
If the Objects are nested, it will recursively validate the PvlObject.
Template PvlObject has the format: Object = (objectName, optional/required)
pvlObj- | PvlObject to be validated |
References _FILEINFO_, Isis::PvlObject::deleteGroup(), Isis::PvlObject::deleteObject(), Isis::PvlObject::findGroup(), Isis::PvlContainer::findKeyword(), Isis::PvlObject::findKeyword(), Isis::PvlObject::findObject(), Isis::PvlObject::group(), Isis::PvlObject::groups(), Isis::PvlObject::hasGroup(), Isis::PvlContainer::hasKeyword(), Isis::PvlObject::hasKeyword(), Isis::PvlObject::hasObject(), Isis::PvlContainer::keywords(), Isis::PvlContainer::name(), Isis::PvlObject::object(), Isis::PvlObject::objects(), Isis::IException::User, Isis::PvlContainer::validateAllKeywords(), Isis::PvlGroup::validateGroup(), and Isis::PvlObject::validateObject().
Referenced by Isis::PvlObject::validateObject(), and validatePvl().
Validate a Pvl with the Template Pvl.
Validate a Pvl, comparing against corresponding Template Pvl It validates all the Objects, Groups and Keywords.
References _FILEINFO_, Isis::PvlObject::deleteGroup(), Isis::PvlObject::deleteObject(), Isis::PvlObject::findGroup(), Isis::PvlContainer::findKeyword(), Isis::PvlObject::findKeyword(), Isis::PvlObject::findObject(), Isis::PvlObject::group(), Isis::PvlObject::groups(), Isis::PvlObject::hasGroup(), Isis::PvlContainer::hasKeyword(), Isis::PvlObject::hasKeyword(), Isis::PvlObject::hasObject(), Isis::PvlContainer::keywords(), Isis::PvlContainer::name(), Isis::PvlObject::object(), Isis::PvlObject::objects(), Pvl(), Isis::IException::User, Isis::PvlContainer::validateAllKeywords(), Isis::PvlGroup::validateGroup(), and Isis::PvlObject::validateObject().
|
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().
void Isis::Pvl::write | ( | const QString & | file | ) |
Opens and writes PVL information to a file and handles the end of line sequence.
file | Name of the file to create. The method will overwrite any existing file. |
Isis::iException::Io |
References _FILEINFO_, Isis::FileName::expanded(), Isis::Message::FileCreate(), Isis::PvlContainer::format(), Isis::PvlFormat::formatEOL(), Isis::IException::Io, Isis::PvlContainer::setFormat(), and terminator().
Referenced by Isis::Stretch::Save(), Isis::UserInterface::SaveHistory(), Isis::FileTool::saveInfo(), Isis::MosaicController::saveProject(), Isis::SessionLog::Write(), Isis::Blob::Write(), and Isis::ControlNet::Write().
|
friend |
This stream will not handle the end of line sequence.
os | |
pvl |
|
friend |
|
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=(), 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().