summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/IFR_Service/be_util.h
blob: a2038a283a93f9331ffe09e90f756a8f66236e87 (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_IFR_BE_Export.h"

class AST_Generator;

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

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

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

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

#endif // if !defined