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

Driver Class Reference

#include <drivers.h>

Inheritance diagram for Driver:

Module Pipeliner List of all members.

Public Methods

 Driver ( SuifEnv* suif_env )
virtual ~Driver ()
virtual void initialize ()
 initializes the modules. More...

virtual Moduleclone () const
 generates a new copy of the current instance if necessary The implementor of a subclass is responsible for overriding this method if the implementation has a unique state the default implementation returns the current instance.

virtual bool parse_command_line ( TokenStream* command_line_stream )
 parses the input for this Module.

virtual void execute ()
 executes the Module parse_command_line should be called before this method is invoked.

virtual bool delete_me () const
 tells the system whether an instance of this Module should be deleted after it has been executed the default implementation returns false.


Static Public Methods

const LString get_class_name ()

Protected Attributes

OptionSelection_arguments
OptionLiteral_f
OptionLiteral_e
OptionString_file
OptionList_f_file
OptionString_istring
OptionList_i_string
OptionStream_stream
istream* _istream
sf_owned TokenStream_token_stream
String _file_name
String _input_string
bool _isInteractive


Detailed Description


Constructor & Destructor Documentation

Driver::Driver ( SuifEnv * suif_env)

Driver::~Driver () [virtual]


Member Function Documentation

Module * Driver::clone ( void) const [virtual]

generates a new copy of the current instance if necessary The implementor of a subclass is responsible for overriding this method if the implementation has a unique state the default implementation returns the current instance.

Reimplemented from Module.

Reimplemented in Pipeliner.

bool Driver::delete_me ( void) const [virtual]

tells the system whether an instance of this Module should be deleted after it has been executed the default implementation returns false.

Reimplemented from Module.

void Driver::execute ( void) [virtual]

executes the Module parse_command_line should be called before this method is invoked.

Reimplemented from Module.

Reimplemented in Pipeliner.

const LString Driver::get_class_name () [static]

Reimplemented in Pipeliner.

void Driver::initialize ( void) [virtual]

initializes the modules.

This method must/will be called before a call to parse_command_line or execute

Reimplemented from Module.

bool Driver::parse_command_line ( TokenStream * command_line_stream) [virtual]

parses the input for this Module.

Reimplemented from Module.


Member Data Documentation

OptionSelection * Driver::_arguments [protected]

OptionLiteral * Driver::_e [protected]

OptionLiteral * Driver::_f [protected]

OptionList * Driver::_f_file [protected]

OptionString * Driver::_file [protected]

String Driver::_file_name [protected]

OptionList * Driver::_i_string [protected]

String Driver::_input_string [protected]

bool Driver::_isInteractive [protected]

istream * Driver::_istream [protected]

OptionString * Driver::_istring [protected]

OptionStream * Driver::_stream [protected]

sf_owned TokenStream * Driver::_token_stream [protected]


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