summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_operation/ami_arglist.h
blob: 26c09921b7e0d49734777b7a3befcbc80e0a2f16 (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
//
// $Id$
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    ami_arglist.h
//
// = DESCRIPTION
//    Visitor for generating IDL Stub code for IDL operations. This
//    generates the operation signature for the IDL stub. 
//
// = AUTHOR
//    Alexander Babu Arulanthu <alex@cs.wustl.edu>
//
// ============================================================================

#ifndef _BE_VISITOR_OPERATION_AMI_ARGLIST_H_
#define _BE_VISITOR_OPERATION_AMI_ARGLIST_H_

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

class be_visitor_operation_ami_arglist : public be_visitor_scope
{
  //
  // = TITLE
  //     be_visitor_operaion_ami_arglist
  //
  // = DESCRIPTION
  //     This is a visitor to generate operation argument list for an
  //     AMI stub.
  //
  //
public:
  be_visitor_operation_ami_arglist (be_visitor_context *ctx);
  // constructor

  ~be_visitor_operation_ami_arglist (void);
  // destructor

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

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

#endif /* _BE_VISITOR_OPERATION_AMI_ARGLIST_H_ */