diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_operation/arglist.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_operation/arglist.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_operation/arglist.h b/TAO/TAO_IDL/be_include/be_visitor_operation/arglist.h new file mode 100644 index 00000000000..a37510cca05 --- /dev/null +++ b/TAO/TAO_IDL/be_include/be_visitor_operation/arglist.h @@ -0,0 +1,56 @@ +// +// $Id$ +// + +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// arglist.h +// +// = DESCRIPTION +// Visitor for generating code for IDL operations. This generates the +// operation signature. +// +// = AUTHOR +// Aniruddha Gokhale +// +// ============================================================================ + +#ifndef _BE_VISITOR_OPERATION_ARGLIST_H_ +#define _BE_VISITOR_OPERATION_ARGLIST_H_ + +// ****************************************************************************** +// Operation visitor for argument list - generates parameters in the signature +// ****************************************************************************** + +class be_visitor_operation_arglist : public be_visitor_operation +{ + // + // = TITLE + // be_visitor_operaion_arglist + // + // = DESCRIPTION + // This is a visitor to generate operation argument list + // + // +public: + be_visitor_operation_arglist (be_visitor_context *ctx); + // constructor + + ~be_visitor_operation_arglist (void); + // destructor + + virtual int visit_operation (be_operation *node); + // visit the operation + + virtual int visit_argument (be_argument *node); + // visit each argument + + virtual int post_process (be_decl *); + // stuff to o/p after each element of the scope is handled +}; + +#endif /* _BE_VISITOR_OPERATION_ARGLIST_H_ */ |