diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_exception/any_op_ch.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_exception/any_op_ch.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/any_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_exception/any_op_ch.h new file mode 100644 index 00000000000..f027af57be9 --- /dev/null +++ b/TAO/TAO_IDL/be_include/be_visitor_exception/any_op_ch.h @@ -0,0 +1,60 @@ +/* -*- C++ -*- */ +// +// $Id$ +// + +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// any_op_ch.h +// +// = DESCRIPTION +// Visitor for Exceptions. +// For code generation of Any operator in client header +// +// = AUTHOR +// Aniruddha Gokhale +// +// ============================================================================ + +#ifndef _BE_VISITOR_EXCEPTION_ANY_OP_CH_H_ +#define _BE_VISITOR_EXCEPTION_ANY_OP_CH_H_ + +class be_visitor_exception_any_op_ch : public be_visitor_scope +{ + // + // = TITLE + // be_visitor_exception_any_op_ch + // + // = DESCRIPTION + // This is a concrete visitor for exception that generates the Any operator + // declarations + // + +public: + be_visitor_exception_any_op_ch (be_visitor_context *ctx); + // constructor + + ~be_visitor_exception_any_op_ch (void); + // destructor + + virtual int visit_exception (be_exception *node); + // visit exception + + virtual int visit_field (be_field *node); + // visit field + + virtual int visit_enum (be_enum *node); + // visit field + + virtual int visit_structure (be_structure *node); + // visit field + + virtual int visit_union (be_union *node); + // visit field +}; + +#endif /* _BE_VISITOR_EXCEPTION_ANY_OP_CH_H_ */ |