summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h
new file mode 100644
index 00000000000..1c540eb905f
--- /dev/null
+++ b/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h
@@ -0,0 +1,49 @@
+/* -*- c++ -*- */
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// interface_ih.h
+//
+// = DESCRIPTION
+// Concrete visitor for the Interface node.
+// This provides for code generation in the implementation header
+//
+// = AUTHOR
+// Yamuna Krishnamurthy (yamuna@cs.wustl.edu)
+//
+// ============================================================================
+
+#ifndef _BE_INTERFACE_INTERFACE_IH_H_
+#define _BE_INTERFACE_INTERFACE_IH_H_
+
+class be_visitor_interface_ih : public be_visitor_interface
+{
+ //
+ // = TITLE
+ // be_visitor_interface_ih
+ //
+ // = DESCRIPTION
+ // This is a concrete visitor to generate the implementation header for interface
+ //
+ //
+public:
+ be_visitor_interface_ih (be_visitor_context *ctx);
+ // constructor
+
+ ~be_visitor_interface_ih (void);
+ // destructor
+
+ virtual int visit_interface (be_interface *node);
+ // set the right context and make a visitor
+
+ static int method_helper (be_interface *derived,
+ be_interface *node,
+ TAO_OutStream *os);
+};
+
+#endif /* _BE_INTERFACE_INTERFACE_IH_H_ */