blob: 3b1cb7d4db38cde9f6b50a239b1b0b556239c3a1 (
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
|
// $Id$
//
// ============================================================================
//
// = LIBRARY
// TAO IDL
//
// = FILENAME
// inv_arglist.h
//
// = DESCRIPTION
// Visitor for generating signature needed to invoke a given
// operation.
//
// = AUTHOR
// Angelo Corsaro
//
// ============================================================================
#ifndef _BE_VISITOR_OPERATION_INV_ARGLIST_H_
#define _BE_VISITOR_OPERATION_INV_ARGLIST_H_
// ******************************************************************************
// Operation visitor for argument list - generates parameters in the signature
// ******************************************************************************
class be_visitor_operation_inv_arglist : public be_visitor_operation
{
//
// = TITLE
// be_visitor_operaion_inv_arglist
//
// = DESCRIPTION
// This visitor generates the argument list needed to
// invoke a given operation. No parentesys are generated
// to give the caller code the abity to stick in other
// parameter that might be needed.
//
//
public:
be_visitor_operation_inv_arglist (be_visitor_context *ctx);
// constructor
~be_visitor_operation_inv_arglist (void);
// destructor
virtual int visit_operation (be_operation *node);
// visit the operation
virtual int visit_argument (be_argument *node);
// visit each argument
};
#endif /* _BE_VISITOR_OPERATION_INV_ARGLIST_H_ */
|