BESTermCommand Class Reference

#include <BESTermCommand.h>

Inheritance diagram for BESTermCommand:
Inheritance graph
[legend]
Collaboration diagram for BESTermCommand:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BESTermCommand (const string &cmd)
virtual void dump (ostream &strm) const
 dumps information about this object
virtual string parse_options (BESTokenizer &tokens, BESDataHandlerInterface &dhi)
virtual BESResponseHandlerparse_request (BESTokenizer &tokens, BESDataHandlerInterface &dhi)
virtual ~BESTermCommand ()

Static Public Member Functions

static void add_command (const string &cmd_str, BESCommand *cmd)
static bool del_command (const string &cmd_str)
static BESCommandfind_command (const string &cmd_str)

Static Public Attributes

static BESCommandTermCommand = new BESTermCommand( "term" )

Protected Attributes

string _cmd

Detailed Description

Definition at line 38 of file BESTermCommand.h.


Constructor & Destructor Documentation

BESTermCommand::BESTermCommand ( const string &  cmd  )  [inline]

Definition at line 43 of file BESTermCommand.h.

virtual BESTermCommand::~BESTermCommand (  )  [inline, virtual]

Definition at line 45 of file BESTermCommand.h.


Member Function Documentation

void BESCommand::add_command ( const string &  cmd_str,
BESCommand cmd 
) [static, inherited]

Definition at line 49 of file BESCommand.cc.

Referenced by DAPCommandModule::initialize(), and BESDefaultCommands::initialize().

bool BESCommand::del_command ( const string &  cmd_str  )  [static, inherited]

Definition at line 55 of file BESCommand.cc.

Referenced by DAPCommandModule::terminate(), and BESDefaultCommands::terminate().

void BESTermCommand::dump ( ostream &  strm  )  const [virtual]

dumps information about this object

Displays the pointer value of this instance

Parameters:
strm C++ i/o stream to dump the information to

Reimplemented from BESCommand.

Definition at line 51 of file BESTermCommand.cc.

References BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().

Here is the call graph for this function:

BESCommand * BESCommand::find_command ( const string &  cmd_str  )  [static, inherited]
string BESCommand::parse_options ( BESTokenizer tokens,
BESDataHandlerInterface dhi 
) [virtual, inherited]

Reimplemented in BESDefineCommand, and BESSetCommand.

Definition at line 39 of file BESCommand.cc.

References BESTokenizer::get_next_token().

Referenced by BESShowCommand::parse_request(), BESGetCommand::parse_request(), BESDeleteCommand::parse_request(), and BESCatalogCommand::parse_request().

Here is the call graph for this function:

BESResponseHandler * BESTermCommand::parse_request ( BESTokenizer tokens,
BESDataHandlerInterface dhi 
) [virtual]

Implements BESCommand.

Definition at line 37 of file BESTermCommand.cc.

References BESTokenizer::parse_error().

Here is the call graph for this function:


Member Data Documentation

string BESCommand::_cmd [protected, inherited]
BESCommand * BESCommand::TermCommand = new BESTermCommand( "term" ) [static, inherited]

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

Generated on 27 Oct 2009 for OPeNDAP Hyrax Back End Server (BES) by  doxygen 1.6.1