diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-03-16 21:52:46 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-03-16 21:52:46 +0000 |
commit | daa9b3617579a4b3a7b9d26d94e396ab93ee2441 (patch) | |
tree | 7454c19bebf15cda2bbad12168cf1b19cc3a3413 | |
parent | b03f13bc00961263232d85c5f1700c4f52653498 (diff) | |
download | ATCD-daa9b3617579a4b3a7b9d26d94e396ab93ee2441.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_typecode/value_typecode.cpp (renamed from TAO/TAO_IDL/be/be_visitor_typecode/valuetype_typecode.cpp) | 18 | ||||
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_typecode/value_typecode.h (renamed from TAO/TAO_IDL/be_include/be_visitor_typecode/valuetype_typecode.h) | 16 |
2 files changed, 17 insertions, 17 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_typecode/valuetype_typecode.cpp b/TAO/TAO_IDL/be/be_visitor_typecode/value_typecode.cpp index b36c0b3bceb..9bb7f5175db 100644 --- a/TAO/TAO_IDL/be/be_visitor_typecode/valuetype_typecode.cpp +++ b/TAO/TAO_IDL/be/be_visitor_typecode/value_typecode.cpp @@ -2,7 +2,7 @@ //============================================================================= /** - * @file struct_typecode.cpp + * @file value_typecode.cpp * * $Id$ * @@ -16,7 +16,7 @@ #include <string> -TAO::be_visitor_struct_typecode::be_visitor_struct_typecode ( +TAO::be_visitor_value_typecode::be_visitor_value_typecode ( be_visitor_context * ctx, bool is_exception) : be_visitor_typecode_defn (ctx), @@ -25,7 +25,7 @@ TAO::be_visitor_struct_typecode::be_visitor_struct_typecode ( } int -TAO::be_visitor_struct_typecode::visit_structure (AST_Structure * node) +TAO::be_visitor_value_typecode::visit_structure (AST_Structure * node) { TAO_OutStream & os = *this->ctx_->stream (); @@ -38,7 +38,7 @@ TAO::be_visitor_struct_typecode::visit_structure (AST_Structure * node) + node->flat_name ()); // Generate array containing struct field characteristics. - os << "static TAO::TypeCode::Field<char const *> const " + os << "static TAO::TypeCode::Value_Field<char const *> const " << fields_name.c_str () << "[] =" << be_idt_nl << "{" << be_idt_nl; @@ -51,11 +51,11 @@ TAO::be_visitor_struct_typecode::visit_structure (AST_Structure * node) // Generate the TypeCode instantiation. os - << "static TAO::TypeCode::Struct<char const *," << be_nl - << " TAO::TypeCode::Field<char const *> const *," << be_nl - << " CORBA::tk_" + << "static TAO::TypeCode::Value<char const *," << be_nl + << " TAO::TypeCode::Value_Field<char const *> const *," << be_nl + << " CORBA::tk_" << (this->is_exception_ ? "except" : "struct") << "," << be_nl - << " TAO::Null_RefCount_Policy> const" + << " TAO::Null_RefCount_Policy> const" << be_idt_nl << "_tao_tc_" << node->flat_name () << " (" << be_idt_nl << "\"" << node->repoID () << "\"," << be_nl @@ -69,7 +69,7 @@ TAO::be_visitor_struct_typecode::visit_structure (AST_Structure * node) } int -TAO::be_visitor_struct_typecode::visit_members (AST_Structure * node) +TAO::be_visitor_value_typecode::visit_members (AST_Structure * node) { AST_Field ** member_ptr = 0; diff --git a/TAO/TAO_IDL/be_include/be_visitor_typecode/valuetype_typecode.h b/TAO/TAO_IDL/be_include/be_visitor_typecode/value_typecode.h index a58fa8fd932..8afa9bbc716 100644 --- a/TAO/TAO_IDL/be_include/be_visitor_typecode/valuetype_typecode.h +++ b/TAO/TAO_IDL/be_include/be_visitor_typecode/value_typecode.h @@ -2,7 +2,7 @@ //============================================================================= /** - * @file struct_typecode.h + * @file value_typecode.h * * $Id$ * @@ -12,8 +12,8 @@ */ //============================================================================= -#ifndef TAO_BE_VISITOR_STRUCT_TYPECODE_H -#define TAO_BE_VISITOR_STRUCT_TYPECODE_H +#ifndef TAO_BE_VISITOR_VALUE_TYPECODE_H +#define TAO_BE_VISITOR_VALUE_TYPECODE_H #include "ace/pre.h" @@ -27,14 +27,14 @@ namespace TAO * * Structure TypeCode generation visitor. */ - class be_visitor_struct_typecode + class be_visitor_value_typecode : public be_visitor_typecode_defn { public: /// Constructor. - be_visitor_struct_typecode (be_visitor_context * ctx, - bool is_exception); + be_visitor_value_typecode (be_visitor_context * ctx, + bool is_exception); /// Visit a structure. /** @@ -44,7 +44,7 @@ namespace TAO * the rest of the legacy method names and their call sites * are updated accordingly. */ - virtual int visit_structure (AST_Structure * node); + virtual int visit_valuetype (AST_Structure * node); private: @@ -62,4 +62,4 @@ namespace TAO #include "ace/post.h" -#endif /* TAO_BE_VISITOR_STRUCT_TYPECODE_H */ +#endif /* TAO_BE_VISITOR_VALUE_TYPECODE_H */ |