summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_valuetype/arglist.h
blob: 9e8002f517ac9741ecb421e9866eea0ef9570e5f (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
56
57
58
//
// $Id$
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    arglist.h
//
// = DESCRIPTION
//    Visitor for generating code for IDL (valuetype) operations.
//    This generates the operation signature.
//
//
// ============================================================================

#ifndef _BE_VISITOR_OBV_OPERATION_ARGLIST_H_
#define _BE_VISITOR_OBV_OPERATION_ARGLIST_H_

// ******************************************************************************
// Operation visitor for argument list - generates parameters in the signature
// ******************************************************************************

class be_visitor_obv_operation_arglist : public be_visitor_scope
{
  //
  // = TITLE
  //   be_visitor_operaion_arglist
  //
  // = DESCRIPTION
  //   This is a visitor to generate operation argument list
  //
  //
public:
  be_visitor_obv_operation_arglist (be_visitor_context *ctx);
  // constructor

  ~be_visitor_obv_operation_arglist (void);
  // destructor

  int is_amh_exception_holder (be_operation *node);
  // special arglist generation for amh_exceptionholders

  int visit_operation (be_operation *node);
  // visit the operation

  int visit_argument (be_argument *node);
  // visit each argument

  int post_process (be_decl *bd);
  // set 'comma' only between arguments

};

#endif /* _BE_VISITOR_OBV_OPERATION_ARGLIST_H_ */