summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ch.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ch.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ch.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ch.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ch.h
new file mode 100644
index 00000000000..5270f9ca665
--- /dev/null
+++ b/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ch.h
@@ -0,0 +1,52 @@
+/* -*- c++ -*- */
+//
+// $Id$
+//
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// valuetype_fwd_cdr_op_ch.h
+//
+// = DESCRIPTION
+// Concrete visitor for the valuetype_fwd class
+// This one provides code generation for the CDR operators
+// (actually just their declarations) for the valuetype forward
+// declaration in the client inline.
+//
+// = AUTHOR
+// Boris Kolpackov <bosk@ipmce.ru>
+// based on code from Torsten Kuepper
+// based on code from Aniruddha Gokhale & Carlos O'Ryan
+//
+// ============================================================================
+
+#ifndef BE_VISITOR_VALUETYPE_FWD_CDR_OP_CH_H
+#define BE_VISITOR_VALUETYPE_FWD_CDR_OP_CH_H
+
+class be_visitor_valuetype_fwd_cdr_op_ch : public be_visitor_decl
+{
+ //
+ // = TITLE
+ // be_visitor_valuetype_fwd_cdr_op_ch
+ //
+ // = DESCRIPTION
+ // This is a concrete visitor for valuetype that generates the CDR
+ // operator forward declarations.
+ //
+
+public:
+ be_visitor_valuetype_fwd_cdr_op_ch (be_visitor_context *ctx);
+ // constructor
+
+ ~be_visitor_valuetype_fwd_cdr_op_ch (void);
+ // destructor
+
+ virtual int visit_valuetype_fwd (be_valuetype_fwd *node);
+ virtual int visit_eventtype_fwd (be_eventtype_fwd *node);
+};
+
+#endif /* BE_VISITOR_VALUETYPE_FWD_CDR_OP_CH_H */