Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CdbToolsContext Class Reference
[CdbTools]

#include <CdbToolsContext.hh>

List of all members.

Public Methods

 CdbToolsContext ()
 ~CdbToolsContext ()
std::string currentTech () const
std::string currentImpl () const
std::string currentDB () const
std::string currentView () const
std::string currentFolder () const
CdbPathName currentPath ()
CdbPathName currentDir ()
CdbDatabasePtr currentDBPtr () const
CdbViewPtr currentViewPtr () const
CdbFolderPtr currentFolderPtr () const
CdbConditionPtr currentCondPtr () const
void setCurrTech (const std::string &tech)
void setCurrImpl (const std::string &impl)
void setCurrDB (const std::string &db)
void setCurrView (const std::string &view)
void setCurrFolder (const std::string &fold)
void setCurrPath (const CdbPathName &path)
void setCurrDir (const CdbPathName &dir)
CdbToolsStatus::CdbCmdStatus setCurrDBPtr (CdbDatabasePtr dbpt=0)
CdbToolsStatus::CdbCmdStatus setCurrViewPtr (CdbViewPtr vpt=0)
CdbToolsStatus::CdbCmdStatus setCurrFolderPtr (CdbFolderPtr fpt=0)
CdbToolsStatus::CdbCmdStatus setCurrCondPtr (CdbConditionPtr cpt=0)
void setInvalid ()
void setValid ()
bool isValid () const

Private Attributes

std::string _currentTech
std::string _currentImpl
std::string _currentDB
std::string _currentView
std::string _currentFolder
CdbPathName_currentPath
CdbPathName_currentDir
bool _isValid
CdbDatabasePtr _dbPtr
CdbViewPtr _viewPtr
CdbFolderPtr _folderPtr
CdbConditionPtr _condPtr


Constructor & Destructor Documentation

CdbToolsContext::CdbToolsContext  
 

Definition at line 14 of file CdbToolsContext.cc.

CdbToolsContext::~CdbToolsContext  
 

Definition at line 25 of file CdbToolsContext.cc.

References _currentDir, and _currentPath.


Member Function Documentation

CdbConditionPtr CdbToolsContext::currentCondPtr   const [inline]
 

Definition at line 38 of file CdbToolsContext.hh.

References _condPtr.

std::string CdbToolsContext::currentDB   const [inline]
 

Definition at line 29 of file CdbToolsContext.hh.

References _currentDB.

Referenced by CdbToolslsViewCmd::doExecute(), and CdbToolsSetCmd::setView().

CdbDatabasePtr CdbToolsContext::currentDBPtr   const [inline]
 

Definition at line 35 of file CdbToolsContext.hh.

References _dbPtr.

CdbPathName CdbToolsContext::currentDir   [inline]
 

Definition at line 33 of file CdbToolsContext.hh.

References _currentDir.

Referenced by CdbToolslsCmd::doExecute(), and CdbToolslsCmd::listFolder().

std::string CdbToolsContext::currentFolder   const [inline]
 

Definition at line 31 of file CdbToolsContext.hh.

References _currentFolder.

CdbFolderPtr CdbToolsContext::currentFolderPtr   const [inline]
 

Definition at line 37 of file CdbToolsContext.hh.

References _folderPtr.

Referenced by CdbToolslsCmd::listFolder().

std::string CdbToolsContext::currentImpl   const [inline]
 

Definition at line 28 of file CdbToolsContext.hh.

References _currentImpl.

Referenced by CdbToolslsCmd::CdbToolslsCmd(), CdbToolslsCondCmd::CdbToolslsCondCmd(), and CdbToolslsDBCmd::CdbToolslsDBCmd().

CdbPathName CdbToolsContext::currentPath   [inline]
 

Definition at line 32 of file CdbToolsContext.hh.

References _currentPath.

Referenced by CdbToolsAbsCmdFactory::beginCmdLoop(), CdbToolslsCondCmd::doExecute(), CdbToolslsCmd::doExecute(), and CdbToolscdCmd::doExecute().

std::string CdbToolsContext::currentTech   const [inline]
 

Definition at line 27 of file CdbToolsContext.hh.

References _currentTech.

Referenced by CdbToolslsCmd::CdbToolslsCmd(), CdbToolslsCondCmd::CdbToolslsCondCmd(), and CdbToolslsDBCmd::CdbToolslsDBCmd().

std::string CdbToolsContext::currentView   const [inline]
 

Definition at line 30 of file CdbToolsContext.hh.

References _currentView.

Referenced by CdbToolslsCmd::listFolder().

CdbViewPtr CdbToolsContext::currentViewPtr   const [inline]
 

Definition at line 36 of file CdbToolsContext.hh.

References _viewPtr.

bool CdbToolsContext::isValid   const [inline]
 

Definition at line 57 of file CdbToolsContext.hh.

References _isValid.

CdbToolsStatus::CdbCmdStatus CdbToolsContext::setCurrCondPtr CdbConditionPtr    cpt = 0
 

Definition at line 84 of file CdbToolsContext.cc.

References CdbToolsStatus::CdbCmdStatus, and CdbToolsStatus::Error.

void CdbToolsContext::setCurrDB const std::string &    db [inline]
 

Definition at line 43 of file CdbToolsContext.hh.

References _currentDB.

Referenced by CdbToolsBrowser::CdbToolsBrowser(), and CdbToolsSetCmd::setDatabase().

CdbToolsStatus::CdbCmdStatus CdbToolsContext::setCurrDBPtr CdbDatabasePtr    dbpt = 0
 

Definition at line 46 of file CdbToolsContext.cc.

References _currentDB, _dbPtr, CdbToolsStatus::CdbCmdStatus, CdbToolsStatus::Error, CdbDatabase::instance(), CdbToolsStatus::Invalid, MsgOut, CdbStatus::Success, and CdbToolsStatus::Success.

void CdbToolsContext::setCurrDir const CdbPathName   dir [inline]
 

Definition at line 47 of file CdbToolsContext.hh.

References _currentDir.

Referenced by CdbToolscdCmd::doExecute(), and CdbToolslsCmd::listFolder().

void CdbToolsContext::setCurrFolder const std::string &    fold [inline]
 

Definition at line 45 of file CdbToolsContext.hh.

References _currentFolder.

CdbToolsStatus::CdbCmdStatus CdbToolsContext::setCurrFolderPtr CdbFolderPtr    fpt = 0
 

Definition at line 31 of file CdbToolsContext.cc.

References _folderPtr, CdbToolsStatus::CdbCmdStatus, CdbToolsStatus::Error, CdbToolsStatus::Invalid, MsgOut, and CdbToolsStatus::Success.

Referenced by CdbToolscdCmd::doExecute(), and CdbToolslsCmd::listFolder().

void CdbToolsContext::setCurrImpl const std::string &    impl [inline]
 

Definition at line 42 of file CdbToolsContext.hh.

References _currentImpl.

Referenced by CdbToolsBrowser::CdbToolsBrowser(), and CdbToolsSetCmd::setImplementation().

void CdbToolsContext::setCurrPath const CdbPathName   path [inline]
 

Definition at line 46 of file CdbToolsContext.hh.

References _currentPath.

Referenced by CdbToolscdCmd::doExecute(), and CdbToolslsCmd::listFolder().

void CdbToolsContext::setCurrTech const std::string &    tech [inline]
 

Definition at line 41 of file CdbToolsContext.hh.

References _currentTech.

Referenced by CdbToolsBrowser::CdbToolsBrowser(), and CdbToolsSetCmd::setTechnology().

void CdbToolsContext::setCurrView const std::string &    view [inline]
 

Definition at line 44 of file CdbToolsContext.hh.

References _currentView.

Referenced by CdbToolsBrowser::CdbToolsBrowser(), and CdbToolsSetCmd::setView().

CdbToolsStatus::CdbCmdStatus CdbToolsContext::setCurrViewPtr CdbViewPtr    vpt = 0
 

Definition at line 65 of file CdbToolsContext.cc.

References _currentView, _viewPtr, CdbToolsStatus::CdbCmdStatus, CdbToolsStatus::Error, CdbView::instance(), CdbToolsStatus::Invalid, MsgOut, CdbStatus::Success, and CdbToolsStatus::Success.

void CdbToolsContext::setInvalid   [inline]
 

Definition at line 55 of file CdbToolsContext.hh.

References _isValid.

void CdbToolsContext::setValid   [inline]
 

Definition at line 56 of file CdbToolsContext.hh.

References _isValid.


Member Data Documentation

CdbConditionPtr CdbToolsContext::_condPtr [private]
 

Definition at line 72 of file CdbToolsContext.hh.

Referenced by currentCondPtr().

std::string CdbToolsContext::_currentDB [private]
 

Definition at line 62 of file CdbToolsContext.hh.

Referenced by currentDB(), setCurrDB(), and setCurrDBPtr().

CdbPathName* CdbToolsContext::_currentDir [private]
 

Definition at line 66 of file CdbToolsContext.hh.

Referenced by currentDir(), setCurrDir(), and ~CdbToolsContext().

std::string CdbToolsContext::_currentFolder [private]
 

Definition at line 64 of file CdbToolsContext.hh.

Referenced by currentFolder(), and setCurrFolder().

std::string CdbToolsContext::_currentImpl [private]
 

Definition at line 61 of file CdbToolsContext.hh.

Referenced by currentImpl(), and setCurrImpl().

CdbPathName* CdbToolsContext::_currentPath [private]
 

Definition at line 65 of file CdbToolsContext.hh.

Referenced by currentPath(), setCurrPath(), and ~CdbToolsContext().

std::string CdbToolsContext::_currentTech [private]
 

Definition at line 60 of file CdbToolsContext.hh.

Referenced by currentTech(), and setCurrTech().

std::string CdbToolsContext::_currentView [private]
 

Definition at line 63 of file CdbToolsContext.hh.

Referenced by currentView(), setCurrView(), and setCurrViewPtr().

CdbDatabasePtr CdbToolsContext::_dbPtr [private]
 

Definition at line 69 of file CdbToolsContext.hh.

Referenced by currentDBPtr(), and setCurrDBPtr().

CdbFolderPtr CdbToolsContext::_folderPtr [private]
 

Definition at line 71 of file CdbToolsContext.hh.

Referenced by currentFolderPtr(), and setCurrFolderPtr().

bool CdbToolsContext::_isValid [private]
 

Definition at line 68 of file CdbToolsContext.hh.

Referenced by isValid(), setInvalid(), and setValid().

CdbViewPtr CdbToolsContext::_viewPtr [private]
 

Definition at line 70 of file CdbToolsContext.hh.

Referenced by currentViewPtr(), and setCurrViewPtr().


The documentation for this class was generated from the following files:

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002