summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_argument/paramlist.h
blob: a464bd08d7d39aacc74b123c816663cc7bf95704 (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

//=============================================================================
/**
 *  @file    paramlist.h
 *
 *  $Id$
 *
 *  Visitors for generation of code for building Dynamic::ParamList
 *
 *
 *  @author Kirthika Parameswaran  <kirthika@cs.wustl.edu>
 */
//=============================================================================


#ifndef _BE_VISITOR_ARGUMENT_PARAMLIST_H_
#define _BE_VISITOR_ARGUMENT_PARAMLIST_H_

/**
 * @class be_visitor_args_paramlist
 *
 * @brief Generates the code for arguments output.
 *
 * At several stages in the code generation a node of type
 * "be_operation" is visited, and the code for its arguments must
 * be generated. Here the generationis to build the ParameterList
 * on demand.
 */
class be_visitor_args_paramlist : public be_visitor_args
{

public:
  /// constructor
  be_visitor_args_paramlist (be_visitor_context *ctx);

  /// destructor
  virtual ~be_visitor_args_paramlist (void);

  /// visit the argument node
  virtual int visit_argument (be_argument *node);

  /// visit predefined types like boolean, char, octet, wchar.
  virtual int visit_predefined_type (be_predefined_type *node);

  /// visit the string since insertion of string and w_string is special.
  virtual int visit_string (be_string *node);
};

#endif /* _BE_VISITOR_ARGUMENT_PARAMLIST_H_ */