diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-11-30 19:28:52 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-11-30 19:28:52 +0000 |
commit | 9697dc677e9a4292fa43071d23cc9b026b418ee9 (patch) | |
tree | e4cb0bb5b10615e8dd5b9a3a50add01d3d424ce0 /TAO/TAO_IDL/be/be_visitor_arg_traits.cpp | |
parent | 6c89a6bba6a5dd6662fb81b93b8a25491123767e (diff) | |
download | ATCD-9697dc677e9a4292fa43071d23cc9b026b418ee9.tar.gz |
ChangeLogTag: Tue Nov 30 11:42:50 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_arg_traits.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_arg_traits.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp b/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp index 740f339c30d..ade81923aad 100644 --- a/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp +++ b/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp @@ -597,49 +597,6 @@ be_visitor_arg_traits::visit_enum (be_enum *node) } int -be_visitor_arg_traits::visit_predefined_type (be_predefined_type *node) -{ - if (this->generated (node) || !node->seen_in_operation ()) - { - return 0; - } - - // Only for an Any used in an operation. - if (node->pt () != AST_PredefinedType::PT_any) - { - this->generated (node, I_TRUE); - return 0; - } - - // This should be generated even for imported nodes. The ifdef guard prevents - // multiple declarations. - TAO_OutStream *os = this->ctx_->stream (); - - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__; - - os->gen_ifdef_macro ("corba_any", "arg_traits"); - - *os << be_nl << be_nl - << "ACE_TEMPLATE_SPECIALIZATION" << be_nl - << "class " << be_global->stub_export_macro () << " " - << this->S_ << "Arg_Traits<CORBA::Any>" << be_idt_nl - << ": public" << be_idt << be_idt_nl - << "Var_Size_" << this->S_ << "Arg_Traits_T<" << be_idt << be_idt_nl - << "CORBA::Any," << be_nl - << "CORBA::Any_var," << be_nl - << "CORBA::Any_out" << be_uidt_nl - << ">" << be_uidt << be_uidt << be_uidt << be_uidt_nl - << "{" << be_nl - << "};"; - - os->gen_endif (); - - this->generated (node, I_TRUE); - return 0; -} - -int be_visitor_arg_traits::visit_structure (be_structure *node) { if (this->generated (node) || !node->seen_in_operation ()) |