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  

CdbToolslsCondCmd Class Reference
[CdbTools]

#include <CdbToolslsCondCmd.hh>

Inheritance diagram for CdbToolslsCondCmd:

CdbToolsCmd List of all members.

Public Methods

 CdbToolslsCondCmd (CdbToolsContext *)
virtual ~CdbToolslsCondCmd ()
CdbToolsStatus::CdbCmdStatus doExecute ()
CdbToolsStatus::CdbCmdStatus listDB (std::string dName="")
CdbToolsStatus::CdbCmdStatus listView (std::string vName="")
CdbToolsStatus::CdbCmdStatus listFolder (std::string fName="")
CdbToolsStatus::CdbCmdStatus listCondition (std::string fName="")
CdbToolsStatus::CdbCmdStatus listView (CdbDatabasePtr)
CdbToolsStatus::CdbCmdStatus listFolder (CdbViewPtr)
CdbToolsStatus::CdbCmdStatus listCondition (CdbFolderPtr)
CdbToolsStatus::CdbCmdStatus listRevision (CdbConditionPtr)
CdbToolsStatus::CdbCmdStatus navigateFolder (CdbFolderLocator *)
void resetNames ()
void help ()

Private Attributes

std::string _dbName
std::string _viewName
std::string _folderName
std::string _conditionName
std::string _revisionName
std::string _folderPath
CdbDatabasePtr _dbPtr
CdbViewPtr _viewPtr
CdbFolderPtr _folderPtr
CdbConditionPtr _condPtr
CdbPathName_pathName
bool _flag
CdbPtr _cdbPtr

Constructor & Destructor Documentation

CdbToolslsCondCmd::CdbToolslsCondCmd CdbToolsContext  
 

Definition at line 25 of file CdbToolslsCondCmd.cc.

References _cdbPtr, CdbToolsCmd::context(), CdbToolsContext::currentImpl(), CdbToolsContext::currentTech(), false, Cdb::instance(), and CdbCPtr< Cdb, CdbDoNotClosePolicy< Cdb > >::isNull().

CdbToolslsCondCmd::~CdbToolslsCondCmd   [virtual]
 

Definition at line 43 of file CdbToolslsCondCmd.cc.


Member Function Documentation

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::doExecute   [virtual]
 

Implements CdbToolsCmd.

Definition at line 214 of file CdbToolslsCondCmd.cc.

References _dbName, _dbPtr, _folderName, _folderPath, _pathName, _viewName, _viewPtr, CdbToolsCmd::argc(), CdbToolsCmd::argv(), CdbToolsStatus::CdbCmdStatus, CdbToolsCmd::context(), CdbToolsContext::currentPath(), CdbToolsStatus::Error, CdbToolsStatus::Invalid, CdbPathName::isAbsolute(), CdbPathName::isValid(), CdbPathName::last(), listDB(), listFolder(), listView(), MsgOut, and resetNames().

void CdbToolslsCondCmd::help   [virtual]
 

Reimplemented from CdbToolsCmd.

Definition at line 289 of file CdbToolslsCondCmd.cc.

References MsgOut.

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::listCondition CdbFolderPtr   
 

Definition at line 158 of file CdbToolslsCondCmd.cc.

References CdbToolsStatus::CdbCmdStatus, CdbConditionLocator::conditionIterator(), decreIndent(), CdbToolsStatus::Error, CdbConditionLocator::findCondition(), CdbCPtr< CdbFolder, CdbAlwaysClosePolicy< CdbFolder > >::get(), increIndent(), indent(), CdbCPtr< CdbCondition, CdbAlwaysClosePolicy< CdbCondition > >::isNull(), listRevision(), MsgOut, CdbItr< const char * >::next(), CdbToolsStatus::Success, CdbStatus::Success, and CdbItr< const char * >::value().

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::listCondition std::string    fName = ""
 

Referenced by navigateFolder().

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::listDB std::string    dName = ""
 

Definition at line 48 of file CdbToolslsCondCmd.cc.

References _cdbPtr, _dbPtr, _viewName, CdbToolsStatus::CdbCmdStatus, CdbToolsStatus::Error, listView(), MsgOut, CdbItr< const char * >::next(), CdbToolsStatus::Success, CdbStatus::Success, and CdbItr< const char * >::value().

Referenced by doExecute().

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::listFolder CdbViewPtr   
 

Definition at line 91 of file CdbToolslsCondCmd.cc.

References _folderPtr, CdbToolsStatus::CdbCmdStatus, CdbToolsStatus::Error, CdbFolderLocator::findFolder(), CdbFolderLocator::folderIterator(), CdbCPtr< CdbFolder, CdbAlwaysClosePolicy< CdbFolder > >::get(), CdbCPtr< CdbView, CdbAlwaysClosePolicy< CdbView > >::get(), indent(), CdbCPtr< CdbFolder, CdbAlwaysClosePolicy< CdbFolder > >::isNull(), MsgOut, navigateFolder(), CdbItr< const char * >::next(), CdbToolsStatus::Success, CdbStatus::Success, and CdbItr< const char * >::value().

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::listFolder std::string    fName = ""
 

Referenced by doExecute(), and listView().

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::listRevision CdbConditionPtr   
 

Definition at line 192 of file CdbToolslsCondCmd.cc.

References CdbToolsStatus::CdbCmdStatus, decreIndent(), CdbToolsStatus::Error, BdbTime::getGmtNsec(), BdbTime::getGmtSec(), increIndent(), indent(), MsgOut, CdbItr< T >::next(), CdbToolsStatus::Success, CdbStatus::Success, and CdbItr< T >::value().

Referenced by listCondition().

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::listView CdbDatabasePtr   
 

Definition at line 72 of file CdbToolslsCondCmd.cc.

References _folderName, _viewName, _viewPtr, CdbToolsCmd::argc(), CdbToolsStatus::CdbCmdStatus, CdbToolsStatus::Error, listFolder(), MsgOut, CdbItr< const char * >::next(), CdbToolsStatus::Success, CdbStatus::Success, and CdbItr< const char * >::value().

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::listView std::string    vName = ""
 

Referenced by doExecute(), and listDB().

CdbToolsStatus::CdbCmdStatus CdbToolslsCondCmd::navigateFolder CdbFolderLocator  
 

Definition at line 121 of file CdbToolslsCondCmd.cc.

References _folderName, CdbToolsStatus::CdbCmdStatus, cout, decreIndent(), CdbToolsStatus::Error, CdbFolderLocator::findFolder(), CdbFolderLocator::folderIterator(), CdbCPtr< CdbFolder, CdbAlwaysClosePolicy< CdbFolder > >::get(), increIndent(), indent(), CdbCPtr< CdbFolder, CdbAlwaysClosePolicy< CdbFolder > >::isNull(), listCondition(), MsgOut, CdbItr< const char * >::next(), CdbToolsStatus::Success, CdbStatus::Success, and CdbItr< const char * >::value().

Referenced by listFolder().

void CdbToolslsCondCmd::resetNames  
 

Definition at line 275 of file CdbToolslsCondCmd.cc.

References _conditionName, _dbName, _flag, _folderName, _folderPath, _pathName, _revisionName, and _viewName.

Referenced by doExecute().


Member Data Documentation

CdbPtr CdbToolslsCondCmd::_cdbPtr [private]
 

Definition at line 54 of file CdbToolslsCondCmd.hh.

Referenced by CdbToolslsCondCmd(), and listDB().

std::string CdbToolslsCondCmd::_conditionName [private]
 

Definition at line 45 of file CdbToolslsCondCmd.hh.

Referenced by resetNames().

CdbConditionPtr CdbToolslsCondCmd::_condPtr [private]
 

Definition at line 51 of file CdbToolslsCondCmd.hh.

std::string CdbToolslsCondCmd::_dbName [private]
 

Definition at line 42 of file CdbToolslsCondCmd.hh.

Referenced by doExecute(), and resetNames().

CdbDatabasePtr CdbToolslsCondCmd::_dbPtr [private]
 

Definition at line 48 of file CdbToolslsCondCmd.hh.

Referenced by doExecute(), and listDB().

bool CdbToolslsCondCmd::_flag [private]
 

Definition at line 53 of file CdbToolslsCondCmd.hh.

Referenced by resetNames().

std::string CdbToolslsCondCmd::_folderName [private]
 

Definition at line 44 of file CdbToolslsCondCmd.hh.

Referenced by doExecute(), listView(), navigateFolder(), and resetNames().

std::string CdbToolslsCondCmd::_folderPath [private]
 

Definition at line 47 of file CdbToolslsCondCmd.hh.

Referenced by doExecute(), and resetNames().

CdbFolderPtr CdbToolslsCondCmd::_folderPtr [private]
 

Definition at line 50 of file CdbToolslsCondCmd.hh.

Referenced by listFolder().

CdbPathName* CdbToolslsCondCmd::_pathName [private]
 

Definition at line 52 of file CdbToolslsCondCmd.hh.

Referenced by doExecute(), and resetNames().

std::string CdbToolslsCondCmd::_revisionName [private]
 

Definition at line 46 of file CdbToolslsCondCmd.hh.

Referenced by resetNames().

std::string CdbToolslsCondCmd::_viewName [private]
 

Definition at line 43 of file CdbToolslsCondCmd.hh.

Referenced by doExecute(), listDB(), listView(), and resetNames().

CdbViewPtr CdbToolslsCondCmd::_viewPtr [private]
 

Definition at line 49 of file CdbToolslsCondCmd.hh.

Referenced by doExecute(), and listView().


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