|
Isis 3 Programmer Reference
|
16 #include "CollectorMap.h"
17 #include "DbProfile.h"
18 #include "IException.h"
116 const QString &defProfileName =
"");
159 void load(
const QString &filename);
CollectorMap< IString, DbProfile, NoCaseStringCompare > ProfileList
Define the container for the DbAccess key word list.
Contains Pvl Groups and Pvl Objects.
ProfileList _profiles
List of profiles.
QString Name() const
Returns the name of this property.
virtual ~DbAccess()
Destructor ensures everything is cleaned up properly.
DbAccess manages programatic access to a database through profiles.
int size() const
Returns the size of the collection.
QString _defProfileName
Name of default profile.
QString getDefaultProfileName() const
Determine the name of the default profile.
bool exists(const K &key) const
Checks the existance of a particular key in the list.
void load(const QString &filename)
Loads a Database access configuration file.
A DbProfile is a container for access parameters to a database.
void add(const K &key, const T &value)
Adds the element to the list.
int profileCount() const
Reports the number of user profiles to access this database.
const DbProfile getProfile(const QString &name="") const
Retrieves the specified access profile.
void addProfile(const DbProfile &profile)
Adds a profile to the database profile.
bool profileExists(const QString &profile) const
Checks existance of a database user profile.
This is free and unencumbered software released into the public domain.