class DfcDbManager : public CorBase the main database manager
| | close () |
| | connect ( const RWCString& aServer = "" ) |
| | DfcDbManager ( const DfcDbManager& aRef ) |
| | DfcDbManager ( const RWCString& aDatabase = "", const RWCString& aServer = "" ) |
| | getDbRoot () |
| | getHostname () |
| | isValid () |
| | open ( const RWCString& aName ) |
| | open ( const RWCString& aName, CorStream::StreamFlow aState ) |
| | setHostname () |
| | ~DfcDbManager () |
| | Purpose Query if the database is valid (connection OK, etc) |
| | Purpose Query the hostname currently working on |
| | Purpose The d'tor |
| | $Id: DfcDbManager |
| | operator= ( const DfcDbManager& aRef ) |
| | Purpose Query the database root directory |
| | mDfcDbRoot Purpose Close the connection to a database again |
| | setDbRoot () |
| | Purpose Set the hostname currently working on |
| | Purpose Query the root directory of all local databases |
the main database manager
SYNOPSIS
#include <DfcDbManager.h>
DfcDbManager myObject;
DESCRIPTION
This class is the main DB manager. It knows about all the databases the
user could ever want.
CAUTIONS
There can only be one.
EXAMPLES
<optional>
Preconditions Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Exceptions
Preconditions Exceptions
DfcDbManager( const RWCString& aDatabase = "", const RWCString& aServer = "" )
virtual ~DfcDbManager()
The d'tor.
CorBool connect( const RWCString& aServer = "" )
DfcDb open( const RWCString& aName )
CorStream open( const RWCString& aName, CorStream::StreamFlow aState )
CorBool isValid()
Query if the database is valid (connection OK, etc).
This function returns corTRUE if the database is valid.
static RWCString getHostname()
Query the hostname currently working on.
This function returns the string representation of the hostname.
virtual RWCString getDbRoot()
Query the database root directory.
This function returns the string representation a directory.
DfcDbManager( const DfcDbManager& aRef )
DfcDbManager& operator=( const DfcDbManager& aRef )
static RWCString setDbRoot()
Query the root directory of all local databases. This is cross checked
against the value of an environment variable. If that is not set, then
it defaults to /dataflow.
This function returns the string representation of the root directory.
static RWCString setHostname()
Set the hostname currently working on.
void close()
static RWCString mDfcDbRoot
Close the connection to a database again.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de