Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ExecPass Class Reference

Defines ExecPass, a pass that executes a shell command. More...

#include <exec_pass.h>

Inheritance diagram for ExecPass:

SimpleModule Module List of all members.

Public Methods

 ExecPass (SuifEnv* senv)
virtual void execute (suif_vector<LString>* args)
 This method should implement the function for this module. More...

virtual String get_help_string (void) const
 Get a human readable help string. More...


Detailed Description

Defines ExecPass, a pass that executes a shell command.

Usage: exec <command> ...

If a system error occurrs, an error message will be printed to cerr and an exception will be thrown.


Constructor & Destructor Documentation

ExecPass::ExecPass ( SuifEnv * senv)


Member Function Documentation

void ExecPass::execute ( suif_vector<LString>* args) [virtual]

This method should implement the function for this module.

Parameters:
args   command line arguments.

See also:
check_file_set_block() , check_arg_count() , get_file_set_block()

Reimplemented from SimpleModule.

String ExecPass::get_help_string ( void) const [virtual]

Get a human readable help string.

Returns:
a help string.

deprecated: replaced by get_description().

Reimplemented from SimpleModule.


The documentation for this class was generated from the following files:
Generated at Mon Jul 31 13:43:08 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000