Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

wx::DBI::Database::ConnectionInfo Class Reference

A container for database connection parameters. More...

#include <dbi.h>

List of all members.

Public Member Functions

 ConnectionInfo ()
 ConnectionInfo (const ConnectionInfo &cni)
ConnectionInfooperator= (const ConnectionInfo &cni)
void Set (const wxString &sName, const wxString &sValue)
 Add a parameter.

wxString Get (const wxString &sName) const
 Get a value.

bool IsSet (const wxString &sName) const
 Check to see if a certain value is set.


Detailed Description

A container for database connection parameters.

The values needed to connect depend on the single database.

Definition at line 91 of file dbi.h.


Constructor & Destructor Documentation

wx::DBI::Database::ConnectionInfo::ConnectionInfo  )  [inline]
 

Definition at line 94 of file dbi.h.

wx::DBI::Database::ConnectionInfo::ConnectionInfo const ConnectionInfo cni  ) 
 


Member Function Documentation

wxString wx::DBI::Database::ConnectionInfo::Get const wxString &  sName  )  const
 

Get a value.

Parameters:
sName The name of the connection parameter.
Exceptions:
None. 
Returns:
A wxString with the value.

bool wx::DBI::Database::ConnectionInfo::IsSet const wxString &  sName  )  const
 

Check to see if a certain value is set.

Parameters:
sName The name of the connection parameter.
Returns:
A bool. If true, the value is set. If false, it is not set.

ConnectionInfo& wx::DBI::Database::ConnectionInfo::operator= const ConnectionInfo cni  ) 
 

void wx::DBI::Database::ConnectionInfo::Set const wxString &  sName,
const wxString &  sValue
 

Add a parameter.

Parameters:
sName The name of the connection parameter.
sValue The value of the connection parameter.


The documentation for this class was generated from the following file:
Generated on Wed Jan 25 08:13:20 2006 for Sherpa wxWidgets Classes by doxygen 1.3.6