|
Isis 3.0 Object Programmers' Reference |
Home |
#include <PvlObject.h>
Inheritance diagram for Isis::PvlObject:


Contains Pvl groups and objects. Organizes text on output to be indented correctly.
For internal use only.
Definition at line 57 of file PvlObject.h.
Public Types | |
| typedef std::vector< Isis::PvlGroup >::iterator | PvlGroupIterator |
| The counter for groups. | |
|
typedef std::vector< Isis::PvlGroup >::const_iterator | ConstPvlGroupIterator |
| typedef std::vector< PvlObject >::iterator | PvlObjectIterator |
| The counter for objects. | |
|
typedef std::vector< PvlObject >::const_iterator | ConstPvlObjectIterator |
| None | |
| Search only the current level. | |
| Traverse | |
| Search child objects. | |
| enum | FindOptions { None, Traverse } |
| A collection of options to use when finding. More... | |
| typedef std::vector< PvlKeyword >::iterator | PvlKeywordIterator |
| The keyword iterator. | |
| typedef std::vector< PvlKeyword >::const_iterator | ConstPvlKeywordIterator |
| The const keyword iterator. | |
| Append | |
| Replace | |
| enum | InsertMode { Append, Replace } |
| Contains both modes: Append or Replace. More... | |
Public Member Functions | |
| PvlObject () | |
| Creates a blank PvlObject. | |
| PvlObject (const std::string &name) | |
| Creates a PvlObject with a specified name. | |
| PvlObject (std::vector< Isis::PvlToken > &token, std::vector< Isis::PvlToken >::iterator &pos) | |
| Creates a PvlObject using a vector of tokens and an iterator. | |
| int | Groups () const |
| Returns the number of groups contained. | |
| PvlGroup & | Group (const int index) |
| Return the group at the specified index. | |
| const PvlGroup & | Group (const int index) const |
| Return the group at the specified index. | |
| PvlGroupIterator | BeginGroup () |
| Returns the beginning group index. | |
| ConstPvlGroupIterator | BeginGroup () const |
| Returns the beginning group index. | |
| PvlGroupIterator | EndGroup () |
| Returns the ending group index. | |
| ConstPvlGroupIterator | EndGroup () const |
| Returns the const ending group index. | |
| PvlGroupIterator | FindGroup (const std::string &name, PvlGroupIterator beg, PvlGroupIterator end) |
| Find a group with the specified name, within these indexes. | |
| ConstPvlGroupIterator | FindGroup (const std::string &name, ConstPvlGroupIterator beg, ConstPvlGroupIterator end) const |
| Find a group with the specified name, within these indexes. | |
| PvlKeyword & | FindKeyword (const std::string &kname, FindOptions opts) |
| Finds a keyword in the current PvlObject, or deeper inside other PvlObjects and PvlGroups within this one. | |
| bool | HasKeyword (const std::string &kname, FindOptions opts) const |
| See if a keyword is in the current PvlObject, or deeper inside other PvlObjects and PvlGroups within this one. | |
| Isis::PvlGroup & | FindGroup (const std::string &name, FindOptions opts=None) |
| Finds a group within the current PvlObject. | |
| const Isis::PvlGroup & | FindGroup (const std::string &name, FindOptions opts=None) const |
| Finds a group within the current PvlObject. | |
| void | AddGroup (const Isis::PvlGroup &group) |
| Add a group to the object. | |
| void | operator+= (const Isis::PvlGroup &group) |
| void | operator+= (const Isis::PvlObject &obj) |
| void | DeleteGroup (const std::string &name) |
| Remove a group from the current PvlObject. | |
| void | DeleteGroup (const int index) |
| Remove a group from the current PvlObject. | |
| bool | HasGroup (const std::string &name) const |
| Returns a boolean value based on whether the object has the specified group or not. | |
| int | Objects () const |
| Returns the number of objects. | |
| PvlObject & | Object (const int index) |
| Return the object at the specified index. | |
| const PvlObject & | Object (const int index) const |
| Return the object at the specified index. | |
| PvlObjectIterator | BeginObject () |
| Returns the index of the beginning object. | |
| ConstPvlObjectIterator | BeginObject () const |
| Returns the const index of the beginning object. | |
| PvlObjectIterator | EndObject () |
| Returns the index of the ending object. | |
| ConstPvlObjectIterator | EndObject () const |
| Returns the const index of the ending object. | |
| PvlObjectIterator | FindObject (const std::string &name, PvlObjectIterator beg, PvlObjectIterator end) |
| Find the index of object with a specified name, between two indexes. | |
| ConstPvlObjectIterator | FindObject (const std::string &name, ConstPvlObjectIterator beg, ConstPvlObjectIterator end) const |
| Find the index of object with a specified name, between two indexes. | |
| PvlObject & | FindObject (const std::string &name, FindOptions opts=None) |
| Find an object within the current PvlObject. | |
| const PvlObject & | FindObject (const std::string &name, FindOptions opts=None) const |
| void | AddObject (const PvlObject &object) |
| Add a PvlObject. | |
| void | DeleteObject (const std::string &name) |
| Remove an object from the current PvlObject. | |
| void | DeleteObject (const int index) |
| Remove an object from the current PvlObject. | |
| bool | HasObject (const std::string &name) const |
| Returns a boolean value based on whether the object exists in the current PvlObject or not. | |
| bool | operator== (const PvlObject &object) const |
| Compares two PvlObjects. | |
| void | Clear () |
| Remove everything from the current PvlObject. | |
| void | SetName (const std::string &name) |
| Set the name of the container. | |
| std::string | Name () const |
| Returns the container name. | |
| bool | IsNamed (const std::string &match) |
| Returns whether the given string is equal to the container name or not. | |
| std::string | Type () const |
| Returns the container type. | |
| int | Keywords () const |
| Returns the number of keywords contained in the PvlContainer. | |
| void | AddKeyword (const PvlKeyword &keyword, const InsertMode mode=Append) |
| Add a keyword to the PvlContainer object. | |
| PvlKeywordIterator | AddKeyword (const PvlKeyword &keyword, PvlKeywordIterator pos) |
| Insert a keyword at the specified iterator position. | |
| void | operator+= (const PvlKeyword &keyword) |
| When you use the += operator with a PvlKeyword, it will call the AddKeyword() method. | |
| PvlKeyword & | FindKeyword (const std::string &name) |
| Find a keyword with a specified name. | |
| const PvlKeyword & | FindKeyword (const std::string &name) const |
| Find a keyword with a specified name. | |
| PvlKeywordIterator | FindKeyword (const std::string &name, PvlKeywordIterator beg, PvlKeywordIterator end) |
| Find the index of a keyword, using iterators. | |
| ConstPvlKeywordIterator | FindKeyword (const std::string &name, ConstPvlKeywordIterator beg, ConstPvlKeywordIterator end) const |
| Find the index of a keyword, using iterators. | |
| PvlKeyword & | operator[] (const std::string &name) |
| When you use the [] operator with a (string) name, it will call the FindKeyword() method. | |
| PvlKeyword & | operator[] (const int index) |
| Return the PvlKeyword object at the specified index. | |
| PvlKeyword & | operator[] (const char *name) |
| When you use the [] operator with a (char) name, it will call the FindKeyword() method. | |
| const PvlKeyword & | operator[] (const std::string &name) const |
| When you use the [] operator with a (string) name, it will call the FindKeyword() method. | |
| const PvlKeyword & | operator[] (const int index) const |
| Return the PvlKeyword object at the specified index. | |
| PvlKeyword | operator[] (const char *name) const |
| When you use the [] operator with a (char) name, it will call the FindKeyword() method. | |
| bool | HasKeyword (const std::string &name) const |
| Check to see if a keyword exists. | |
| PvlKeywordIterator | Begin () |
| Return the beginning iterator. | |
| ConstPvlKeywordIterator | Begin () const |
| Return the const beginning iterator. | |
| PvlKeywordIterator | End () |
| Return the ending iterator. | |
| ConstPvlKeywordIterator | End () const |
| Return the const ending iterator. | |
| void | DeleteKeyword (const std::string &name) |
| Remove a specified keyword. | |
| void | DeleteKeyword (const int index) |
| Remove the specified keyword. | |
| void | operator-= (const std::string &name) |
| When you use the -= operator with a (string) name, it will call the DeleteKeyword() method. | |
| void | operator-= (const PvlKeyword &key) |
| When you use the -= operator with a PvlKeyword object, it will call the DeleteKeyword() method. | |
| std::string | Filename () const |
| Returns the filename used to initialise the Pvl object. | |
| void | SetFormatTemplate (PvlContainer &ref) |
| bool | HasFormatTemplate () |
| PvlContainer * | FormatTemplate () |
| PvlFormat * | GetFormat () |
| void | SetFormat (PvlFormat *format) |
| int | Indent () |
| void | SetIndent (int indent) |
| int | Comments () const |
| std::string | Comment (const int index) const |
| void | AddComment (const std::string &comment) |
| PvlKeyword & | GetNameKeyword () |
| const PvlKeyword & | GetNameKeyword () const |
Protected Member Functions | |
| void | Init () |
| Sets the filename to blank. | |
| void | SetFilename (const std::string &filename) |
| Sets the filename to the specified string. | |
Protected Attributes | |
| std::string | p_filename |
| This contains the filename used to initialize the pvl object. | |
| PvlKeyword | p_name |
| This is the name keyword. | |
| std::vector< PvlKeyword > | p_keywords |
| This is the vector of PvlKeywords the container is holding. | |
| PvlContainer * | p_formatTemplate |
Private Attributes | |
| std::vector< PvlObject > | p_objects |
| A vector of PvlObjects contained in the current PvlObject. | |
| std::vector< Isis::PvlGroup > | p_groups |
| A vector of PvlGroups contained in the current PvlObject. | |
typedef std::vector<PvlKeyword>::const_iterator Isis::PvlContainer::ConstPvlKeywordIterator [inherited] |
| typedef std::vector<Isis::PvlGroup>::iterator Isis::PvlObject::PvlGroupIterator |
typedef std::vector<PvlKeyword>::iterator Isis::PvlContainer::PvlKeywordIterator [inherited] |
| typedef std::vector<PvlObject>::iterator Isis::PvlObject::PvlObjectIterator |
enum Isis::PvlContainer::InsertMode [inherited] |
| Isis::PvlObject::PvlObject | ( | ) |
| Isis::PvlObject::PvlObject | ( | const std::string & | name | ) |
Creates a PvlObject with a specified name.
| name | The name of the PvlObject. |
Definition at line 44 of file PvlObject.cpp.
| Isis::PvlObject::PvlObject | ( | std::vector< Isis::PvlToken > & | tokens, | |
| std::vector< Isis::PvlToken >::iterator & | pos | |||
| ) |
Creates a PvlObject using a vector of tokens and an iterator.
| tokens | The vector of tokens to use. | |
| pos | The counter to use. |
| iException::Pvl |
Definition at line 430 of file PvlObject.cpp.
References _FILEINFO_, Isis::PvlKeyword::AddComments(), AddGroup(), Isis::PvlContainer::AddKeyword(), AddObject(), Isis::iException::Message(), Isis::PvlContainer::Name(), Isis::PvlContainer::p_name, Isis::PvlContainer::SetName(), and Isis::PvlKeyword::StringEqual().
| void Isis::PvlObject::AddGroup | ( | const Isis::PvlGroup & | group | ) | [inline] |
Add a group to the object.
| group | The PvlGroup object to add. |
Definition at line 170 of file PvlObject.h.
References p_groups.
Referenced by Isis::SessionLog::AddAccounting(), Isis::SessionLog::AddError(), Isis::InterestOperator::AddGroup(), Isis::SessionLog::AddResults(), Isis::NaifStatus::CheckErrors(), IsisAml::CommandLine(), Isis::PvlTranslationManager::CreateContainer(), Isis::ControlPoint::CreatePvlObject(), Isis::UserInterface::EvaluateOption(), Isis::Preference::Load(), operator+=(), Isis::operator<<(), Isis::Process::PropagateLabels(), Isis::Cube::PutGroup(), Isis::iException::PvlErrors(), PvlObject(), Qisis::FileTool::saveAs(), Isis::UserInterface::SaveHistory(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::Process::SetOutputCube(), Isis::Table::Table(), and Isis::ProcessImportPds::TranslatePdsProjection().
| PvlContainer::PvlKeywordIterator Isis::PvlContainer::AddKeyword | ( | const PvlKeyword & | keyword, | |
| PvlKeywordIterator | pos | |||
| ) | [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 217 of file PvlContainer.cpp.
References Isis::PvlContainer::p_keywords.
| void Isis::PvlContainer::AddKeyword | ( | const PvlKeyword & | keyword, | |
| const InsertMode | mode = Append | |||
| ) | [inherited] |
Add a keyword to the PvlContainer object.
| keyword | The PvlKeyword object to append. | |
| mode | Using the InsertMode value of Append. |
Definition at line 188 of file PvlContainer.cpp.
References Isis::PvlContainer::FindKeyword(), Isis::PvlContainer::HasKeyword(), Isis::PvlKeyword::Name(), and Isis::PvlContainer::p_keywords.
Referenced by Isis::PvlFormat::Add(), Isis::NaifStatus::CheckErrors(), Isis::CameraFactory::Create(), Isis::ProjectionFactory::CreateForCube(), Isis::GetEnviromentInfo(), Isis::CameraPointInfo::GetPointInfo(), Isis::GetUnameInfo(), Isis::PvlContainer::operator+=(), Isis::operator<<(), Isis::operator>>(), Isis::StripPolygonSeeder::PluginParameters(), Isis::PolygonSeeder::PluginParameters(), Isis::LimitPolygonSeeder::PluginParameters(), Isis::GridPolygonSeeder::PluginParameters(), Isis::PvlGroup::PvlGroup(), PvlObject(), and Isis::Stretch::Save().
| void Isis::PvlObject::AddObject | ( | const PvlObject & | object | ) | [inline] |
Add a PvlObject.
| object | The PvlObject to add. |
Definition at line 277 of file PvlObject.h.
References Isis::PvlContainer::Filename(), and p_objects.
Referenced by Isis::History::AddEntry(), Isis::Cube::Create(), Isis::PvlTranslationManager::CreateContainer(), operator+=(), Isis::operator<<(), PvlObject(), Isis::SessionLog::SessionLog(), and Isis::ControlNet::Write().
| ConstPvlKeywordIterator Isis::PvlContainer::Begin | ( | ) | const [inline, inherited] |
Return the const beginning iterator.
Definition at line 174 of file PvlContainer.h.
References Isis::PvlContainer::p_keywords.
| PvlKeywordIterator Isis::PvlContainer::Begin | ( | ) | [inline, inherited] |
Return the beginning iterator.
Definition at line 168 of file PvlContainer.h.
References Isis::PvlContainer::p_keywords.
Referenced by Isis::PvlContainer::DeleteKeyword(), FindKeyword(), Isis::PvlContainer::FindKeyword(), HasKeyword(), Isis::PvlContainer::HasKeyword(), Isis::PvlTranslationTable::InputGroup(), Isis::DbProfile::loadkeys(), and Isis::PvlTranslationTable::Translate().
| ConstPvlGroupIterator Isis::PvlObject::BeginGroup | ( | ) | const [inline] |
Returns the beginning group index.
Definition at line 90 of file PvlObject.h.
References p_groups.
| PvlGroupIterator Isis::PvlObject::BeginGroup | ( | ) | [inline] |
Returns the beginning group index.
Definition at line 83 of file PvlObject.h.
References p_groups.
Referenced by DeleteGroup(), FindGroup(), and HasGroup().
| ConstPvlObjectIterator Isis::PvlObject::BeginObject | ( | ) | const [inline] |
Returns the const index of the beginning object.
Definition at line 220 of file PvlObject.h.
References p_objects.
| PvlObjectIterator Isis::PvlObject::BeginObject | ( | ) | [inline] |
Returns the index of the beginning object.
Definition at line 213 of file PvlObject.h.
References p_objects.
Referenced by DeleteObject(), FindObject(), and HasObject().
| void Isis::PvlObject::Clear | ( | ) | [inline] |
Remove everything from the current PvlObject.
Reimplemented from Isis::PvlContainer.
Definition at line 311 of file PvlObject.h.
References Isis::PvlContainer::Clear(), p_groups, and p_objects.
Referenced by IsisAml::CommandLine(), Isis::PvlFormat::Init(), and Isis::Preference::Preferences().
| void Isis::PvlObject::DeleteGroup | ( | const int | index | ) |
Remove a group from the current PvlObject.
| index | The index of the PvlGroup to remove. |
| iException::Pvl |
Definition at line 337 of file PvlObject.cpp.
References _FILEINFO_, BeginGroup(), Isis::iException::Message(), Isis::PvlContainer::Name(), Isis::PvlContainer::p_filename, p_groups, and Isis::PvlContainer::Type().
| void Isis::PvlObject::DeleteGroup | ( | const std::string & | name | ) |
Remove a group from the current PvlObject.
| name | The name of the PvlGroup to remove. |
| iException::Pvl |
Definition at line 317 of file PvlObject.cpp.
References _FILEINFO_, BeginGroup(), EndGroup(), FindGroup(), Isis::iException::Message(), Isis::PvlContainer::Name(), Isis::PvlContainer::p_filename, p_groups, and Isis::PvlContainer::Type().
Referenced by Isis::Cube::DeleteGroup(), and Isis::UserInterface::SaveHistory().
| void Isis::PvlContainer::DeleteKeyword | ( | const int | index | ) | [inherited] |
Remove the specified keyword.
| index | The index of the keyword to remove. |
| iException::Pvl | Keyword doesn't exist. |
Definition at line 125 of file PvlContainer.cpp.
References _FILEINFO_, Isis::PvlContainer::Begin(), Isis::iException::Message(), Isis::PvlContainer::Name(), Isis::PvlContainer::p_filename, Isis::PvlContainer::p_keywords, and Isis::PvlContainer::Type().
| void Isis::PvlContainer::DeleteKeyword | ( | const std::string & | name | ) | [inherited] |
Remove a specified keyword.
| name | The name of the keyword to remove. |
| iException::Pvl | Keyword doesn't exist. |
Definition at line 107 of file PvlContainer.cpp.
References _FILEINFO_, Isis::PvlContainer::Begin(), Isis::PvlContainer::End(), Isis::PvlContainer::FindKeyword(), Isis::iException::Message(), Isis::PvlContainer::Name(), Isis::PvlContainer::p_filename, Isis::PvlContainer::p_keywords, and Isis::PvlContainer::Type().
Referenced by IsisAml::CommandLine(), Isis::Blob::Find(), Isis::Preference::Load(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::PvlContainer::operator-=(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::Projection::TargetRadii(), Isis::Blob::Write(), and Isis::Table::WriteInit().
| void Isis::PvlObject::DeleteObject | ( | const int | index | ) |
Remove an object from the current PvlObject.
| index | The index of the PvlObject to remove. |
| iException::Pvl |
Definition at line 295 of file PvlObject.cpp.
References _FILEINFO_, BeginObject(), Isis::iException::Message(), Isis::PvlContainer::Name(), Isis::PvlContainer::p_filename, p_objects, and Isis::PvlContainer::Type().
| void Isis::PvlObject::DeleteObject | ( | const std::string & | name | ) |
Remove an object from the current PvlObject.
| name | The name of the PvlObject to remove. |
| iException::Pvl |
Definition at line 275 of file PvlObject.cpp.
References _FILEINFO_, BeginObject(), EndObject(), FindObject(), Isis::iException::Message(), Isis::PvlContainer::Name(), Isis::PvlContainer::p_filename, p_objects, and Isis::PvlContainer::Type().
| ConstPvlKeywordIterator Isis::PvlContainer::End | ( | ) | const [inline, inherited] |
Return the const ending iterator.
Definition at line 186 of file PvlContainer.h.
References Isis::PvlContainer::p_keywords.
| PvlKeywordIterator Isis::PvlContainer::End | ( | ) | [inline, inherited] |
Return the ending iterator.
Definition at line 180 of file PvlContainer.h.
References Isis::PvlContainer::p_keywords.
Referenced by Isis::PvlContainer::DeleteKeyword(), FindKeyword(), Isis::PvlContainer::FindKeyword(), HasKeyword(), Isis::PvlContainer::HasKeyword(), Isis::PvlTranslationTable::InputGroup(), Isis::DbProfile::loadkeys(), and Isis::PvlTranslationTable::Translate().
| ConstPvlGroupIterator Isis::PvlObject::EndGroup | ( | ) | const [inline] |
Returns the const ending group index.
Definition at line 104 of file PvlObject.h.
References p_groups.
| PvlGroupIterator Isis::PvlObject::EndGroup | ( | ) | [inline] |
Returns the ending group index.
Definition at line 97 of file PvlObject.h.
References p_groups.
Referenced by DeleteGroup(), FindGroup(), and HasGroup().
| ConstPvlObjectIterator Isis::PvlObject::EndObject | ( | ) | const [inline] |
Returns the const index of the ending object.
Definition at line 234 of file PvlObject.h.
References p_objects.
| PvlObjectIterator Isis::PvlObject::EndObject | ( | ) | [inline] |
Returns the index of the ending object.
Definition at line 227 of file PvlObject.h.
References p_objects.
Referenced by DeleteObject(), FindObject(), and HasObject().
| std::string Isis::PvlContainer::Filename | ( | ) | const [inline, inherited] |
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 208 of file PvlContainer.h.
References Isis::PvlContainer::p_filename.
Referenced by AddObject(), Isis::SerialNumber::Compose(), Isis::ObservationNumber::Compose(), Isis::ProjectionFactory::CreateForCube(), Isis::ProjectionFactory::CreateFromCube(), Isis::Mex::HrscCamera::HrscCamera(), Isis::UniversalGroundMap::Init(), Isis::PvlTranslationTable::InputDefault(), Isis::PvlTranslationTable::InputGroup(), Isis::PvlTranslationTable::InputKeyword(), Isis::PvlTranslationManager::InputSize(), Isis::PvlTranslationManager::InputUnits(), Isis::PvlTranslationManager::InputValue(), Isis::PvlTranslationTable::IsAuto(), Isis::PvlTranslationTable::IsOptional(), Isis::PvlTranslationTable::OutputName(), Isis::PvlTranslationTable::OutputPosition(), Isis::StripPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::LimitPolygonSeeder::Parse(), Isis::InterestOperator::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::AutoReg::Parse(), Isis::PvlEditDialog::PvlEditDialog(), Isis::Spice::Spice(), and Isis::PvlTranslationTable::Translate().
| const Isis::PvlGroup & Isis::PvlObject::FindGroup | ( | const std::string & | 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::Pvl |
Definition at line 93 of file PvlObject.cpp.
References _FILEINFO_, BeginGroup(), EndGroup(), FindGroup(), Isis::iException::Message(), Object(), Isis::PvlContainer::p_filename, and Traverse.
| Isis::PvlGroup & Isis::PvlObject::FindGroup | ( | const std::string & | 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::Pvl |
Definition at line 59 of file PvlObject.cpp.
References _FILEINFO_, BeginGroup(), EndGroup(), FindGroup(), Isis::iException::Message(), Isis::PvlContainer::p_filename, and Traverse.
| ConstPvlGroupIterator Isis::PvlObject::FindGroup | ( | const std::string & | name, | |
| ConstPvlGroupIterator | beg, | |||
| ConstPvlGroupIterator | end | |||
| ) | const [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 127 of file PvlObject.h.
| PvlGroupIterator Isis::PvlObject::FindGroup | ( | const std::string & | name, | |
| PvlGroupIterator | beg, | |||
| PvlGroupIterator | end | |||
| ) | [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 113 of file PvlObject.h.
Referenced by Isis::Gui::AboutIsis(), Isis::Gui::AboutProgram(), Isis::SerialNumberList::Add(), Isis::AlphaCube::AlphaCube(), Isis::CameraFactory::CameraVersion(), Isis::ProjectionFactory::Create(), Isis::Gui::Create(), Isis::CameraFactory::Create(), Isis::PvlTranslationManager::CreateContainer(), Isis::ProjectionFactory::CreateForCube(), Isis::ProjectionFactory::CreateFromCube(), Isis::Mro::CTXCamera::CTXCamera(), Isis::Cube::Cube(), DeleteGroup(), Isis::Equirectangular::Equirectangular(), Isis::UserInterface::EvaluateOption(), Isis::Filename::Expand(), FindGroup(), Isis::ObservationNumber::FindObservationTranslation(), Isis::SerialNumber::FindSerialTranslation(), Isis::PvlTranslationManager::GetContainer(), Isis::Cube::GetGroup(), Isis::Plugin::GetPlugin(), HasGroup(), Isis::Spice::HasKernels(), Clementine::HiresCamera::HiresCamera(), Isis::Mro::HiriseCamera::HiriseCamera(), Isis::Mex::HrscCamera::HrscCamera(), Isis::IdealCamera::IdealCamera(), Isis::iException::iException(), Isis::Cassini::VimsSkyMap::Init(), Isis::Cassini::VimsGroundMap::Init(), Isis::CubeAttributeOutput::Initialize(), Isis::DatabaseFactory::initPreferences(), Isis::PvlTranslationTable::InputDefault(), Isis::PvlTranslationTable::InputGroup(), Isis::PvlTranslationTable::InputKeyword(), Isis::PvlTranslationTable::IsAuto(), Isis::PvlTranslationTable::IsOptional(), Cassini::IssNACamera::IssNACamera(), Cassini::IssWACamera::IssWACamera(), Isis::LambertConformal::LambertConformal(), Isis::Preference::Load(), Isis::iTime::LoadLeapSecondKernel(), Isis::Lo::LoHighCamera::LoHighCamera(), Isis::Lo::LoMediumCamera::LoMediumCamera(), Isis::Lro::LroNarrowAngleCamera::LroNarrowAngleCamera(), Isis::Lro::LroWideAngleCamera::LroWideAngleCamera(), Isis::LunarAzimuthalEqualArea::LunarAzimuthalEqualArea(), Clementine::LwirCamera::LwirCamera(), Isis::Mro::MarciCamera::MarciCamera(), Isis::Messenger::MdisCamera::MdisCamera(), Isis::Mercator::Mercator(), Isis::iException::Message(), Isis::Lro::MiniRF::MiniRF(), Isis::Process::MissionData(), Isis::Mgs::MocNarrowAngleCamera::MocNarrowAngleCamera(), Isis::Mgs::MocWideAngleCamera::MocWideAngleCamera(), Clementine::NirCamera::NirCamera(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::Orthographic::Orthographic(), Isis::PvlTranslationTable::OutputName(), Isis::PvlTranslationTable::OutputPosition(), Isis::AutoReg::Parse(), Isis::PointPerspective::PointPerspective(), Isis::PolarStereographic::PolarStereographic(), Isis::ProcessImportPds::ProcessImportPds(), Isis::ProcessImportPds::ProcessPdsQubeLabel(), Isis::Progress::Progress(), Isis::Projection::Projection(), Isis::Cube::PutGroup(), Isis::Mgs::MocLabels::ReadLabels(), Isis::CissLabels::ReadLabels(), Isis::PvlKeyword::Reform(), Isis::AutoReg::RegTemplate(), Isis::ReseauDistortionMap::ReseauDistortionMap(), Isis::UserInterface::SaveHistory(), Isis::Sensor::Sensor(), Isis::SessionLog::SessionLog(), Isis::ProcessMapMosaic::SetOutputCube(), Isis::ProcessGroundPolygons::SetOutputCube(), Isis::SimpleCylindrical::SimpleCylindrical(), Isis::Sinusoidal::Sinusoidal(), Isis::Spice::Spice(), Galileo::SsiCamera::SsiCamera(), Isis::ProcessExportPds::StandardAllMapping(), Isis::ProcessMosaic::StartProcess(), Isis::Projection::TargetRadii(), Isis::Filename::Temporary(), Isis::Pipeline::TemporaryFolder(), Isis::Odyssey::ThemisIrCamera::ThemisIrCamera(), Isis::Odyssey::ThemisVisCamera::ThemisVisCamera(), Isis::PvlTranslationTable::Translate(), Isis::ProcessImportPds::TranslateIsis2BandBin(), Isis::ProcessImportPds::TranslateIsis2Instrument(), Isis::ProcessImportPds::TranslatePdsProjection(), Isis::TransverseMercator::TransverseMercator(), Isis::Gui::UpdateHistory(), Clementine::UvvisCamera::UvvisCamera(), Isis::VikingCamera::VikingCamera(), and Isis::Cassini::VimsCamera::VimsCamera().
| PvlContainer::ConstPvlKeywordIterator Isis::PvlContainer::FindKeyword | ( | const std::string & | name, | |
| PvlContainer::ConstPvlKeywordIterator | beg, | |||
| PvlContainer::ConstPvlKeywordIterator | end | |||
| ) | const [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 350 of file PvlContainer.cpp.
| PvlContainer::PvlKeywordIterator Isis::PvlContainer::FindKeyword | ( | const std::string & | name, | |
| PvlContainer::PvlKeywordIterator | beg, | |||
| PvlContainer::PvlKeywordIterator | end | |||
| ) | [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 335 of file PvlContainer.cpp.
| const Isis::PvlKeyword & Isis::PvlContainer::FindKeyword | ( | const std::string & | name | ) | const [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 90 of file PvlContainer.cpp.
References _FILEINFO_, Isis::PvlContainer::Begin(), Isis::PvlContainer::End(), Isis::PvlContainer::FindKeyword(), Isis::iException::Message(), Isis::PvlContainer::Name(), Isis::PvlContainer::p_filename, and Isis::PvlContainer::Type().
| Isis::PvlKeyword & Isis::PvlContainer::FindKeyword | ( | const std::string & | name | ) | [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 72 of file PvlContainer.cpp.
References _FILEINFO_, Isis::PvlContainer::Begin(), Isis::PvlContainer::End(), Isis::iException::Message(), Isis::PvlContainer::Name(), Isis::PvlContainer::p_filename, and Isis::PvlContainer::Type().
Referenced by Isis::PvlContainer::AddKeyword(), Isis::PvlContainer::DeleteKeyword(), FindKeyword(), Isis::PvlContainer::FindKeyword(), HasKeyword(), Isis::PvlContainer::HasKeyword(), Isis::PvlTranslationTable::InputGroup(), Isis::Stretch::Load(), Isis::PvlContainer::operator[](), Qisis::MosaicWidget::readProject(), Isis::ReseauDistortionMap::ReseauDistortionMap(), Qisis::MosaicItem::setUpItem(), Isis::ProcessExportPds::StandardAllMapping(), Isis::Projection::TargetRadii(), and Isis::PvlTranslationTable::Translate().
| PvlKeyword & Isis::PvlObject::FindKeyword | ( | const std::string & | 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::Pvl |
Definition at line 133 of file PvlObject.cpp.
References _FILEINFO_, Isis::PvlContainer::Begin(), Isis::PvlContainer::End(), Isis::PvlContainer::FindKeyword(), g, Group(), Isis::iException::Message(), None, and Isis::PvlContainer::p_filename.
Referenced by Isis::PvlFormat::Accuracy(), HasKeyword(), Isis::SpicePosition::LoadCache(), Galileo::SsiCamera::SsiCamera(), Isis::ProcessExportPds::StandardAllMapping(), and Isis::PvlFormat::Type().
| PvlObject & Isis::PvlObject::FindObject | ( | const std::string & | 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::Pvl |
Definition at line 243 of file PvlObject.cpp.
References _FILEINFO_, BeginObject(), EndObject(), FindObject(), Isis::iException::Message(), Isis::PvlContainer::p_filename, and Traverse.
| ConstPvlObjectIterator Isis::PvlObject::FindObject | ( | const std::string & | name, | |
| ConstPvlObjectIterator | beg, | |||
| ConstPvlObjectIterator | end | |||
| ) | const [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 259 of file PvlObject.h.
| PvlObjectIterator Isis::PvlObject::FindObject | ( | const std::string & | name, | |
| PvlObjectIterator | beg, | |||
| PvlObjectIterator | end | |||
| ) | [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 244 of file PvlObject.h.
Referenced by Isis::Camera::Camera(), Isis::PvlTranslationManager::CreateContainer(), Qisis::MosaicItem::createFootprint(), Isis::ProcessExportPds::CreateQubeLabel(), Isis::ProcessExportPds::CreateSpectralQubeLabel(), Isis::CubeBsqHandler::CubeBsqHandler(), Isis::CubeTileHandler::CubeTileHandler(), DeleteObject(), KernelDb::FindAll(), FindObject(), Isis::PvlTranslationManager::GetContainer(), Isis::ProcessImportPds::GetProjectionOffsetMults(), HasObject(), Isis::ControlNet::ReadControl(), Qisis::BandTool::setList(), Isis::ProcessExportPds::StandardAllMapping(), Isis::ProcessExportPds::StandardImageImage(), and Isis::ProcessMosaic::StartProcess().
| const Isis::PvlGroup & Isis::PvlObject::Group | ( | const int | index | ) | const |
Return the group at the specified index.
| index | The index of the group. |
| iException::Pvl |
Definition at line 379 of file PvlObject.cpp.
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), Isis::iException::Message(), and p_groups.
| Isis::PvlGroup & Isis::PvlObject::Group | ( | const int | index | ) |
Return the group at the specified index.
| index | The index of the group. |
| iException::Pvl |
Definition at line 361 of file PvlObject.cpp.
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), Isis::iException::Message(), and p_groups.
Referenced by Isis::PvlTranslationManager::Auto(), KernelDb::FindAll(), FindKeyword(), Isis::ProcessImportPds::GetProjectionOffsetMults(), HasKeyword(), Isis::ControlPoint::Load(), Isis::operator<<(), Isis::Table::ReadInit(), Isis::Application::SendParentErrors(), and Isis::Gui::UpdateHistory().
| int Isis::PvlObject::Groups | ( | ) | const [inline] |
Returns the number of groups contained.
Definition at line 69 of file PvlObject.h.
References p_groups.
Referenced by Isis::PvlTranslationManager::Auto(), KernelDb::FindAll(), Isis::ProcessImportPds::GetProjectionOffsetMults(), Isis::ControlPoint::Load(), Isis::operator<<(), Isis::Table::ReadInit(), Isis::UserInterface::SaveHistory(), Isis::Application::SendParentErrors(), and Isis::Gui::UpdateHistory().
| bool Isis::PvlObject::HasGroup | ( | const std::string & | name | ) | const [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 190 of file PvlObject.h.
References BeginGroup(), EndGroup(), and FindGroup().
Referenced by Isis::AlphaCube::AlphaCube(), Isis::PvlTranslationManager::CreateContainer(), Isis::Cube::DeleteGroup(), Isis::PvlTranslationManager::GetContainer(), Isis::Cube::HasGroup(), Isis::DatabaseFactory::initPreferences(), Isis::PvlTranslationTable::InputDefault(), Isis::PvlTranslationTable::InputGroup(), Isis::PvlTranslationTable::InputKeyword(), Isis::PvlTranslationTable::IsAuto(), Isis::PvlTranslationTable::IsOptional(), Isis::operator<<(), Isis::PvlTranslationTable::OutputName(), Isis::PvlTranslationTable::OutputPosition(), Isis::AutoReg::Parse(), Isis::Cube::PutGroup(), Isis::AutoReg::RegTemplate(), Isis::Filename::Temporary(), and Isis::PvlTranslationTable::Translate().
| bool Isis::PvlContainer::HasKeyword | ( | const std::string & | name | ) | const [inherited] |
Check to see if a keyword exists.
| name | The name of the keyword to check for. |
Definition at line 145 of file PvlContainer.cpp.
References Isis::PvlContainer::Begin(), Isis::PvlContainer::End(), and Isis::PvlContainer::FindKeyword().
Referenced by Isis::PvlContainer::AddKeyword(), Isis::Albedo::Albedo(), Isis::AlbedoAtm::AlbedoAtm(), Isis::Anisotropic2::Anisotropic2(), Isis::AtmosModel::AtmosModel(), Isis::Camera::Camera(), Isis::CameraFactory::CameraVersion(), IsisAml::CommandLine(), Isis::CameraFactory::Create(), Isis::Equirectangular::Equirectangular(), Isis::Filename::Expand(), KernelDb::FindAll(), Isis::Camera::GroundRange(), Isis::HapkeAtm1::HapkeAtm1(), Isis::HapkeAtm2::HapkeAtm2(), Isis::HapkeHen::HapkeHen(), Isis::HapkePhotoModel::HapkePhotoModel(), Isis::Spice::HasKernels(), HiLab::HiLab(), Isis::IdealCamera::IdealCamera(), Isis::PvlTranslationTable::InputDefault(), Isis::PvlTranslationTable::InputGroup(), Isis::PvlTranslationManager::InputHasKeyword(), Isis::PvlTranslationTable::InputKeyword(), Isis::PvlTranslationManager::InputSize(), Isis::PvlTranslationManager::InputUnits(), Isis::PvlTranslationManager::InputValue(), Isis::PvlTranslationTable::IsAuto(), Isis::PvlTranslationTable::IsOptional(), Isis::Isotropic1::Isotropic1(), Isis::Isotropic2::Isotropic2(), Isis::LambertConformal::LambertConformal(), Isis::Preference::Load(), Isis::Lo::LoMediumCamera::LoMediumCamera(), Isis::LunarLambert::LunarLambert(), Isis::Projection::Mapping(), Isis::Mercator::Mercator(), Isis::iException::Message(), Isis::Minnaert::Minnaert(), Isis::Mixed::Mixed(), Isis::MoonAlbedo::MoonAlbedo(), Isis::ObliqueCylindrical::ObliqueCylindrical(), Isis::operator<<(), Isis::Orthographic::Orthographic(), Isis::PvlTranslationTable::OutputName(), Isis::PvlTranslationTable::OutputPosition(), Isis::StripPolygonSeeder::Parse(), Isis::PolygonSeeder::Parse(), Isis::LimitPolygonSeeder::Parse(), Isis::InterestOperator::Parse(), Isis::GridPolygonSeeder::Parse(), Isis::AutoReg::Parse(), Isis::PhotoModel::PhotoModel(), Isis::PointPerspective::PointPerspective(), Isis::PolarStereographic::PolarStereographic(), Isis::Projection::Projection(), Isis::Mgs::MocLabels::ReadLabels(), Isis::AutoReg::RegTemplate(), Isis::Sensor::Sensor(), Isis::ProcessMapMosaic::SetOutputCube(), Qisis::MosaicItem::setUpItem(), Isis::Shade::Shade(), Isis::ShadeAtm::ShadeAtm(), Isis::SimpleCylindrical::SimpleCylindrical(), Isis::Sinusoidal::Sinusoidal(), Isis::Spice::Spice(), Isis::Projection::TargetRadii(), Isis::Odyssey::ThemisIrCamera::ThemisIrCamera(), Isis::Topo::Topo(), Isis::TopoAtm::TopoAtm(), Isis::PvlTranslationTable::Translate(), Isis::PvlTranslationManager::Translate(), Isis::ProcessImportPds::TranslateIsis2Instrument(), and Isis::TransverseMercator::TransverseMercator().
| bool Isis::PvlObject::HasKeyword | ( | const std::string & | 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 191 of file PvlObject.cpp.
References Isis::PvlContainer::Begin(), Isis::PvlContainer::End(), Isis::PvlContainer::FindKeyword(), FindKeyword(), g, Group(), and None.
Referenced by Isis::PvlFormat::Accuracy(), Isis::Blob::Find(), Isis::ProcessImportPds::GetProjectionOffsetMults(), Isis::ControlPoint::Load(), Isis::SpicePosition::LoadCache(), Isis::operator<<(), Isis::Table::ReadInit(), Isis::ProcessExportPds::StandardAllMapping(), Isis::PvlFormat::Type(), and Isis::Table::WriteInit().
| bool Isis::PvlObject::HasObject | ( | const std::string & | name | ) | const [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 293 of file PvlObject.h.
References BeginObject(), EndObject(), and FindObject().
Referenced by Isis::PvlTranslationManager::CreateContainer(), Isis::ProjectionFactory::CreateForCube(), Isis::ProcessExportPds::CreateQubeLabel(), Isis::ProcessExportPds::CreateSpectralQubeLabel(), KernelDb::FindAll(), Isis::PvlTranslationManager::GetContainer(), Isis::operator<<(), and Isis::ProcessExportPds::StandardAllMapping().
| void Isis::PvlContainer::Init | ( | ) | [protected, inherited] |
Sets the filename to blank.
Reimplemented in Isis::Pvl.
Definition at line 60 of file PvlContainer.cpp.
References Isis::PvlContainer::p_filename, and Isis::PvlContainer::p_formatTemplate.
Referenced by Isis::PvlContainer::PvlContainer().
| bool Isis::PvlContainer::IsNamed | ( | const std::string & | match | ) | [inline, inherited] |
Returns whether the given string is equal to the container name or not.
| match | The string to compare to the name. |
Definition at line 74 of file PvlContainer.h.
References Isis::PvlContainer::p_name, and Isis::PvlKeyword::StringEqual().
Referenced by Isis::IsBlob(), Isis::ControlPoint::Load(), Isis::ControlNet::ReadControl(), Isis::Table::ReadInit(), Isis::Process::SetOutputCube(), and Isis::Gui::UpdateHistory().
| int Isis::PvlContainer::Keywords | ( | ) | const [inline, inherited] |
Returns the number of keywords contained in the PvlContainer.
Definition at line 86 of file PvlContainer.h.
References Isis::PvlContainer::p_keywords.
Referenced by Isis::PvlFormat::Add(), Isis::ObservationNumber::FindObservationTranslation(), Isis::SerialNumber::FindSerialTranslation(), KernelDb::GetFile(), Isis::operator<<(), Isis::Gui::UpdateHistory(), and Qisis::PlotTool::updateTool().
| std::string Isis::PvlContainer::Name | ( | ) | const [inline, inherited] |
Returns the container name.
Definition at line 67 of file PvlContainer.h.
References Isis::PvlContainer::p_name.
Referenced by Isis::PvlFormat::Add(), DeleteGroup(), Isis::PvlContainer::DeleteKeyword(), DeleteObject(), Isis::UserInterface::EvaluateOption(), Isis::PvlContainer::FindKeyword(), KernelDb::GetFile(), Isis::PvlTranslationTable::InputGroup(), Isis::operator<<(), operator==(), Isis::PvlGroup::operator==(), Isis::Cube::PutGroup(), Isis::PvlGroup::PvlGroup(), PvlObject(), Isis::Process::SetOutputCube(), and Isis::Blob::Write().
| 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 413 of file PvlObject.cpp.
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), Isis::iException::Message(), and p_objects.
| 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 396 of file PvlObject.cpp.
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), Isis::iException::Message(), and p_objects.
Referenced by FindGroup(), Isis::operator<<(), Isis::ControlNet::ReadControl(), Qisis::FileTool::saveAs(), Isis::SessionLog::SessionLog(), and Isis::Process::SetOutputCube().
| int Isis::PvlObject::Objects | ( | ) | const [inline] |
Returns the number of objects.
Definition at line 199 of file PvlObject.h.
References p_objects.
Referenced by Isis::operator<<(), Isis::ControlNet::ReadControl(), Qisis::FileTool::saveAs(), and Isis::Process::SetOutputCube().
| void Isis::PvlContainer::operator+= | ( | const PvlKeyword & | keyword | ) | [inline, inherited] |
When you use the += operator with a PvlKeyword, it will call the AddKeyword() method.
| keyword | The PvlKeyword to be added. |
Definition at line 106 of file PvlContainer.h.
References Isis::PvlContainer::AddKeyword().
| void Isis::PvlContainer::operator-= | ( | const PvlKeyword & | key | ) | [inline, inherited] |
When you use the -= operator with a PvlKeyword object, it will call the DeleteKeyword() method.
| key | The PvlKeyword object to remove. |
Definition at line 202 of file PvlContainer.h.
References Isis::PvlContainer::DeleteKeyword(), and Isis::PvlKeyword::Name().
| void Isis::PvlContainer::operator-= | ( | const std::string & | name | ) | [inline, inherited] |
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 196 of file PvlContainer.h.
References Isis::PvlContainer::DeleteKeyword().
| bool Isis::PvlObject::operator== | ( | const PvlObject & | object | ) | const [inline] |
Compares two PvlObjects.
Returns a boolean value based on the StringEqual() method.
| object | The PvlObject to compare. |
Definition at line 305 of file PvlObject.h.
References Isis::PvlContainer::Name(), and Isis::PvlKeyword::StringEqual().
| PvlKeyword Isis::PvlContainer::operator[] | ( | const char * | name | ) | const [inline, inherited] |
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 141 of file PvlContainer.h.
References Isis::PvlContainer::operator[]().
| const Isis::PvlKeyword & Isis::PvlContainer::operator[] | ( | const int | index | ) | const [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 173 of file PvlContainer.cpp.
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), Isis::iException::Message(), and Isis::PvlContainer::p_keywords.
| const PvlKeyword& Isis::PvlContainer::operator[] | ( | const std::string & | name | ) | const [inline, inherited] |
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 133 of file PvlContainer.h.
References Isis::PvlContainer::FindKeyword().
| PvlKeyword& Isis::PvlContainer::operator[] | ( | const char * | name | ) | [inline, inherited] |
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 122 of file PvlContainer.h.
References Isis::PvlContainer::operator[]().
| Isis::PvlKeyword & Isis::PvlContainer::operator[] | ( | const int | index | ) | [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 158 of file PvlContainer.cpp.
References _FILEINFO_, Isis::Message::ArraySubscriptNotInRange(), Isis::iException::Message(), and Isis::PvlContainer::p_keywords.
| PvlKeyword& Isis::PvlContainer::operator[] | ( | const std::string & | name | ) | [inline, inherited] |
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 114 of file PvlContainer.h.
References Isis::PvlContainer::FindKeyword().
Referenced by Isis::PvlContainer::operator[]().
| void Isis::PvlContainer::SetFilename | ( | const std::string & | filename | ) | [inline, protected, inherited] |
Sets the filename to the specified string.
| filename | The new filename to use. |
Definition at line 249 of file PvlContainer.h.
References Isis::PvlContainer::p_filename.
| void Isis::PvlContainer::SetName | ( | const std::string & | name | ) | [inline, inherited] |
Set the name of the container.
Definition at line 62 of file PvlContainer.h.
References Isis::PvlContainer::p_name, and Isis::PvlKeyword::SetValue().
Referenced by Isis::Blob::Blob(), Isis::PvlContainer::PvlContainer(), Isis::PvlGroup::PvlGroup(), and PvlObject().
| std::string Isis::PvlContainer::Type | ( | ) | const [inline, inherited] |
Returns the container type.
Definition at line 81 of file PvlContainer.h.
References Isis::PvlKeyword::Name(), and Isis::PvlContainer::p_name.
Referenced by DeleteGroup(), Isis::PvlContainer::DeleteKeyword(), DeleteObject(), Isis::PvlContainer::FindKeyword(), and Isis::operator<<().
std::string Isis::PvlContainer::p_filename [protected, inherited] |
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 231 of file PvlContainer.h.
Referenced by DeleteGroup(), Isis::PvlContainer::DeleteKeyword(), DeleteObject(), Isis::PvlContainer::Filename(), FindGroup(), FindKeyword(), Isis::PvlContainer::FindKeyword(), FindObject(), Isis::PvlContainer::Init(), Isis::Pvl::Init(), Isis::Pvl::Read(), and Isis::PvlContainer::SetFilename().
std::vector<Isis::PvlGroup> Isis::PvlObject::p_groups [private] |
A vector of PvlGroups contained in the current PvlObject.
Definition at line 318 of file PvlObject.h.
Referenced by AddGroup(), BeginGroup(), Clear(), DeleteGroup(), EndGroup(), Group(), and Groups().
std::vector<PvlKeyword> Isis::PvlContainer::p_keywords [protected, inherited] |
This is the vector of PvlKeywords the container is holding.
Definition at line 238 of file PvlContainer.h.
Referenced by Isis::PvlContainer::AddKeyword(), Isis::PvlContainer::Begin(), Isis::PvlContainer::Clear(), Isis::PvlContainer::DeleteKeyword(), Isis::PvlContainer::End(), Isis::PvlContainer::Keywords(), and Isis::PvlContainer::operator[]().
PvlKeyword Isis::PvlContainer::p_name [protected, inherited] |
This is the name keyword.
Definition at line 237 of file PvlContainer.h.
Referenced by Isis::PvlContainer::AddComment(), Isis::PvlContainer::Comment(), Isis::PvlContainer::Comments(), Isis::PvlContainer::GetFormat(), Isis::PvlContainer::GetNameKeyword(), Isis::PvlContainer::Indent(), Isis::PvlContainer::IsNamed(), Isis::PvlContainer::Name(), Isis::PvlContainer::PvlContainer(), Isis::PvlGroup::PvlGroup(), PvlObject(), Isis::PvlContainer::SetFormat(), Isis::PvlContainer::SetIndent(), Isis::PvlContainer::SetName(), and Isis::PvlContainer::Type().
std::vector<PvlObject> Isis::PvlObject::p_objects [private] |
A vector of PvlObjects contained in the current PvlObject.
Definition at line 316 of file PvlObject.h.
Referenced by AddObject(), BeginObject(), Clear(), DeleteObject(), EndObject(), Object(), and Objects().