summaryrefslogtreecommitdiff
path: root/CIAO/tools/IDL3_to_IDL2/be_util.h
blob: 0cbb7e8a5c700c63194aec33314717cac9da6a1a (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    be_util.h
 *
 *  $Id$
 *
 *  Static helper methods used by multiple visitors.
 *
 *
 *  @author Jeff Parsons
 */
//=============================================================================

#ifndef TAO_BE_UTIL_H
#define TAO_BE_UTIL_H

#include "TAO_IDL3_TO_IDL2_BE_Export.h"

class AST_Generator;

class be_util
{
public:
  /// Special BE arg call factored out of DRV_args.
  static TAO_IDL3_TO_IDL2_BE_Export void
  prep_be_arg (char *s);

  /// Checks made after parsing args.
  static TAO_IDL3_TO_IDL2_BE_Export void
  arg_post_proc (void);

  /// Display usage of BE-specific options.
  static TAO_IDL3_TO_IDL2_BE_Export void
  usage (void);

  /// Create an AST node generator.
  static TAO_IDL3_TO_IDL2_BE_Export AST_Generator *
  generator_init (void);
};

#endif // if !defined