summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkolpackov <kolpackov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-18 18:22:15 +0000
committerkolpackov <kolpackov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-18 18:22:15 +0000
commit064df7ea5c815d9ea7f9503ae91b3e7e332afe56 (patch)
tree0876a53e571eb821ddeb95fdc866f58650afe562
parentbb32138a0f9c8e9dbe0c631a9532ee3b5ba64474 (diff)
downloadATCD-064df7ea5c815d9ea7f9503ae91b3e7e332afe56.tar.gz
*** empty log message ***
-rw-r--r--TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_decl.h3
-rw-r--r--TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h16
2 files changed, 19 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_decl.h b/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_decl.h
index 85e3f6bcea4..9b3e7f3f40e 100644
--- a/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_decl.h
+++ b/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_decl.h
@@ -69,6 +69,9 @@ public:
virtual int visit_union (be_union *node);
// visit a union
+ virtual int visit_valuetype (be_valuetype *node);
+ // visit a valuetype
+
};
#endif /* _BE_VISITOR_TYPECODE_TYPECODE_DECL_H_ */
diff --git a/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h b/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h
index e57228c98ff..38b05fd74a6 100644
--- a/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h
+++ b/TAO/TAO_IDL/be_include/be_visitor_typecode/typecode_defn.h
@@ -51,6 +51,9 @@ public:
virtual int visit_members (AST_Structure *node);
// for use with structs, exceptions, and unions.
+ virtual int visit_members (be_valuetype *node);
+ // for use with valuetypes.
+
virtual int visit_type (be_type *node);
// visit a generic be_type node
@@ -89,6 +92,11 @@ public:
virtual int visit_union (be_union *node);
// visit a union
+ virtual int visit_valuetype (be_valuetype *node);
+ // visit a valuetype
+
+
+
// = visit methods for the scope elements
virtual int visit_enum_val (be_enum_val *node);
@@ -132,6 +140,8 @@ public:
int gen_typecode (be_union *node);
+ int gen_typecode (be_valuetype *node);
+
// = methods to generate encapsulations for typecodes
int gen_encapsulation (be_array *node);
@@ -162,6 +172,8 @@ public:
int gen_encapsulation (be_union_branch *node);
+ int gen_encapsulation (be_valuetype *node);
+
// = methods for computing typecode sizes
ACE_CDR::Long compute_tc_size (be_array *node);
@@ -186,6 +198,8 @@ public:
ACE_CDR::Long compute_tc_size (be_union *node);
+ ACE_CDR::Long compute_tc_size (be_valuetype *node);
+
// methods for computing the encapsulation length
ACE_CDR::Long compute_encap_length (be_array *node);
@@ -216,6 +230,8 @@ public:
ACE_CDR::Long compute_encap_length (be_union_branch *node);
+ ACE_CDR::Long compute_encap_length (be_valuetype *node);
+
// helpers to generate the repoID and name
void gen_repoID (be_decl *node);