130 const QString &defProfileName =
"");
173 void load(
const QString &filename);
void addProfile(const DbProfile &profile)
Adds a profile to the database profile.
void load(const QString &filename)
Loads a Database access configuration file.
bool profileExists(const QString &profile) const
Checks existance of a database user profile.
int size() const
Returns the size of the collection.
A DbProfile is a container for access parameters to a database.
const DbProfile getProfile(const QString &name="") const
Retrieves the specified access profile.
bool exists(const K &key) const
Checks the existance of a particular key in the list.
void add(const K &key, const T &value)
Adds the element to the list.
QString _defProfileName
Name of default profile.
int profileCount() const
Reports the number of user profiles to access this database.
CollectorMap< IString, DbProfile, NoCaseStringCompare > ProfileList
Define the container for the DbAccess key word list.
DbAccess manages programatic access to a database through profiles.
Namespace for ISIS/Bullet specific routines.
QString getDefaultProfileName() const
Determine the name of the default profile.
QString Name() const
Returns the name of this property.
virtual ~DbAccess()
Destructor ensures everything is cleaned up properly.
Contains Pvl Groups and Pvl Objects.
ProfileList _profiles
List of profiles.