Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / IFR_Service / be_util.cpp
blob0459215ea0b34bb42f07523e99dc0c13b5ec50dc
2 //=============================================================================
3 /**
4 * @file be_util.cpp
6 * Static helper methods used by multiple visitors.
8 * @author Jeff Parsons
9 */
10 //=============================================================================
12 #include "orbsvcs/Log_Macros.h"
13 #include "be_util.h"
14 #include "be_extern.h"
16 #include "ast_generator.h"
18 #include "orbsvcs/Log_Macros.h"
20 // Prepare an argument for a BE.
21 void
22 be_util::prep_be_arg (char *)
26 void
27 be_util::arg_post_proc (void)
31 void
32 be_util::usage (void)
34 ORBSVCS_DEBUG ((
35 LM_DEBUG,
36 ACE_TEXT (" -o <dir>\t\tOutput directory for the generated file.")
37 ACE_TEXT (" Default is current directory\n")
38 ));
39 ORBSVCS_DEBUG ((
40 LM_DEBUG,
41 ACE_TEXT (" -e\t\t\tGenerate just an include of original IDL file")
42 ACE_TEXT (" if no IDL3 declarations are found\n")
43 ));
46 AST_Generator *
47 be_util::generator_init (void)
49 AST_Generator *gen = 0;
50 ACE_NEW_RETURN (gen,
51 AST_Generator,
52 0);
53 return gen;