SampleSayXMLCommand Class Reference

#include <SampleSayXMLCommand.h>

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

List of all members.

Public Member Functions

virtual void dump (ostream &strm) const
 dumps information about this object
virtual BESDataHandlerInterfaceget_dhi ()
virtual bool has_response ()
virtual void parse_request (xmlNode *node)
 parse a show command.
virtual void prep_request ()
 SampleSayXMLCommand (const BESDataHandlerInterface &base_dhi)
virtual ~SampleSayXMLCommand ()

Static Public Member Functions

static void add_command (const string &cmd_str, p_xmlcmd_builder cmd)
static BESXMLCommandCommandBuilder (const BESDataHandlerInterface &base_dhi)
static bool del_command (const string &cmd_str)
static p_xmlcmd_builder find_command (const string &cmd_str)

Protected Member Functions

virtual void set_response ()

Protected Attributes

BESDataHandlerInterface _dhi
string _str_cmd

Detailed Description

Definition at line 39 of file SampleSayXMLCommand.h.


Constructor & Destructor Documentation

SampleSayXMLCommand::SampleSayXMLCommand ( const BESDataHandlerInterface base_dhi  ) 

Definition at line 40 of file SampleSayXMLCommand.cc.

Referenced by CommandBuilder().

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

Definition at line 43 of file SampleSayXMLCommand.h.


Member Function Documentation

void BESXMLCommand::add_command ( const string &  cmd_str,
p_xmlcmd_builder  cmd 
) [static, inherited]
BESXMLCommand * SampleSayXMLCommand::CommandBuilder ( const BESDataHandlerInterface base_dhi  )  [static]

Definition at line 125 of file SampleSayXMLCommand.cc.

References SampleSayXMLCommand().

Referenced by SampleModule::initialize().

Here is the call graph for this function:

bool BESXMLCommand::del_command ( const string &  cmd_str  )  [static, inherited]
void SampleSayXMLCommand::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 BESXMLCommand.

Definition at line 115 of file SampleSayXMLCommand.cc.

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

Here is the call graph for this function:

p_xmlcmd_builder BESXMLCommand::find_command ( const string &  cmd_str  )  [static, inherited]
virtual BESDataHandlerInterface& BESXMLCommand::get_dhi (  )  [inline, virtual, inherited]
virtual bool SampleSayXMLCommand::has_response (  )  [inline, virtual]

Implements BESXMLCommand.

Definition at line 47 of file SampleSayXMLCommand.h.

void SampleSayXMLCommand::parse_request ( xmlNode *  node  )  [virtual]

parse a show command.

No properties or children elements

<say what="what" to="whom">

Parameters:
node xml2 element node pointer

Implements BESXMLCommand.

Definition at line 52 of file SampleSayXMLCommand.cc.

References BESXMLCommand::_dhi, BESDataHandlerInterface::action, BESDataHandlerInterface::data, BESXMLUtils::GetFirstChild(), BESXMLUtils::GetNodeInfo(), SAY_RESPONSE, SAY_TO, SAY_WHAT, and BESXMLCommand::set_response().

Here is the call graph for this function:

void SampleSayXMLCommand::prep_request (  )  [virtual]

Reimplemented from BESXMLCommand.

Definition at line 104 of file SampleSayXMLCommand.cc.

void BESXMLCommand::set_response (  )  [protected, virtual, inherited]

Member Data Documentation

string BESXMLCommand::_str_cmd [protected, inherited]

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

Generated on 19 Feb 2010 for OPeNDAP Hyrax Back End Server (BES) by  doxygen 1.6.1