Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / IFR_Service / ifr_adding_visitor_operation.h
blob2975da818cdda1f5ac5af18e4b64894243a935d7
2 /* -*- C++ -*- */
3 //=============================================================================
4 /**
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)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 /**
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
33 public:
34 /// Constructor.
35 ifr_adding_visitor_operation (AST_Decl *scope);
37 /// Destructor.
38 virtual ~ifr_adding_visitor_operation (void);
40 /// Visit an operation.
41 virtual int visit_operation (AST_Operation *node);
43 /// Visit argument.
44 virtual int visit_argument (AST_Argument *node);
46 private:
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.
52 CORBA::ULong index_;
55 #endif /* TAO_IFR_ADDING_VISITOR_OPERATION_H */