summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h b/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h
new file mode 100644
index 00000000000..c664d166593
--- /dev/null
+++ b/TAO/TAO_IDL/be_include/be_visitor_exception/exception_ch.h
@@ -0,0 +1,48 @@
+/* -*- C++ -*- */
+//
+// $Id$
+//
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// exception_ch.h
+//
+// = DESCRIPTION
+// Visitor for Exceptions.
+// For code generation in client header
+//
+// = AUTHOR
+// Aniruddha Gokhale
+//
+// ============================================================================
+
+#ifndef _BE_VISITOR_EXCEPTION_EXCEPTION_CH_H_
+#define _BE_VISITOR_EXCEPTION_EXCEPTION_CH_H_
+
+class be_visitor_exception_ch : public be_visitor_exception
+{
+ //
+ // = TITLE
+ // be_visitor_exception_ch
+ //
+ // = DESCRIPTION
+ // This is a concrete visitor to generate the client header for exception
+ //
+ //
+public:
+ be_visitor_exception_ch (be_visitor_context *ctx);
+ // constructureor
+
+ ~be_visitor_exception_ch (void);
+ // destructureor
+
+ virtual int visit_exception (be_exception *node);
+ // visit exception. We provide code for this method in the derived class
+
+};
+
+#endif /* _BE_VISITOR_EXCEPTION_EXCEPTION_CH_H_ */