![]() |
|
|
Bdb packages | Design docs | Source docs | Guidelines | Recent releases |
|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members CdbDatabaseMgr Class Reference
The transient interface to the management at the physical database level. More...
[CdbAdmin]
#include <CdbDatabaseMgr.hh>
Public Methods
const CdbDatabasePtr & parent () const Return a smart pointer back to the parent object. virtual CdbStatus createView (CdbViewPtr &thePtr, const char *theName)=0 Create a new view. virtual CdbStatus cloneView (CdbViewPtr &thePtr, const char *theName)=0 Create a clone of the current view. virtual CdbStatus destroyView (const char *theName)=0 Destroy an existing view. virtual CdbStatus destroyView (const CdbViewPtr &thePtr)=0 Destroy an existing view. virtual CdbStatus clustering (CdbClusteringPtr &thePtr)=0 Get a smart pointer to the CLUSTERING interface. Protected Methods
CdbDatabaseMgr (const CdbDatabasePtr &theDatabasePtr) The constructor. virtual ~CdbDatabaseMgr () The destructor. Private Methods
CdbDatabaseMgr () The default constructor (NOT IMPLEMENTED). CdbDatabaseMgr (const CdbDatabaseMgr &theMgr) The copy constructor (NOT IMPLEMENTED). CdbDatabaseMgr & operator= (const CdbDatabaseMgr &theMgr) The assignment operator (NOT IMPLEMENTED). Private Attributes
CdbDatabasePtr _myParent Friends
class CdbCPtrBase< CdbDatabaseMgr > Detailed Description
The transient interface to the management at the physical database level.This class implements the general operations with the view, including:
And it also provides another jump to the clustering operations in the physical namespace of the database.
- creation of a new view
- destroying existing view
- See also:
- CdbDatabase , CdbView , CdbClustering
Definition at line 27 of file CdbDatabaseMgr.hh.
Constructor & Destructor Documentation
CdbDatabaseMgr::CdbDatabaseMgr ( ) [private]
The default constructor (NOT IMPLEMENTED).
Is disabled...
CdbDatabaseMgr::CdbDatabaseMgr ( const CdbDatabaseMgr & theMgr ) [private]
The copy constructor (NOT IMPLEMENTED).
Is disabled...
CdbDatabaseMgr::CdbDatabaseMgr ( const CdbDatabasePtr & theDatabasePtr ) [protected]
The constructor.
Takes a backlink to the parent Database object.
- See also:
- CdbDatabase
- Parameters:
thePtr the back link to the parent object Definition at line 12 of file CdbDatabaseMgr.cc.
CdbDatabaseMgr::~CdbDatabaseMgr ( ) [protected, virtual]
The destructor.
More details...
Definition at line 16 of file CdbDatabaseMgr.cc.
Member Function Documentation
virtual CdbStatus CdbDatabaseMgr::cloneView ( CdbViewPtr & thePtr, const char * theName ) [pure virtual]
Create a clone of the current view.
This will create a new view and populate it with the information borrowed from the current one.
- See also:
- CdbView , CdbViewPtr , CdbStatus
- Returns:
- completion status
- Parameters:
thePtr a smart pointer object to be initialized theName the name of a vew to be created
virtual CdbStatus CdbDatabaseMgr::clustering ( CdbClusteringPtr & thePtr ) [pure virtual]
Get a smart pointer to the CLUSTERING interface.
See more details about this interface directly in the class's description.
- See also:
- class CdbClustering , class CdbClusteringPtr
- Returns:
- completion status
- Parameters:
thePtr a smart pointer to be initialized
virtual CdbStatus CdbDatabaseMgr::createView ( CdbViewPtr & thePtr, const char * theName ) [pure virtual]
Create a new view.
This will create an empty view with all nessesary infrastructure to populate it with information.
- See also:
- CdbView , CdbViewPtr , CdbStatus
- Returns:
- completion status
- Parameters:
thePtr a smart pointer object to be initialized theName the name of a vew to be created
virtual CdbStatus CdbDatabaseMgr::destroyView ( const CdbViewPtr & thePtr ) [pure virtual]
Destroy an existing view.
A smart pointer to the transient interface object is used to indicate which view has to be destroyed.
- See also:
- CdbView , CdbViewPtr , CdbStatus
- Returns:
- completion status
- Parameters:
thePtr a smart pointer onto a view to be destroyed
virtual CdbStatus CdbDatabaseMgr::destroyView ( const char * theName ) [pure virtual]
Destroy an existing view.
A view name is used to determine which view has to be destroyed.
- Returns:
- completion status
- Parameters:
theName a name of a view to be destroyed
CdbDatabaseMgr& CdbDatabaseMgr::operator= ( const CdbDatabaseMgr & theMgr ) [private]
The assignment operator (NOT IMPLEMENTED).
Is disabled...
const CdbDatabasePtr & CdbDatabaseMgr::parent ( )
Return a smart pointer back to the parent object.
- See also:
- CdbDatabase , CdbDatabasePtr
Definition at line 20 of file CdbDatabaseMgr.cc.
References _myParent.
Friends And Related Function Documentation
friend class CdbCPtrBase< CdbDatabaseMgr > [friend]
Definition at line 29 of file CdbDatabaseMgr.hh.
Member Data Documentation
CdbDatabasePtr CdbDatabaseMgr::_myParent [private]
Definition at line 147 of file CdbDatabaseMgr.hh.
Referenced by parent().
The documentation for this class was generated from the following files:
- /CdbAdmin/CdbDatabaseMgr.hh
- /CdbAdmin/CdbDatabaseMgr.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002