Isis 3 Programmer Reference
|
Contains Pvl Groups and Pvl Objects. More...
#include <PvlObject.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 | |
PvlObject () | |
Creates a blank PvlObject. More... | |
PvlObject (const QString &name) | |
Creates a PvlObject with a specified name. More... | |
PvlObject (const PvlObject &other) | |
Copy constructor. More... | |
PvlObject (const QString &name, const nlohmann::json &jsonobj) | |
Creates a PvlObject with a specified name converted from a json object. 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... | |
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... | |
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... | |
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... | |
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 | 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... | |
const PvlObject & | operator= (const PvlObject &other) |
This is an assignment operator. More... | |
void | validateObject (PvlObject &pPvlObj) |
Validate Object. 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 &name) const |
Check to see if a keyword exists. More... | |
void | operator+= (const PvlKeyword &keyword) |
When you use the += operator with a PvlKeyword, it will call the addKeyword() method. 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... | |
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 |
Private Attributes | |
QList< PvlObject > | m_objects |
A vector of PvlObjects contained in the current PvlObject. More... | |
QList< PvlGroup > | m_groups |
A vector of PvlGroups contained in the current PvlObject. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, Isis::PvlObject &object) |
Outputs the PvlObject data to a specified output stream. More... | |
std::istream & | operator>> (std::istream &is, PvlObject &result) |
This method reads a PvlObject from the input stream. More... | |
Contains Pvl Groups and Pvl Objects.
Contains Pvl groups and objects. Organizes text on output to be indented correctly.
Definition at line 61 of file PvlObject.h.
|
inherited |
The const keyword iterator.
Definition at line 160 of file PvlContainer.h.
typedef QList<Isis::PvlGroup>::iterator Isis::PvlObject::PvlGroupIterator |
The counter for groups.
Definition at line 83 of file PvlObject.h.
|
inherited |
The keyword iterator.
Definition at line 157 of file PvlContainer.h.
typedef QList<PvlObject>::iterator Isis::PvlObject::PvlObjectIterator |
The counter for objects.
Definition at line 227 of file PvlObject.h.
A collection of options to use when finding.
Enumerator | |
---|---|
None | Search only the current level. |
Traverse | Search child objects. |
Definition at line 154 of file PvlObject.h.
|
inherited |
Contains both modes: Append or Replace.
Definition at line 95 of file PvlContainer.h.
Isis::PvlObject::PvlObject | ( | ) |
Creates a blank PvlObject.
Definition at line 26 of file PvlObject.cpp.
Isis::PvlObject::PvlObject | ( | const QString & | name | ) |
Creates a PvlObject with a specified name.
name | The name of the PvlObject. |
Definition at line 35 of file PvlObject.cpp.
Isis::PvlObject::PvlObject | ( | const PvlObject & | other | ) |
Isis::PvlObject::PvlObject | ( | const QString & | name, |
const nlohmann::json & | jsonobj | ||
) |
Creates a PvlObject with a specified name converted from a json object.
TODO: Needs to be more robust, right now exists in order to convert an Ale ISD NaifKeywords group over to an ISIS compatible version.
name | The name of the PvlObject. |
json | Json object to convert to PVL |
Definition at line 60 of file PvlObject.cpp.
References Isis::PvlContainer::addKeyword(), Isis::PvlKeyword::setName(), and Isis::PvlKeyword::setValue().
|
inline |
Add a group to the object.
group | The PvlGroup object to add. |
Definition at line 186 of file PvlObject.h.
References group(), and m_groups.
Referenced by 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::FileTool::copyCubeDetails(), Isis::Cube::create(), Isis::LabelTranslationManager::CreateContainer(), Isis::UserInterface::evaluateOption(), Isis::Application::History(), Isis::ImageImporter::import(), Isis::operator<<(), Isis::operator>>(), Isis::Process::PropagateLabels(), Isis::Cube::putGroup(), Isis::AutoReg::RegistrationStatistics(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::UserInterface::SaveHistory(), Isis::Process::SetOutputCube(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::Equalization::setResults(), Isis::ControlNetVersioner::toPvl(), Isis::CameraStatistics::toPvl(), Isis::IException::toPvl(), Isis::MultivariateStatistics::toPvl(), Isis::OverlapStatistics::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. |
Definition at line 202 of file PvlContainer.cpp.
References Isis::PvlKeyword::name().
Referenced by Isis::ControlNetDiff::addUniqueMeasure(), Isis::ControlNetDiff::addUniquePoint(), Isis::NaifStatus::CheckErrors(), Isis::ControlNetDiff::compare(), Isis::ControlNetDiff::compareGroups(), Isis::CameraFactory::Create(), Isis::ShapeModelFactory::create(), Isis::ProjectionFactory::CreateForCube(), Isis::ControlNetDiff::diff(), Isis::ProcessImportFits::extractFitsLabels(), Isis::ExportPdsTable::fillMetaData(), Isis::Application::GetEnviromentInfo(), Isis::CameraPointInfo::GetPointInfo(), Isis::Application::GetUnameInfo(), operator+=(), Isis::operator<<(), Isis::operator>>(), Isis::GridPolygonSeeder::PluginParameters(), Isis::LimitPolygonSeeder::PluginParameters(), Isis::PolygonSeeder::PluginParameters(), Isis::StripPolygonSeeder::PluginParameters(), PvlObject(), Isis::Target::radiiGroup(), Isis::ProjectionFactory::RingsCreateForCube(), Isis::ProcessMapMosaic::RingsSetOutputCube(), 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 |
Definition at line 233 of file PvlContainer.cpp.
|
inline |
Add a PvlObject.
object | The PvlObject to add. |
Definition at line 307 of file PvlObject.h.
References Isis::PvlContainer::fileName(), and m_objects.
Referenced by Isis::ControlNetDiff::addUniquePoint(), Isis::ControlNetDiff::compare(), Isis::Cube::copy(), Isis::Cube::create(), Isis::LabelTranslationManager::CreateContainer(), Isis::ProcessExportPds::ExportTable(), Isis::ExportPdsTable::fillMetaData(), Isis::ProcessExportPds::FixedJP2ImageRoot(), Isis::operator<<(), Isis::operator>>(), Isis::Process::PropagateLabels(), Isis::Process::SetOutputCube(), Isis::Equalization::setResults(), Isis::ProcessExportPds::StreamJP2ImageRoot(), Isis::ControlNetVersioner::toPvl(), Isis::OverlapStatistics::toPvl(), Isis::Blob::Write(), and Isis::ControlNetVersioner::write().
|
inlineinherited |
Return the beginning iterator.
Definition at line 178 of file PvlContainer.h.
References Isis::PvlContainer::m_keywords.
Referenced by Isis::PvlToPvlTranslationManager::DoTranslation(), findKeyword(), hasKeyword(), Isis::PvlTranslationTable::InputGroup(), Isis::DbProfile::loadkeys(), Isis::PvlFlatMap::loadKeywords(), Isis::pvlContainerToJSON(), Isis::PvlTranslationTable::Translate(), and Isis::XmlToPvlTranslationManager::Translate().
|
inlineinherited |
Return the const beginning iterator.
Definition at line 186 of file PvlContainer.h.
References Isis::PvlContainer::m_keywords.
|
inline |
Returns the beginning group index.
Definition at line 91 of file PvlObject.h.
References m_groups.
Referenced by deleteGroup(), findGroup(), Isis::Cube::fromLabel(), hasGroup(), Isis::DbAccess::load(), and Isis::BundleTargetBody::readFromPvl().
|
inline |
Returns the beginning group index.
Definition at line 100 of file PvlObject.h.
References m_groups.
|
inline |
Returns the index of the beginning object.
Definition at line 235 of file PvlObject.h.
References m_objects.
Referenced by Isis::StretchTool::deleteFromCube(), deleteObject(), findObject(), Isis::Equalization::fromPvl(), hasObject(), Isis::ImportPdsTable::loadLabel(), Isis::StretchTool::loadStretchFromCube(), and Isis::StretchTool::saveStretchToCube().
|
inline |
Returns the const index of the beginning object.
Definition at line 244 of file PvlObject.h.
References m_objects.
|
inherited |
Removes keywords from the container that have BOTH the same name and value.
Definition at line 136 of file PvlContainer.cpp.
|
inline |
Remove everything from the current PvlObject.
Definition at line 341 of file PvlObject.h.
References Isis::PvlContainer::clear(), m_groups, and m_objects.
Referenced by IsisAml::CommandLine(), and Isis::ControlNetVersioner::readProtobufV0001().
void Isis::PvlObject::deleteGroup | ( | const int | index | ) |
Remove a group from the current PvlObject.
index | The index of the PvlGroup to remove. |
IException |
Definition at line 428 of file PvlObject.cpp.
References beginGroup(), Isis::PvlContainer::m_filename, m_groups, Isis::PvlContainer::name(), Isis::PvlContainer::type(), and Isis::IException::Unknown.
void Isis::PvlObject::deleteGroup | ( | const QString & | name | ) |
Remove a group from the current PvlObject.
name | The name of the PvlGroup to remove. |
IException |
Definition at line 408 of file PvlObject.cpp.
References beginGroup(), endGroup(), findGroup(), Isis::PvlContainer::m_filename, m_groups, Isis::PvlContainer::name(), Isis::PvlContainer::type(), and Isis::IException::Unknown.
Referenced by Isis::Cube::deleteGroup(), Isis::UserInterface::SaveHistory(), validateObject(), and Isis::Pvl::validatePvl().
|
inherited |
Remove the specified keyword.
index | The index of the keyword to remove. |
iException::Pvl | Keyword doesn't exist. |
Definition at line 115 of file PvlContainer.cpp.
|
inherited |
Remove a specified keyword.
name | The name of the keyword to remove. |
iException::Pvl | Keyword doesn't exist. |
Definition at line 97 of file PvlContainer.cpp.
Referenced by IsisAml::CommandLine(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::MosaicController::convertV1ToV2(), Isis::ControlPointV0001::copy(), Isis::ControlPointV0002::copy(), Isis::ControlPointV0003::copy(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::PvlContainer::operator-=(), Isis::GridPolygonSeeder::Parse(), Isis::LimitPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::StripPolygonSeeder::Parse(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::ProcessExportPds::StandardImageImage(), Isis::ProcessExportPds::StandardJP2Image(), Isis::SubArea::UpdateLabel(), Isis::TiffImporter::upperLeftXY(), Isis::PvlContainer::validateAllKeywords(), and Isis::PvlContainer::validateRepeatOption().
void Isis::PvlObject::deleteObject | ( | const int | index | ) |
Remove an object from the current PvlObject.
index | The index of the PvlObject to remove. |
IException |
Definition at line 386 of file PvlObject.cpp.
References beginObject(), Isis::PvlContainer::m_filename, m_objects, Isis::PvlContainer::name(), Isis::PvlContainer::type(), and Isis::IException::Unknown.
void Isis::PvlObject::deleteObject | ( | const QString & | name | ) |
Remove an object from the current PvlObject.
name | The name of the PvlObject to remove. |
IException |
Definition at line 366 of file PvlObject.cpp.
References beginObject(), endObject(), findObject(), Isis::PvlContainer::m_filename, m_objects, Isis::PvlContainer::name(), Isis::PvlContainer::type(), and Isis::IException::Unknown.
Referenced by Isis::Cube::deleteBlob(), Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), Isis::RemoveHiBlobs(), validateObject(), and Isis::Pvl::validatePvl().
|
inlineinherited |
Return the ending iterator.
Definition at line 194 of file PvlContainer.h.
References Isis::PvlContainer::m_keywords.
Referenced by Isis::PvlToPvlTranslationManager::DoTranslation(), findGroup(), findKeyword(), findObject(), hasKeyword(), Isis::PvlTranslationTable::InputGroup(), Isis::DbProfile::loadkeys(), Isis::PvlFlatMap::loadKeywords(), Isis::pvlContainerToJSON(), Isis::PvlTranslationTable::Translate(), and Isis::XmlToPvlTranslationManager::Translate().
|
inlineinherited |
Return the const ending iterator.
Definition at line 202 of file PvlContainer.h.
References Isis::PvlContainer::m_keywords.
|
inline |
Returns the ending group index.
Definition at line 109 of file PvlObject.h.
References m_groups.
Referenced by deleteGroup(), findGroup(), Isis::Cube::fromLabel(), hasGroup(), Isis::DbAccess::load(), and Isis::BundleTargetBody::readFromPvl().
|
inline |
Returns the const ending group index.
Definition at line 118 of file PvlObject.h.
References m_groups.
|
inline |
Returns the index of the ending object.
Definition at line 253 of file PvlObject.h.
References m_objects.
Referenced by deleteObject(), findObject(), Isis::Equalization::fromPvl(), hasObject(), and Isis::ImportPdsTable::loadLabel().
|
inline |
Returns the const index of the ending object.
Definition at line 262 of file PvlObject.h.
References m_objects.
|
inlineinherited |
Returns the filename used to initialise the Pvl object.
If the object was not initialized using a file, this string is empty.
Definition at line 232 of file PvlContainer.h.
References Isis::PvlContainer::m_filename.
Referenced by addObject(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), Isis::ClipperPushBroomCamera::ClipperPushBroomCamera(), Isis::ObservationNumber::Compose(), Isis::SerialNumber::Compose(), Isis::ProjectionFactory::CreateForCube(), Isis::ProjectionFactory::CreateFromCube(), Isis::DawnVirCamera::DawnVirCamera(), Isis::PvlTranslationTable::findTranslationGroup(), Isis::HrscCamera::HrscCamera(), Isis::Spice::init(), Isis::PvlToPvlTranslationManager::InputKeyword(), Isis::PvlToXmlTranslationManager::InputKeyword(), Isis::ProcessMosaic::MatchBandBinGroup(), Isis::InterestOperator::Parse(), Isis::AutoReg::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::LimitPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::StripPolygonSeeder::Parse(), Isis::PvlEditDialog::PvlEditDialog(), Isis::ProjectionFactory::RingsCreateForCube(), Isis::ProjectionFactory::RingsCreateFromCube(), Isis::RosettaVirtisCamera::RosettaVirtisCamera(), Isis::PvlTranslationTable::Translate(), Isis::ControlPointEditWidget::viewTemplateFile(), Isis::MatchTool::viewTemplateFile(), Isis::QnetTool::viewTemplateFile(), and Isis::StereoTool::viewTemplateFile().
|
inline |
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 |
Definition at line 143 of file PvlObject.h.
References Isis::PvlContainer::end(), and Isis::PvlContainer::name().
Isis::PvlGroup & Isis::PvlObject::findGroup | ( | const QString & | name, |
PvlObject::FindOptions | opts = None |
||
) |
Finds a group within the current PvlObject.
name | The name of the group to look for. |
opts | The FindOptions option (None or Traverse). |
IException |
Definition at line 101 of file PvlObject.cpp.
References beginGroup(), endGroup(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Traverse, and Isis::IException::Unknown.
const Isis::PvlGroup & Isis::PvlObject::findGroup | ( | const QString & | name, |
PvlObject::FindOptions | opts = None |
||
) | const |
Finds a group within the current PvlObject.
name | The name of the group to look for. |
opts | The FindOptions option (None or Traverse). |
IException |
Definition at line 136 of file PvlObject.cpp.
References beginGroup(), endGroup(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Traverse, and Isis::IException::Unknown.
|
inline |
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 |
Definition at line 129 of file PvlObject.h.
References Isis::PvlContainer::end(), and Isis::PvlContainer::name().
Referenced by Isis::SerialNumberList::add(), Isis::ProcessMosaic::AddBandBinGroup(), Isis::ProjectionConfigDialog::addMissingKeywords(), Isis::ControlNetDiff::addTolerances(), Isis::AlphaCube::AlphaCube(), Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Cube::applyVirtualBandsToLabel(), Isis::BulletShapeModel::BulletShapeModel(), Isis::Camera::Camera(), Isis::CameraFactory::CameraVersion(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), IsisAml::CheckFileNamePreference(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), Isis::ClipperPushBroomCamera::ClipperPushBroomCamera(), Isis::ClipperWacFcCamera::ClipperWacFcCamera(), Isis::MdisCamera::computeFocalLength(), Isis::TiffImporter::convertProjection(), Isis::CorrelationMatrix::CorrelationMatrix(), Isis::CameraFactory::Create(), Isis::ProjectionFactory::Create(), Isis::InterestOperatorFactory::Create(), Isis::AutoRegFactory::Create(), Isis::PolygonSeederFactory::Create(), Isis::ShapeModelFactory::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(), deleteGroup(), Isis::DemShape::DemShape(), Isis::PvlToPvlTranslationManager::DoTranslation(), Isis::EmbreeShapeModel::EmbreeShapeModel(), Isis::Equirectangular::Equirectangular(), Isis::UserInterface::evaluateOption(), Isis::KernelDb::findAll(), Isis::Kernels::findKernels(), Isis::ObservationNumber::FindObservationTranslation(), Isis::SerialNumber::FindSerialTranslation(), Isis::MosaicSceneWidget::fromPvl(), Isis::Equalization::fromPvl(), Isis::MultivariateStatistics::fromPvl(), Isis::OverlapStatistics::fromPvl(), Isis::TiffImporter::gdalItems(), Isis::CubeViewport::getBandFilterName(), Isis::ProcessMosaic::GetBandIndex(), Isis::Kernels::getCameraVersion(), Isis::PvlToPvlTranslationManager::GetContainer(), Isis::PvlToXmlTranslationManager::GetContainer(), Isis::Plugin::GetPlugin(), Isis::GroundGrid::GroundGrid(), Isis::Camera::GroundRange(), Isis::Cube::group(), hasGroup(), Isis::Spice::hasKernels(), Isis::HayabusaAmicaCamera::HayabusaAmicaCamera(), Isis::HayabusaNirsCamera::HayabusaNirsCamera(), Isis::HiresCamera::HiresCamera(), Isis::HiriseCamera::HiriseCamera(), Isis::Application::History(), Isis::HrscCamera::HrscCamera(), Isis::Hyb2OncCamera::Hyb2OncCamera(), Isis::IdealCamera::IdealCamera(), Isis::ImportImagesWorkOrder::importConfirmedImages(), Isis::Equalization::importStatistics(), Isis::VimsGroundMap::Init(), Isis::VimsSkyMap::Init(), Isis::Gruen::init(), Isis::Spice::init(), Isis::Image::initCamStats(), Isis::Shape::initCamStats(), Isis::Cube::initCoreFromLabel(), Isis::CameraFactory::initPlugin(), Isis::DatabaseFactory::initPreferences(), Isis::IssNACamera::IssNACamera(), Isis::IssWACamera::IssWACamera(), Isis::JunoCamera::JunoCamera(), Isis::KaguyaMiCamera::KaguyaMiCamera(), Isis::KaguyaTcCamera::KaguyaTcCamera(), Isis::LambertConformal::LambertConformal(), Isis::Stretch::Load(), Isis::DbAccess::load(), Isis::ProjectionConfigDialog::loadFromFile(), Isis::iTime::LoadLeapSecondKernel(), 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::ProcessMosaic::MatchBandBinGroup(), Isis::KernelDb::matches(), Isis::MdisCamera::MdisCamera(), Isis::Mercator::Mercator(), Isis::MexHrscSrcCamera::MexHrscSrcCamera(), 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::InterestOperator::Parse(), Isis::AutoReg::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::LimitPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::StripPolygonSeeder::Parse(), Isis::ControlNetValidMeasure::Parse(), Isis::Planar::Planar(), Isis::PointPerspective::PointPerspective(), Isis::PolarStereographic::PolarStereographic(), Isis::Progress::Progress(), Isis::Projection::Projection(), Isis::Cube::putGroup(), Isis::Target::radiiGroup(), Isis::MocLabels::ReadLabels(), Isis::CissLabels::ReadLabels(), Isis::ControlNetVersioner::readProtobuf(), Isis::ControlNetVersioner::readProtobufV0005(), Isis::PvlKeyword::reform(), Isis::ReseauDistortionMap::ReseauDistortionMap(), Isis::TiffImporter::resolution(), 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::AdvancedTrackTool::TrackMosaicOrigin(), Isis::XmlToPvlTranslationManager::Translate(), Isis::ProcessImportPds::TranslateIsis2Instrument(), Isis::ProcessImportPds::TranslatePdsProjection(), Isis::TransverseMercator::TransverseMercator(), Isis::AlphaCube::UpdateGroup(), Isis::Gui::UpdateHistory(), Isis::TiffImporter::upperLeftXY(), Isis::UvvisCamera::UvvisCamera(), validateObject(), Isis::Pvl::validatePvl(), Isis::VikingCamera::VikingCamera(), Isis::VimsCamera::VimsCamera(), and Isis::VoyagerCamera::VoyagerCamera().
PvlKeyword & Isis::PvlObject::findKeyword | ( | const QString & | kname, |
FindOptions | opts | ||
) |
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 |
Definition at line 177 of file PvlObject.cpp.
References Isis::PvlContainer::begin(), Isis::PvlContainer::end(), findKeyword(), group(), Isis::PvlContainer::m_filename, None, and Isis::IException::Unknown.
Referenced by Isis::ControlNetDiff::compare(), Isis::CorrelationMatrix::CorrelationMatrix(), Isis::CSMCamera::CSMCamera(), Isis::CubeIoHandler::CubeIoHandler(), Isis::Cube::deleteBlob(), Isis::Blob::Find(), Isis::SpicePosition::LoadCache(), Isis::SpiceRotation::LoadCache(), Isis::ImportPdsTable::loadLabel(), Isis::LroWideAngleCamera::LroWideAngleCamera(), Isis::ProcessImportPds::ProcessLabel(), Isis::Target::radiiGroup(), Isis::ControlNetVersioner::readPvlV0001(), Isis::ControlNetVersioner::readPvlV0002(), Isis::ControlNetVersioner::readPvlV0003(), Isis::ControlNetVersioner::readPvlV0004(), Isis::ControlNetVersioner::readPvlV0005(), Isis::SsiCamera::SsiCamera(), Isis::ProcessExportPds::StandardAllMapping(), validateObject(), and Isis::Pvl::validatePvl().
|
inherited |
Find a keyword with a specified name.
name | The name of the keyword to look for. |
iException::Pvl | The keyword doesn't exist. |
Definition at line 62 of file PvlContainer.cpp.
Referenced by IsisAml::CheckFileNamePreference(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), Isis::ControlNetDiff::compare(), Isis::ControlNetDiff::compareGroups(), Isis::CubeIoHandler::CubeIoHandler(), Isis::PvlToPvlTranslationManager::DoTranslation(), Isis::PvlToXmlTranslationManager::doTranslation(), Isis::SpectralPlotWindow::drawBandMarkers(), Isis::ProcessImportFits::extractFitsLabels(), Isis::CubeViewport::getBandFilterName(), Isis::CameraPointInfo::GetPointInfo(), Isis::SpectralPlotTool::getSpectralStatistics(), Isis::PvlTranslationTable::InputGroup(), Isis::PvlToPvlTranslationManager::InputKeyword(), Isis::PvlToXmlTranslationManager::InputKeyword(), Isis::JunoCamera::JunoCamera(), Isis::Stretch::Load(), Isis::ProcessMosaic::MatchDEMShapeModel(), 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(), validateObject(), and Isis::Pvl::validatePvl().
Isis::PvlKeyword & Isis::PvlContainer::findKeyword |
Find a keyword with a specified name.
name | The name of the keyword to look for. |
iException::Pvl | The keyword doesn't exist. |
Definition at line 114 of file PvlContainer.cpp.
Referenced by findKeyword().
|
inherited |
Find a keyword with a specified name.
name | The name of the keyword to look for. |
IException | The keyword doesn't exist. |
Definition at line 80 of file PvlContainer.cpp.
const Isis::PvlKeyword & Isis::PvlContainer::findKeyword |
Find a keyword with a specified name.
name | The name of the keyword to look for. |
IException | The keyword doesn't exist. |
Definition at line 134 of file PvlContainer.cpp.
|
inherited |
Find the index of a keyword, using iterators.
name | The name of the keyword. |
beg | The beginning iterator. |
end | The ending iterator. |
Definition at line 366 of file PvlContainer.cpp.
PvlContainer::ConstPvlKeywordIterator Isis::PvlContainer::findKeyword |
Find the index of a keyword, using iterators.
name | The name of the keyword. |
beg | The beginning iterator. |
end | The ending iterator. |
Definition at line 167 of file PvlContainer.cpp.
|
inherited |
Find the index of a keyword, using iterators.
name | The name of the keyword. |
beg | The beginning iterator. |
end | The ending iterator. |
Definition at line 351 of file PvlContainer.cpp.
PvlContainer::PvlKeywordIterator Isis::PvlContainer::findKeyword |
Find the index of a keyword, using iterators.
name | The name of the keyword. |
beg | The beginning iterator. |
end | The ending iterator. |
Definition at line 163 of file PvlContainer.cpp.
|
inline |
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. |
Definition at line 289 of file PvlObject.h.
References Isis::PvlContainer::end(), and Isis::PvlContainer::name().
PvlObject & Isis::PvlObject::findObject | ( | const QString & | name, |
PvlObject::FindOptions | opts = None |
||
) |
Find an object within the current PvlObject.
name | The object name to look for. |
opts | The FindOptions option (None or Traverse). |
IException |
Definition at line 290 of file PvlObject.cpp.
References beginObject(), endObject(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Traverse, and Isis::IException::Unknown.
const PvlObject & Isis::PvlObject::findObject | ( | const QString & | name, |
FindOptions | opts = None |
||
) | const |
Find an object within the current PvlObject.
name | The object name to look for. |
opts | The FindOptions option (None or Traverse). |
IException |
Definition at line 325 of file PvlObject.cpp.
References beginObject(), endObject(), Isis::PvlContainer::m_filename, Isis::PvlContainer::name(), Traverse, and Isis::IException::Unknown.
|
inline |
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. |
Definition at line 274 of file PvlObject.h.
References Isis::PvlContainer::end(), and Isis::PvlContainer::name().
Referenced by Isis::SerialNumberList::add(), Isis::ProcessMosaic::AddBandBinGroup(), Isis::ProcessMosaic::AddDefaultBandBinGroup(), Isis::Albedo::Albedo(), Isis::AlbedoAtm::AlbedoAtm(), Isis::PhotometricFunction::algorithmName(), Isis::AlphaCube::AlphaCube(), Isis::Cube::applyVirtualBandsToLabel(), Isis::AtmosModel::AtmosModel(), Isis::AutoReg::AutoReg(), Isis::Camera::Camera(), Isis::ControlNetDiff::compare(), Isis::MosaicController::convertV1ToV2(), Isis::Cube::copy(), Isis::FileTool::copyCubeDetails(), Isis::PhotoModelFactory::Create(), Isis::AtmosModelFactory::Create(), Isis::NormModelFactory::Create(), Isis::LabelTranslationManager::CreateContainer(), Isis::ProcessExportPds::CreateQubeLabel(), Isis::ProcessExportPds::CreateSpectralQubeLabel(), Isis::CubeIoHandler::CubeIoHandler(), Isis::CubeTileHandler::CubeTileHandler(), Isis::Cube::deleteGroup(), deleteObject(), Isis::SpectralPlotWindow::drawBandMarkers(), Isis::Cube::externalCubeFileName(), Isis::ProcessExportPds4::fileAreaObservational(), Isis::KernelDb::findAll(), Isis::SerialNumber::FindSerialTranslation(), Isis::Cube::fromLabel(), Isis::MosaicSceneWidget::fromPvl(), Isis::Equalization::fromPvl(), Isis::OverlapStatistics::fromPvl(), Isis::Image::fromPvl(), Isis::Shape::fromPvl(), Isis::CubeViewport::getBandFilterName(), Isis::PvlToPvlTranslationManager::GetContainer(), Isis::PvlToXmlTranslationManager::GetContainer(), Isis::ProcessImportPds::GetProjectionOffsetMults(), Isis::SpectralPlotTool::getSpectralStatistics(), Isis::Cube::group(), Isis::Cube::hasGroup(), hasObject(), Isis::ImageImporter::import(), Isis::Equalization::importStatistics(), Isis::Spice::init(), Isis::Cube::initCoreFromLabel(), Isis::DbAccess::load(), Isis::KernelDb::loadKernelDbFiles(), Isis::ImportPdsTable::loadLabel(), Isis::Target::lookupNaifBodyCode(), Isis::ProcessMosaic::MatchDEMShapeModel(), Isis::KernelDb::matches(), Isis::Cube::open(), Isis::AutoReg::Parse(), Isis::PhotoModel::PhotoModel(), Isis::ProcessImportPds::ProcessLabel(), Isis::Process::PropagateLabels(), Isis::Cube::putGroup(), Isis::Target::radiiGroup(), Isis::ControlNetVersioner::readProtobuf(), Isis::ControlNetVersioner::readProtobufV0001(), Isis::ControlNetVersioner::readProtobufV0002(), Isis::ControlNetVersioner::readProtobufV0005(), Isis::ControlNetVersioner::readPvl(), Isis::Cube::realDataFileLabel(), Isis::Cube::realDataFileName(), Isis::BandTool::setBandBin(), Isis::BandSpinBox::setBandBin(), Isis::BandTool::setList(), Isis::Process::SetOutputCube(), Isis::ControlNet::SetTarget(), Isis::ProcessExportPds4::StandardAllMapping(), Isis::ProcessExportPds::StandardAllMapping(), Isis::ProcessExportPds4::standardBandBin(), Isis::ProcessExportPds::StandardImageImage(), Isis::ProcessExportPds4::standardInstrument(), Isis::ProcessExportPds::StandardJP2Image(), Isis::ProcessMosaic::StartProcess(), Isis::ControlNetVersioner::toPvl(), Isis::AdvancedTrackTool::TrackMosaicOrigin(), Isis::ProcessExportPds4::translateBandBinSpectrumBinSet(), Isis::ProcessExportPds4::translateBandBinSpectrumUniform(), Isis::AlphaCube::UpdateGroup(), Isis::SubArea::UpdateLabel(), Isis::CubeTileHandler::updateLabels(), Isis::CubeBsqHandler::updateLabels(), Isis::SpectralPlotTool::updateTool(), Isis::Equalization::validateInputStatistics(), validateObject(), Isis::Pvl::validatePvl(), and Isis::Blob::Write().
Isis::PvlGroup & Isis::PvlObject::group | ( | const int | index | ) |
Return the group at the specified index.
index | The index of the group. |
IException |
Definition at line 452 of file PvlObject.cpp.
References Isis::Message::ArraySubscriptNotInRange(), m_groups, and Isis::IException::Programmer.
Referenced by addGroup(), Isis::LabelTranslationManager::Auto(), Isis::PvlToPvlTranslationManager::Auto(), Isis::PvlToXmlTranslationManager::Auto(), Isis::ControlNetDiff::compare(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::Cube::copy(), Isis::FileTool::copyCubeDetails(), Isis::ProcessExportPds4::createUnitMap(), Isis::KernelDb::findAll(), findKeyword(), Isis::Plugin::GetPlugin(), Isis::ProcessImportPds::GetProjectionOffsetMults(), hasKeyword(), Isis::Equalization::importStatistics(), Isis::UserInterface::loadHistory(), Isis::KernelDb::loadKernelDbFiles(), Isis::operator<<(), Isis::Process::PropagateLabels(), Isis::Application::SendParentErrors(), Isis::Process::SetOutputCube(), Isis::Table::toBlob(), Isis::Gui::UpdateHistory(), Isis::Equalization::validateInputStatistics(), validateObject(), and Isis::Pvl::validatePvl().
const Isis::PvlGroup & Isis::PvlObject::group | ( | const int | index | ) | const |
Return the group at the specified index.
index | The index of the group. |
IException |
Definition at line 471 of file PvlObject.cpp.
References Isis::Message::ArraySubscriptNotInRange(), m_groups, and Isis::IException::Programmer.
|
inline |
Returns the number of groups contained.
Definition at line 75 of file PvlObject.h.
References m_groups.
Referenced by Isis::LabelTranslationManager::Auto(), Isis::PvlToPvlTranslationManager::Auto(), Isis::PvlToXmlTranslationManager::Auto(), Isis::ControlNetDiff::compare(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::Cube::copy(), Isis::FileTool::copyCubeDetails(), Isis::ProcessExportPds4::createUnitMap(), Isis::KernelDb::findAll(), Isis::ProcessImportPds::GetProjectionOffsetMults(), Isis::UserInterface::loadHistory(), Isis::KernelDb::loadKernelDbFiles(), Isis::operator<<(), Isis::Process::PropagateLabels(), Isis::UserInterface::SaveHistory(), Isis::Application::SendParentErrors(), Isis::Process::SetOutputCube(), Isis::IException::toString(), Isis::Gui::UpdateHistory(), Isis::Equalization::validateInputStatistics(), validateObject(), and Isis::Pvl::validatePvl().
|
inline |
Returns a boolean value based on whether the object has the specified group or not.
name | The name of the group to look for. |
Definition at line 210 of file PvlObject.h.
References beginGroup(), endGroup(), findGroup(), and Isis::PvlContainer::name().
Referenced by Isis::SerialNumberList::add(), Isis::ControlNetDiff::addTolerances(), Isis::AlphaCube::AlphaCube(), Isis::Cube::applyVirtualBandsToLabel(), Isis::ControlNetValidMeasure::ControlNetValidMeasure(), Isis::LabelTranslationManager::CreateContainer(), Isis::Cube::deleteGroup(), Isis::KernelDb::findAll(), Isis::CubeViewport::getBandFilterName(), Isis::PvlToPvlTranslationManager::GetContainer(), Isis::PvlToXmlTranslationManager::GetContainer(), Isis::ProcessMosaic::GetTrackStatus(), Isis::Cube::hasGroup(), Isis::Image::initCamStats(), Isis::Shape::initCamStats(), Isis::DatabaseFactory::initPreferences(), Isis::operator<<(), Isis::AutoReg::Parse(), Isis::Cube::putGroup(), Isis::ControlNetVersioner::readProtobufV0005(), Isis::ProcessGroundPolygons::SetStatCubes(), Isis::ControlNet::SetTarget(), Isis::AlphaCube::UpdateGroup(), validateObject(), and Isis::Pvl::validatePvl().
bool Isis::PvlObject::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.
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). |
Definition at line 236 of file PvlObject.cpp.
References Isis::PvlContainer::begin(), Isis::PvlContainer::end(), group(), hasKeyword(), and None.
Referenced by Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::CubeTileHandler::CubeTileHandler(), Isis::Blob::Find(), Isis::ObservationNumber::FindObservationTranslation(), Isis::MosaicGridTool::fromPvl(), Isis::Image::fromPvl(), Isis::Shape::fromPvl(), Isis::ImageFileListWidget::fromPvl(), Isis::ImportPdsTable::getColumnDescription(), Isis::Cube::hasBlob(), Isis::Spice::init(), Isis::Cube::initCoreFromLabel(), Isis::Image::isFootprintable(), Isis::Shape::isFootprintable(), Isis::SpicePosition::LoadCache(), Isis::SpiceRotation::LoadCache(), Isis::ImportPdsTable::loadLabel(), Isis::SpiceRotation::loadPCFromTable(), Isis::Cube::open(), Isis::operator<<(), Isis::Target::radiiGroup(), Isis::ControlNetVersioner::readPvl(), Isis::Cube::realDataFileLabel(), Isis::Cube::realDataFileName(), Isis::ProcessExportPds::StandardAllMapping(), Isis::ProcessExportPds::StandardImageImage(), Isis::ProcessExportPds::StandardJP2Image(), Isis::Table::toBlob(), validateObject(), and Isis::Pvl::validatePvl().
|
inherited |
Check to see if a keyword exists.
name | The name of the keyword to check for. |
Definition at line 159 of file PvlContainer.cpp.
Referenced by Isis::Latitude::add(), Isis::SerialNumberList::add(), Isis::ProjectionConfigDialog::addMissingKeywords(), Isis::PvlTranslationTable::AddTable(), Isis::Albedo::Albedo(), Isis::AlbedoAtm::AlbedoAtm(), Isis::AtmosModel::AtmosModel(), Isis::BulletShapeModel::BulletShapeModel(), Isis::Camera::Camera(), Isis::CameraFactory::CameraVersion(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), IsisAml::CommandLine(), Isis::ControlNetDiff::compareGroups(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::ControlPointV0001::copy(), Isis::ControlPointV0002::copy(), Isis::ControlPointV0003::copy(), Isis::CameraFactory::Create(), Isis::PhotoModelFactory::Create(), Isis::AtmosModelFactory::Create(), Isis::NormModelFactory::Create(), Isis::ShapeModelFactory::create(), Isis::ProcessExportPds4::createUnitMap(), Isis::ControlNetFilter::CubeConvexHullFilter(), Isis::ControlNetFilter::CubeDistanceFilter(), Isis::ControlNetFilter::CubeNameExpressionFilter(), Isis::ControlNetFilter::CubeNumPointsFilter(), Isis::DemShape::DemShape(), Isis::PvlToPvlTranslationManager::DoTranslation(), Isis::PvlToXmlTranslationManager::doTranslation(), Isis::SpectralPlotWindow::drawBandMarkers(), Isis::EmbreeShapeModel::EmbreeShapeModel(), Isis::Equirectangular::Equirectangular(), Isis::ProcessImportFits::extractFitsLabels(), Isis::KernelDb::findAll(), Isis::Kernels::findKernels(), Isis::FeatureNomenclatureTool::findMissingNomenclature(), Isis::CubeViewport::getBandFilterName(), Isis::Kernels::getCameraVersion(), Isis::SpectralPlotTool::getSpectralStatistics(), Isis::UniversalGroundMap::GroundRange(), Isis::Camera::GroundRange(), Isis::PvlTranslationTable::hasInputDefault(), Isis::Spice::hasKernels(), Isis::HiLab::HiLab(), Isis::IdealCamera::IdealCamera(), Isis::Equalization::importStatistics(), Isis::Spice::init(), Isis::Image::initCamStats(), Isis::Shape::initCamStats(), Isis::DatabaseFactory::initPreferences(), Isis::PvlTranslationTable::InputDefault(), Isis::PvlToPvlTranslationManager::InputHasKeyword(), Isis::PvlToXmlTranslationManager::InputHasKeyword(), Isis::PvlToPvlTranslationManager::InputKeyword(), Isis::PvlToXmlTranslationManager::InputKeyword(), Isis::PvlTranslationTable::InputKeywordName(), Isis::PvlTranslationTable::IsAuto(), Isis::PvlTranslationTable::IsOptional(), Isis::LambertConformal::LambertConformal(), Isis::Latitude::Latitude(), Isis::LoMediumCamera::LoMediumCamera(), Isis::RingPlaneProjection::Mapping(), Isis::TProjection::Mapping(), Isis::ProcessMosaic::MatchBandBinGroup(), Isis::ProcessMosaic::MatchDEMShapeModel(), Isis::KernelDb::matches(), Isis::Mercator::Mercator(), Isis::Mollweide::Mollweide(), Isis::NaifDskShape::NaifDskShape(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::operator<<(), Isis::Orthographic::Orthographic(), Isis::OsirisRexOcamsCamera::OsirisRexOcamsCamera(), Isis::PvlTranslationTable::OutputName(), Isis::PvlTranslationTable::OutputPosition(), Isis::AutoReg::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::LimitPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::StripPolygonSeeder::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::MocLabels::ReadLabels(), Isis::ControlNetVersioner::readProtobuf(), Isis::ControlNetVersioner::readProtobufV0005(), Isis::AutoReg::RegTemplate(), Isis::RingCylindrical::RingCylindrical(), Isis::RingPlaneProjection::RingPlaneProjection(), Isis::Camera::ringRange(), Isis::ProcessMapMosaic::RingsSetOutputCube(), Isis::Robinson::Robinson(), Isis::ProcessImportFits::setFitsFile(), Isis::FileName::Data::setOriginal(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::ProcessImportFits::setProcessFileStructure(), Isis::ControlNet::SetTarget(), Isis::SimpleCylindrical::SimpleCylindrical(), Isis::Sinusoidal::Sinusoidal(), Isis::ProcessExportPds::StandardAllMapping(), Isis::ProcessImportFits::standardInstrumentGroup(), Isis::Target::Target(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::IException::toString(), Isis::TProjection::TProjection(), Isis::PvlTranslationTable::Translate(), Isis::PvlToPvlTranslationManager::Translate(), Isis::XmlToPvlTranslationManager::Translate(), Isis::PvlToXmlTranslationManager::Translate(), Isis::ProcessExportPds4::translateBandBinSpectrumBinSet(), Isis::ProcessExportPds4::translateBandBinSpectrumUniform(), Isis::ProcessImportPds::TranslateIsis2Instrument(), Isis::TransverseMercator::TransverseMercator(), Isis::SubArea::UpdateLabel(), Isis::SpectralPlotTool::updateTool(), Isis::TiffImporter::upperLeftXY(), Isis::PvlContainer::validateAllKeywords(), 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().
bool Isis::PvlContainer::hasKeyword |
Check to see if a keyword exists.
name | The name of the keyword to check for. |
Definition at line 155 of file PvlContainer.cpp.
Referenced by hasKeyword().
|
inline |
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. |
Definition at line 323 of file PvlObject.h.
References beginObject(), endObject(), findObject(), and Isis::PvlContainer::name().
Referenced by Isis::MosaicController::convertV1ToV2(), Isis::LabelTranslationManager::CreateContainer(), Isis::ProjectionFactory::CreateForCube(), Isis::ProcessExportPds::CreateQubeLabel(), Isis::ProcessExportPds::CreateSpectralQubeLabel(), Isis::KernelDb::findAll(), Isis::MosaicSceneWidget::fromPvl(), Isis::PvlToPvlTranslationManager::GetContainer(), Isis::PvlToXmlTranslationManager::GetContainer(), Isis::Gruen::init(), Isis::Spice::init(), Isis::ImportPdsTable::loadLabel(), Isis::Target::lookupNaifBodyCode(), Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), Isis::operator<<(), Isis::Photometry::Photometry(), Isis::Process::PropagateLabels(), Isis::Target::radiiGroup(), Isis::ControlNetVersioner::read(), Isis::ProjectionFactory::RingsCreateForCube(), Isis::ControlNet::SetTarget(), Isis::ProcessExportPds4::StandardAllMapping(), Isis::ProcessExportPds::StandardAllMapping(), validateObject(), and Isis::Pvl::validatePvl().
|
protectedinherited |
Sets the filename to blank.
Definition at line 51 of file PvlContainer.cpp.
|
inlineinherited |
Returns whether the given string is equal to the container name or not.
match | The string to compare to the name. |
Definition at line 72 of file PvlContainer.h.
References Isis::PvlContainer::m_name, and Isis::PvlKeyword::stringEqual().
Referenced by Isis::Cube::copy(), Isis::FileTool::copyCubeDetails(), Isis::Blob::Find(), Isis::KernelDb::findAll(), Isis::Cube::hasBlob(), Isis::IsBlob(), Isis::Image::isFootprintable(), Isis::Shape::isFootprintable(), Isis::UserInterface::loadHistory(), Isis::KernelDb::loadKernelDbFiles(), Isis::RemoveHiBlobs(), Isis::Process::SetOutputCube(), Isis::Gui::UpdateHistory(), and Isis::Process::WriteHistory().
|
inlineinherited |
Returns the number of keywords contained in the PvlContainer.
Definition at line 86 of file PvlContainer.h.
References Isis::PvlContainer::m_keywords.
Referenced by Isis::ProcessMosaic::AddBandBinGroup(), Isis::PvlTranslationTable::AddTable(), Isis::ControlNetDiff::addTolerances(), Isis::Cube::applyVirtualBandsToLabel(), Isis::ControlNetDiff::compare(), Isis::ControlNetDiff::compareGroups(), Isis::ControlPointV0001::ControlPointV0001(), Isis::ControlPointV0002::ControlPointV0002(), Isis::ControlPointV0003::ControlPointV0003(), Isis::MosaicController::convertV1ToV2(), Isis::KernelDb::files(), Isis::ImageFileListWidget::find(), Isis::KernelDb::findAll(), Isis::ObservationNumber::FindObservationTranslation(), Isis::SerialNumber::FindSerialTranslation(), Isis::MosaicSceneWidget::fromPvl(), Isis::CameraPointInfo::GetPointInfo(), Isis::ImageImporter::import(), Isis::Equalization::importStatistics(), Isis::UserInterface::loadHistory(), Isis::KernelDb::loadKernelDbFiles(), Isis::ProcessMosaic::MatchBandBinGroup(), Isis::KernelDb::matches(), Isis::operator<<(), Isis::ControlNetFilter::PointCubeNamesFilter(), Isis::BandTool::setBandBin(), Isis::BandSpinBox::setBandBin(), Isis::BandTool::setList(), Isis::AdvancedTrackTool::TrackMosaicOrigin(), Isis::Gui::UpdateHistory(), Isis::PvlGroup::validateGroup(), validateObject(), Isis::Pvl::validatePvl(), and Isis::PvlContainer::validateRepeatOption().
|
inlineinherited |
Returns the container name.
Definition at line 63 of file PvlContainer.h.
References Isis::PvlContainer::m_name.
Referenced by Isis::PvlTranslationTable::AddTable(), Isis::ControlNetDiff::addTolerances(), Isis::LabelTranslationManager::Auto(), Isis::PvlToPvlTranslationManager::Auto(), Isis::PvlToXmlTranslationManager::Auto(), Isis::ControlPointV0003::ControlPointV0003(), Isis::Cube::copy(), Isis::FileTool::copyCubeDetails(), Isis::CorrelationMatrix::CorrelationMatrix(), Isis::ProcessExportPds4::createUnitMap(), Isis::Cube::deleteBlob(), deleteGroup(), deleteObject(), Isis::PvlToXmlTranslationManager::doTranslation(), Isis::KernelDb::files(), findGroup(), findObject(), Isis::ImageFileListWidget::fromPvl(), hasGroup(), hasObject(), Isis::Image::initCamStats(), Isis::Shape::initCamStats(), Isis::PvlFlatMap::loadGroup(), Isis::UserInterface::loadHistory(), Isis::ImportPdsTable::loadLabel(), Isis::ProcessMosaic::MatchBandBinGroup(), Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), Isis::PvlContainer::operator-=(), Isis::operator<<(), Isis::PvlGroup::operator==(), operator==(), Isis::operator>>(), Isis::PvlContainer::operator[](), Isis::Cube::putGroup(), Isis::BandTool::setBandBin(), Isis::BandSpinBox::setBandBin(), Isis::PvlContainer::setName(), Isis::Process::SetOutputCube(), Isis::OverlapStatistics::toPvl(), Isis::Gui::UpdateHistory(), Isis::PvlGroup::validateGroup(), validateObject(), Isis::Pvl::validatePvl(), and Isis::Blob::Write().
PvlObject & Isis::PvlObject::object | ( | const int | index | ) |
Return the object at the specified index.
index | The index of the object. |
IException::Programmer |
Definition at line 489 of file PvlObject.cpp.
References Isis::Message::ArraySubscriptNotInRange(), m_objects, and Isis::IException::Programmer.
Referenced by Isis::ControlNetDiff::compare(), Isis::MosaicController::convertV1ToV2(), Isis::Cube::copy(), Isis::FileTool::copyCubeDetails(), Isis::ProcessExportPds4::createUnitMap(), Isis::Cube::deleteBlob(), Isis::Blob::Find(), Isis::KernelDb::findAll(), Isis::ImageFileListWidget::fromPvl(), Isis::Cube::hasBlob(), Isis::Image::initCamStats(), Isis::Shape::initCamStats(), Isis::Image::isFootprintable(), Isis::Shape::isFootprintable(), Isis::UserInterface::loadHistory(), Isis::ImportPdsTable::loadLabel(), Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), Isis::operator<<(), Isis::Process::PropagateTables(), Isis::ControlNetVersioner::readPvlV0001(), Isis::ControlNetVersioner::readPvlV0002(), Isis::ControlNetVersioner::readPvlV0003(), Isis::ControlNetVersioner::readPvlV0004(), Isis::ControlNetVersioner::readPvlV0005(), Isis::RemoveHiBlobs(), Isis::History::ReturnHist(), Isis::Process::SetOutputCube(), validateObject(), Isis::Pvl::validatePvl(), Isis::Blob::Write(), and Isis::Process::WriteHistory().
const PvlObject & Isis::PvlObject::object | ( | const int | index | ) | const |
Return the object at the specified index.
index | The index of the object. |
IException::Programmer |
Definition at line 507 of file PvlObject.cpp.
References Isis::Message::ArraySubscriptNotInRange(), m_objects, and Isis::IException::Programmer.
|
inline |
Returns the number of objects.
Definition at line 219 of file PvlObject.h.
References m_objects.
Referenced by Isis::MosaicController::convertV1ToV2(), Isis::FileTool::copyCubeDetails(), Isis::ProcessExportPds4::createUnitMap(), Isis::Blob::Find(), Isis::KernelDb::findAll(), Isis::ImageFileListWidget::fromPvl(), Isis::Cube::hasBlob(), Isis::Image::initCamStats(), Isis::Shape::initCamStats(), Isis::Image::isFootprintable(), Isis::Shape::isFootprintable(), Isis::UserInterface::loadHistory(), Isis::ImportPdsTable::loadLabel(), Isis::operator<<(), Isis::Process::PropagateTables(), Isis::ControlNetVersioner::readPvlV0001(), Isis::ControlNetVersioner::readPvlV0002(), Isis::ControlNetVersioner::readPvlV0003(), Isis::ControlNetVersioner::readPvlV0004(), Isis::ControlNetVersioner::readPvlV0005(), Isis::RemoveHiBlobs(), Isis::Process::SetOutputCube(), validateObject(), Isis::Pvl::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. |
Definition at line 110 of file PvlContainer.h.
|
inline |
When you use the += operator with a PvlKeyword, it will call the addKeyword() method.
keyword | The PvlKeyword to be added. |
Definition at line 110 of file PvlContainer.h.
References Isis::PvlContainer::addKeyword().
|
inlineinherited |
When you use the -= operator with a PvlKeyword object, it will call the deleteKeyword() method.
key | The PvlKeyword object to remove. |
Definition at line 224 of file PvlContainer.h.
References Isis::PvlContainer::deleteKeyword(), and Isis::PvlKeyword::name().
|
inlineinherited |
When you use the -= operator with a (string) name, it will call the deleteKeyword() method.
name | The name of the keyword to remove. |
Definition at line 216 of file PvlContainer.h.
References Isis::PvlContainer::deleteKeyword(), and Isis::PvlContainer::name().
This is an assignment operator.
Definition at line 821 of file PvlObject.cpp.
References m_groups, m_objects, and Isis::PvlContainer::operator=().
Referenced by Isis::Pvl::operator=().
|
inline |
Compares two PvlObjects.
Returns a boolean value based on the StringEqual() method.
object | The PvlObject to compare. |
Definition at line 335 of file PvlObject.h.
References Isis::PvlContainer::name(), and Isis::PvlKeyword::stringEqual().
|
inlineinherited |
When you use the [] operator with a (char) name, it will call the findKeyword() method.
name | The name of the keyword to find. |
Definition at line 130 of file PvlContainer.h.
References Isis::PvlContainer::name(), and Isis::PvlContainer::operator[]().
|
inlineinherited |
When you use the [] operator with a (char) name, it will call the findKeyword() method.
name | The name of the keyword to find. |
Definition at line 151 of file PvlContainer.h.
References Isis::PvlContainer::name(), and 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. |
Definition at line 172 of file PvlContainer.cpp.
|
inherited |
Return the PvlKeyword object at the specified index.
index | The index to use. |
iException::Message | The index is out of bounds. |
Definition at line 187 of file PvlContainer.cpp.
|
inlineinherited |
When you use the [] operator with a (string) name, it will call the findKeyword() method.
name | The name of the keyword to find. |
Definition at line 120 of file PvlContainer.h.
References Isis::PvlContainer::findKeyword(), and Isis::PvlContainer::name().
Referenced by 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. |
Definition at line 141 of file PvlContainer.h.
References Isis::PvlContainer::findKeyword(), and Isis::PvlContainer::name().
|
inlineprotectedinherited |
Sets the filename to the specified string.
filename | The new filename to use. |
Definition at line 301 of file PvlContainer.h.
References Isis::PvlContainer::m_filename.
|
inlineinherited |
Set the name of the container.
Definition at line 56 of file PvlContainer.h.
References Isis::PvlContainer::m_name, Isis::PvlContainer::name(), and Isis::PvlKeyword::setValue().
Referenced by Isis::MosaicController::convertV1ToV2(), Isis::ProcessImportFits::extractFitsLabels(), and Isis::operator>>().
|
inlineinherited |
Returns the container type.
Definition at line 79 of file PvlContainer.h.
References Isis::PvlContainer::m_name, and Isis::PvlKeyword::name().
Referenced by deleteGroup(), 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 |
Definition at line 394 of file PvlContainer.cpp.
References Isis::PvlContainer::deleteKeyword(), Isis::PvlContainer::findKeyword(), Isis::PvlContainer::hasKeyword(), Isis::PvlKeyword::name(), and Isis::PvlKeyword::validateKeyword().
Referenced by Isis::PvlGroup::validateGroup(), validateObject(), and Isis::Pvl::validatePvl().
void Isis::PvlObject::validateObject | ( | PvlObject & | pPvlObj | ) |
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 |
Definition at line 841 of file PvlObject.cpp.
References deleteGroup(), deleteObject(), findGroup(), findKeyword(), Isis::PvlContainer::findKeyword(), findObject(), group(), groups(), hasGroup(), hasKeyword(), Isis::PvlContainer::hasKeyword(), hasObject(), Isis::PvlContainer::keywords(), Isis::PvlContainer::name(), object(), objects(), Isis::IException::User, Isis::PvlContainer::validateAllKeywords(), Isis::PvlGroup::validateGroup(), and validateObject().
Referenced by 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 |
Definition at line 470 of file PvlContainer.cpp.
References Isis::PvlContainer::deleteKeyword(), Isis::PvlContainer::keywords(), Isis::PvlKeyword::name(), and Isis::PvlKeyword::validateKeyword().
|
friend |
Outputs the PvlObject data to a specified output stream.
os | The output stream to write to. |
object | The PvlObject to send to the output stream. |
Definition at line 523 of file PvlObject.cpp.
|
friend |
This method reads a PvlObject from the input stream.
Definition at line 705 of file PvlObject.cpp.
|
protectedinherited |
This contains the filename used to initialize the pvl object.
If the object was not initialized using a filename the string is empty.
Definition at line 283 of file PvlContainer.h.
Referenced by deleteGroup(), deleteObject(), Isis::PvlContainer::fileName(), findGroup(), findKeyword(), findObject(), Isis::Pvl::init(), Isis::PvlContainer::operator=(), Isis::Pvl::read(), and Isis::PvlContainer::setFileName().
A vector of PvlGroups contained in the current PvlObject.
Definition at line 355 of file PvlObject.h.
Referenced by addGroup(), beginGroup(), clear(), deleteGroup(), endGroup(), group(), groups(), operator=(), and PvlObject().
|
protectedinherited |
This is the vector of PvlKeywords the container is holding.
Definition at line 290 of file PvlContainer.h.
Referenced by Isis::PvlContainer::begin(), Isis::PvlContainer::clear(), Isis::PvlContainer::end(), Isis::PvlContainer::keywords(), and Isis::PvlContainer::operator=().
|
protectedinherited |
This is the name keyword.
Definition at line 289 of file PvlContainer.h.
Referenced by Isis::PvlContainer::isNamed(), Isis::PvlContainer::name(), Isis::PvlContainer::operator=(), Isis::PvlContainer::setName(), and Isis::PvlContainer::type().
A vector of PvlObjects contained in the current PvlObject.
Definition at line 353 of file PvlObject.h.
Referenced by addObject(), beginObject(), clear(), deleteObject(), endObject(), object(), objects(), operator=(), and PvlObject().