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  

CdbToolsCmd Class Reference
[CdbTools]

#include <CdbToolsCmd.hh>

Inheritance diagram for CdbToolsCmd:

CdbToolscdCmd CdbToolsexitCmd CdbToolshelpCmd CdbToolslsCmd CdbToolslsCondCmd CdbToolslsDBCmd CdbToolslsViewCmd CdbToolsSetCmd List of all members.

Public Methods

 CdbToolsCmd (CdbToolsContext *)
virtual ~CdbToolsCmd ()
void readArgs (char *)
void clearArgs ()
CdbToolsStatus::CdbCmdStatus execute ()
virtual void help ()
CdbToolsContextcontext () const
std::string argv (int index) const
std::vector< std::string
>::size_type 
argc () const

Protected Methods

virtual CdbToolsStatus::CdbCmdStatus doExecute ()=0

Private Attributes

std::vector< std::string > _argv
CdbToolsContext_context

Constructor & Destructor Documentation

CdbToolsCmd::CdbToolsCmd CdbToolsContext  
 

Definition at line 14 of file CdbToolsCmd.cc.

References _context.

CdbToolsCmd::~CdbToolsCmd   [virtual]
 

Definition at line 18 of file CdbToolsCmd.cc.


Member Function Documentation

std::vector<std::string>::size_type CdbToolsCmd::argc   const [inline]
 

Definition at line 34 of file CdbToolsCmd.hh.

References _argv.

Referenced by CdbToolsSetCmd::doExecute(), CdbToolslsViewCmd::doExecute(), CdbToolslsCondCmd::doExecute(), CdbToolslsCmd::doExecute(), CdbToolscdCmd::doExecute(), and CdbToolslsCondCmd::listView().

std::string CdbToolsCmd::argv int    index const
 

Definition at line 39 of file CdbToolsCmd.cc.

Referenced by CdbToolsSetCmd::doExecute(), CdbToolslsViewCmd::doExecute(), CdbToolslsCondCmd::doExecute(), CdbToolslsCmd::doExecute(), and CdbToolscdCmd::doExecute().

void CdbToolsCmd::clearArgs  
 

Definition at line 47 of file CdbToolsCmd.cc.

References _argv, and resetIndent().

Referenced by readArgs().

CdbToolsContext* CdbToolsCmd::context   const [inline]
 

Definition at line 32 of file CdbToolsCmd.hh.

References _context.

Referenced by CdbToolslsCmd::CdbToolslsCmd(), CdbToolslsCondCmd::CdbToolslsCondCmd(), CdbToolslsDBCmd::CdbToolslsDBCmd(), CdbToolslsViewCmd::doExecute(), CdbToolslsCondCmd::doExecute(), CdbToolslsCmd::doExecute(), CdbToolscdCmd::doExecute(), CdbToolslsCmd::listFolder(), CdbToolsSetCmd::setDatabase(), CdbToolsSetCmd::setImplementation(), CdbToolsSetCmd::setTechnology(), and CdbToolsSetCmd::setView().

virtual CdbToolsStatus::CdbCmdStatus CdbToolsCmd::doExecute   [protected, pure virtual]
 

Implemented in CdbToolscdCmd, CdbToolsexitCmd, CdbToolshelpCmd, CdbToolslsCmd, CdbToolslsCondCmd, CdbToolslsDBCmd, CdbToolslsViewCmd, and CdbToolsSetCmd.

Referenced by execute().

CdbToolsStatus::CdbCmdStatus CdbToolsCmd::execute  
 

Definition at line 54 of file CdbToolsCmd.cc.

References CdbToolsStatus::CdbCmdStatus, doExecute(), and CdbToolsStatus::Error.

virtual void CdbToolsCmd::help   [inline, virtual]
 

Reimplemented in CdbToolscdCmd, CdbToolsexitCmd, CdbToolshelpCmd, CdbToolslsCmd, CdbToolslsCondCmd, CdbToolslsDBCmd, CdbToolslsViewCmd, and CdbToolsSetCmd.

Definition at line 28 of file CdbToolsCmd.hh.

void CdbToolsCmd::readArgs char *   
 

Definition at line 23 of file CdbToolsCmd.cc.

References _argv, and clearArgs().


Member Data Documentation

std::vector<std::string> CdbToolsCmd::_argv [private]
 

Definition at line 40 of file CdbToolsCmd.hh.

Referenced by argc(), clearArgs(), and readArgs().

CdbToolsContext* CdbToolsCmd::_context [private]
 

Definition at line 43 of file CdbToolsCmd.hh.

Referenced by CdbToolsCmd(), and context().


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