3 //=============================================================================
5 * @file ifr_adding_visitor_operation.h
7 * Header file for class ifr_adding_visitor_operation.
9 * @author Jeff Parsons <parsons@cs.wustl.edu>
11 //=============================================================================
14 #ifndef TAO_IFR_ADDING_VISITOR_OPERATION_H
15 #define TAO_IFR_ADDING_VISITOR_OPERATION_H
17 #include "ifr_adding_visitor.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 * @class ifr_adding_visitor_operation
26 * @brief ifr_adding_visitor_operation.
28 * This visitor overrides a few of the visit methods
29 * for the case when an operation node is seen in the AST.
31 class ifr_adding_visitor_operation
: public ifr_adding_visitor
35 ifr_adding_visitor_operation (AST_Decl
*scope
);
38 virtual ~ifr_adding_visitor_operation (void);
40 /// Visit an operation.
41 virtual int visit_operation (AST_Operation
*node
);
44 virtual int visit_argument (AST_Argument
*node
);
47 /// Holder for the operation parameter info passed to the
48 /// interface repository method create_operation().
49 CORBA::ParDescriptionSeq params_
;
51 /// Counter for building the parameter list.
55 #endif /* TAO_IFR_ADDING_VISITOR_OPERATION_H */