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

nci/suif/suif2b/utils/simple_module.h

Go to the documentation of this file.
00001 #ifndef _SIMPLE_MODULE_H_
00002 #define _SIMPLE_MODULE_H_
00003 
00010 #include <stdio.h>
00011 #include "suifkernel/module.h"
00012 
00013 
00014 #include "common/suif_vector.h"
00015 #include "suifkernel/suif_env.h"
00016 
00046 class SimpleModule : public Module {
00047  private:
00048   suif_vector<LString> _arguments;
00049 
00050  public:
00055   SimpleModule(SuifEnv* suif_env, LString name);
00056 
00064   virtual void execute(suif_vector<LString>* args) =0;
00065 
00071   virtual String get_help_string(void) const;
00072 
00075   virtual String get_description(void) const;
00076 
00079   virtual ~SimpleModule();
00080 
00083   virtual Module* clone() const;
00084 
00087   virtual void execute();
00088 
00091   virtual bool delete_me() const;
00092 
00095   virtual bool parse_command_line( TokenStream* command_line_stream );
00096 
00099   virtual FileSetBlock* get_file_set_block(void);
00100   
00106   void check_file_set_block(void);
00107 
00116   void check_arg_count(suif_vector<LString>* args, unsigned cnt);
00117 };
00118 
00119 #endif /* _SIMPLE_MODULE_H_ */

Generated at Mon Jul 31 13:42:40 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000