summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_union_branch.cpp
diff options
context:
space:
mode:
authorgokhale <asgokhale@users.noreply.github.com>1997-05-16 21:20:23 +0000
committergokhale <asgokhale@users.noreply.github.com>1997-05-16 21:20:23 +0000
commit1f2aefae4e6eefd8bfeae6f6f342d39dc1338d94 (patch)
treea8979a3cb644742d33da0e00a75ab8b973c5331f /TAO/TAO_IDL/be/be_union_branch.cpp
parent35a014b28cfb7844d8c6a6f3aea284180e9f9340 (diff)
downloadATCD-1f2aefae4e6eefd8bfeae6f6f342d39dc1338d94.tar.gz
TAO IDL Compiler: Backend IDL to C++ mapping for TAO
Diffstat (limited to 'TAO/TAO_IDL/be/be_union_branch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_union_branch.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_union_branch.cpp b/TAO/TAO_IDL/be/be_union_branch.cpp
new file mode 100644
index 00000000000..edcf246344d
--- /dev/null
+++ b/TAO/TAO_IDL/be/be_union_branch.cpp
@@ -0,0 +1,22 @@
+#include "idl.h"
+#include "idl_extern.h"
+#include "be.h"
+
+/*
+ * BE_UnionBranch
+ */
+be_union_branch::be_union_branch()
+{
+}
+be_union_branch::be_union_branch(AST_UnionLabel *lab, AST_Type *ft,
+ UTL_ScopedName *n, UTL_StrList *p)
+ : AST_UnionBranch(lab, ft, n, p),
+ AST_Field(AST_Decl::NT_union_branch, ft, n, p),
+ AST_Decl(AST_Decl::NT_union_branch, n, p)
+{
+}
+
+// Narrowing
+IMPL_NARROW_METHODS1(be_union_branch, AST_UnionBranch)
+IMPL_NARROW_FROM_DECL(be_union_branch)
+