00001 /* -*- c++ -*- */ 00002 00003 //============================================================================= 00004 /** 00005 * @file be_util.h 00006 * 00007 * $Id: be_util.h 91061 2010-07-12 08:32:16Z parsons $ 00008 * 00009 * Static helper methods used by multiple visitors. 00010 * 00011 * 00012 * @author Jeff Parsons 00013 */ 00014 //============================================================================= 00015 00016 #ifndef TAO_BE_UTIL_H 00017 #define TAO_BE_UTIL_H 00018 00019 #include "TAO_IFR_BE_Export.h" 00020 00021 class AST_Generator; 00022 00023 class be_util 00024 { 00025 public: 00026 /// Special BE arg call factored out of DRV_args. 00027 static TAO_IFR_BE_Export void 00028 prep_be_arg (char *s); 00029 00030 /// Checks made after parsing args. 00031 static TAO_IFR_BE_Export void 00032 arg_post_proc (void); 00033 00034 /// Display usage of BE-specific options. 00035 static TAO_IFR_BE_Export void 00036 usage (void); 00037 00038 /// Create an AST node generator. 00039 static TAO_IFR_BE_Export AST_Generator * 00040 generator_init (void); 00041 }; 00042 00043 #endif // if !defined 00044