Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / orbsvcs / IFR_Service / be_util.cpp
blob15e4f2b0a850593978e078f8fcca558f405237f2
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 ()
31 void
32 be_util::usage ()
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 ()
49 AST_Generator *gen = 0;
50 ACE_NEW_RETURN (gen,
51 AST_Generator,
52 0);
53 return gen;