|
Isis Developer Reference
|
Go to the documentation of this file.
63 void Load(
const QString &file);
82 Preference(
const Preference &p);
83 Preference &operator=(
const Preference &p);
85 static Preference *p_preference;
86 static bool p_unitTest;
89 static void Shutdown();
void clear()
Remove everything from the current PvlObject.
Definition: PvlObject.h:341
QString name() const
Returns the keyword name.
Definition: PvlKeyword.h:98
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
PvlGroup & group(const int index)
Return the group at the specified index.
Definition: PvlObject.cpp:452
IString DownCase()
Converts all upper case letters in the object IString into lower case characters.
Definition: IString.cpp:644
A single keyword-value pair.
Definition: PvlKeyword.h:82
File name manipulation and expansion.
Definition: FileName.h:100
int groups() const
Returns the number of groups contained.
Definition: PvlObject.h:75
bool fileExists() const
Returns true if the file exists; false otherwise.
Definition: FileName.cpp:449
bool hasGroup(const QString &name) const
Returns a boolean value based on whether the object has the specified group or not.
Definition: PvlObject.h:210
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Container for cube-like labels.
Definition: Pvl.h:119
bool IsUnitTest()
Tests whether or not a file is a unitTest.
Definition: Preference.h:70
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
void read(const QString &file)
Loads PVL information from a stream.
Definition: Pvl.cpp:90
Reads user preferences from a data file.
Definition: Preference.h:60
QString name() const
Returns the container name.
Definition: PvlContainer.h:63
Isis exception class.
Definition: IException.h:91
void addGroup(const Isis::PvlGroup &group)
Add a group to the object.
Definition: PvlObject.h:186
void deleteKeyword(const QString &name)
Remove a specified keyword.
Definition: PvlContainer.cpp:97
Namespace for the standard library.
void Load(const QString &file)
Definition: Preference.cpp:28
int keywords() const
Returns the number of keywords contained in the PvlContainer.
Definition: PvlContainer.h:86
Adds specific functionality to C++ strings.
Definition: IString.h:165
static Preference & Preferences(bool unitTest=false)
Definition: Preference.cpp:86
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
QString ToQt() const
Retuns the object string as a QString.
Definition: IString.cpp:869
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126