summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h b/TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h
new file mode 100644
index 00000000000..412842ed536
--- /dev/null
+++ b/TAO/TAO_IDL/be_include/be_visitor_enum/enum_cs.h
@@ -0,0 +1,46 @@
+/* -*- C++ -*- */
+//
+// $Id$
+//
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// enum_cs.h
+//
+// = DESCRIPTION
+// Concrete visitor for Enums generating code in the client stubs.
+//
+// = AUTHOR
+// Aniruddha Gokhale
+//
+// ============================================================================
+
+#ifndef _BE_VISITOR_ENUM_ENUM_CS_H_
+#define _BE_VISITOR_ENUM_ENUM_CS_H_
+
+class be_visitor_enum_cs : public be_visitor_scope
+{
+ //
+ // = TITLE
+ // be_visitor_enum_cs
+ //
+ // = DESCRIPTION
+ // This is the visitor for enum for the impl file
+ //
+ //
+public:
+ be_visitor_enum_cs (be_visitor_context *ctx);
+ // conenumor
+
+ ~be_visitor_enum_cs (void);
+ // deenumor
+
+ virtual int visit_enum (be_enum *node);
+ // visit enum and generate the typecode
+};
+
+#endif /* _BE_VISITOR_ENUM_ENUM_CS_H_ */