76 const QString &name =
"");
134 void add(
const QString &
key,
const QString &
value =
"");
136 void remove(
const QString &
key);
137 int count(
const QString &
key)
const;
155 QString
key(
int nth)
const {
158 QString
value(
const QString &
key,
int nth = 0)
const;
QString operator()(const QString &key, int nth=0) const
Returns the specified value for the given keyword.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
int size() const
Reports the number of keywords in this user profile.
Contains more than one keyword-value pair.
int count(const QString &key) const
Report number of values in keyword.
bool exists(const QString &key) const
Checks for the existance of a keyword.
int size() const
Returns the size of the collection.
QString _name
Name of this profile.
A DbProfile is a container for access parameters to a database.
void replace(const QString &key, const QString &value="")
Adds a keyword and value pair to the profile.
const K & key(int nth) const
Returns the nth key in the collection.
KeyList _keys
List of keys in profile.
bool exists(const K &key) const
Checks the existance of a particular key in the list.
void add(const QString &key, const QString &value="")
Adds a keyword and value pair to the profile.
QString value(const QString &key, int nth=0) const
Returns the specified value for the given keyword.
QString ToQt() const
Retuns the object string as a QString.
void setName(const QString &name)
Set the name of this profile.
Namespace for ISIS/Bullet specific routines.
bool isValid() const
Reports if this is a valid profile.
virtual ~DbProfile()
Destructor ensures everything is cleaned up properly.
QString Name() const
Returns the name of this property.
void loadkeys(PvlContainer &pvl)
Loads DbProfile keys from the given Pvl construct.
const KeyList & getKeyList() const
Returns a reference to the key list.
QString key(int nth) const
Returns the nth key in the profile.