TestCommand Class Reference

#include <TestCommand.h>

Inheritance diagram for TestCommand:

Inheritance graph
[legend]
Collaboration diagram for TestCommand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TestCommand (const string &cmd)
virtual ~TestCommand ()
virtual BESResponseHandlerparse_request (BESTokenizer &tokens, BESDataHandlerInterface &dhi)
 parses the request to build a test signal response
virtual void dump (ostream &strm) const
 dumps information about this object
virtual string parse_options (BESTokenizer &tokens, BESDataHandlerInterface &dhi)

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

Constructor & Destructor Documentation

TestCommand::TestCommand const string &  cmd  )  [inline]
 

virtual TestCommand::~TestCommand  )  [inline, virtual]
 


Member Function Documentation

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

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

void TestCommand::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.

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.

BESResponseHandler * TestCommand::parse_request BESTokenizer tokenizer,
BESDataHandlerInterface dhi
[virtual]
 

parses the request to build a test signal response

A request looks like:

test sig;

Parameters:
tokenizer holds on to the list of tokens to be parsed
dhi structure that holds request and response information
Exceptions:
BESParserException if there is a problem parsing the command
See also:
BESTokenizer

_BESDataHandlerInterface

Implements BESCommand.


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 Tue Feb 13 11:17:02 2007 for OPeNDAP Back End Server (BES) by  doxygen 1.4.6