blob: 0459215ea0b34bb42f07523e99dc0c13b5ec50dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
//=============================================================================
/**
* @file be_util.cpp
*
* Static helper methods used by multiple visitors.
*
* @author Jeff Parsons
*/
//=============================================================================
#include "orbsvcs/Log_Macros.h"
#include "be_util.h"
#include "be_extern.h"
#include "ast_generator.h"
#include "orbsvcs/Log_Macros.h"
// Prepare an argument for a BE.
void
be_util::prep_be_arg (char *)
{
}
void
be_util::arg_post_proc (void)
{
}
void
be_util::usage (void)
{
ORBSVCS_DEBUG ((
LM_DEBUG,
ACE_TEXT (" -o <dir>\t\tOutput directory for the generated file.")
ACE_TEXT (" Default is current directory\n")
));
ORBSVCS_DEBUG ((
LM_DEBUG,
ACE_TEXT (" -e\t\t\tGenerate just an include of original IDL file")
ACE_TEXT (" if no IDL3 declarations are found\n")
));
}
AST_Generator *
be_util::generator_init (void)
{
AST_Generator *gen = 0;
ACE_NEW_RETURN (gen,
AST_Generator,
0);
return gen;
}
|