diff options
author | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-31 00:17:23 +0000 |
---|---|---|
committer | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-31 00:17:23 +0000 |
commit | b7d5f95c72fe9ccf245d9bc4777d34659ae1fbc7 (patch) | |
tree | ab8e38bb308f143c48b04f8f351a3d0b5f911efe | |
parent | f94e94f78ef39dd3422879de6f18e1cc4df94c53 (diff) | |
download | ATCD-b7d5f95c72fe9ccf245d9bc4777d34659ae1fbc7.tar.gz |
removed unwanted bt decls
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation/interceptors_result.cpp | 83 |
1 files changed, 5 insertions, 78 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/interceptors_result.cpp b/TAO/TAO_IDL/be/be_visitor_operation/interceptors_result.cpp index 6bd6f817f51..f3968c940d8 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation/interceptors_result.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation/interceptors_result.cpp @@ -60,14 +60,6 @@ int be_visitor_operation_interceptors_result::visit_array (be_array *node) int be_visitor_operation_interceptors_result::visit_enum (be_enum *node) { TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); *os << "this->result_val_ <<= this->result_;"; @@ -78,13 +70,6 @@ int be_visitor_operation_interceptors_result::visit_interface (be_interface *nod { TAO_OutStream *os = this->ctx_->stream (); // get output stream - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); *os << "this->result_val_ <<= this->result_;"; @@ -93,14 +78,6 @@ int be_visitor_operation_interceptors_result::visit_interface (be_interface *nod int be_visitor_operation_interceptors_result::visit_interface_fwd (be_interface_fwd *node) { TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); *os << "this->result_val_ <<= this->result_;"; @@ -112,16 +89,10 @@ int be_visitor_operation_interceptors_result::visit_interface_fwd (be_interface_ int be_visitor_operation_interceptors_result::visit_valuetype (be_valuetype *node) { TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); - *os << "this->result_val_ <<= this->result_;"; + + // Not supported since TAO doesnt support Any operators for valuetype yet. + // *os << "this->result_val_ <<= this->result_;"; return 0; @@ -130,16 +101,9 @@ int be_visitor_operation_interceptors_result::visit_valuetype (be_valuetype *nod int be_visitor_operation_interceptors_result::visit_valuetype_fwd (be_valuetype_fwd *node) { TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); - *os << "this->result_val_ <<= this->result_;"; + // Not supported since TAO doesnt support Any operators for valuetype yet. + // *os << "this->result_val_ <<= this->result_;"; return 0; @@ -151,14 +115,6 @@ int be_visitor_operation_interceptors_result::visit_predefined_type (be_predefined_type *node) { TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); *os << "this->result_val_ <<= "; switch (node->pt ()) @@ -203,14 +159,6 @@ be_visitor_operation_interceptors_result::visit_predefined_type (be_predefined_t int be_visitor_operation_interceptors_result::visit_sequence (be_sequence *node) { TAO_OutStream *os = this->ctx_->stream (); // get output stream - - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); *os << "this->result_val_ <<= this->result_;"; @@ -250,13 +198,6 @@ int be_visitor_operation_interceptors_result::visit_structure (be_structure *nod { TAO_OutStream *os = this->ctx_->stream (); // get output stream - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); *os << "this->result_val_ <<= this->result_;"; @@ -268,13 +209,6 @@ int be_visitor_operation_interceptors_result::visit_union (be_union *node) { TAO_OutStream *os = this->ctx_->stream (); // get output stream - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); *os << "this->result_val_ <<= this->result_;"; @@ -286,13 +220,6 @@ int be_visitor_operation_interceptors_result::visit_typedef (be_typedef *node) { TAO_OutStream *os = this->ctx_->stream (); // get output stream - // if the current type is an alias, use that - be_type *bt; - if (this->ctx_->alias ()) - bt = this->ctx_->alias (); - else - bt = node; - os->indent (); *os << "this->result_val_ <<= this->result_;"; |