diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2012-03-23 21:58:32 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2012-03-23 21:58:32 +0000 |
commit | 29010fc011ba829f9549cf0ecbac08948c1e8c30 (patch) | |
tree | b7081a15493f64b195727ed59e983bfcdfffe4cd | |
parent | d1cb5731599d19888201e2867d6d4d6bb583f49b (diff) | |
download | ATCD-29010fc011ba829f9549cf0ecbac08948c1e8c30.tar.gz |
-rw-r--r-- | TAO/ChangeLog | 7 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_component/executor_exh.cpp | 5 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp | 7 |
3 files changed, 13 insertions, 6 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 32bc0ea5878..01c086cec8c 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,10 @@ +Fri Mar 23 21:57:44 UTC 2012 Johnny Willemsen <jwillemsen@remedy.nl> + + * TAO_IDL/be/be_visitor_component/executor_exh.cpp: + * TAO_IDL/be/be_visitor_operation/operation_ch.cpp: + Generated some documentation into the executor header, mostly + using @copydoc to copy the documentation from the IDl file + Fri Mar 23 21:09:02 UTC 2012 Johnny Willemsen <jwillemsen@remedy.nl> * TAO_IDL/be/be_visitor_attr_setarg_type.cpp: diff --git a/TAO/TAO_IDL/be/be_visitor_component/executor_exh.cpp b/TAO/TAO_IDL/be/be_visitor_component/executor_exh.cpp index c752f0f530f..d2eef381442 100644 --- a/TAO/TAO_IDL/be/be_visitor_component/executor_exh.cpp +++ b/TAO/TAO_IDL/be/be_visitor_component/executor_exh.cpp @@ -85,9 +85,11 @@ be_visitor_executor_exh::visit_component (be_component *node) << "{" << be_nl << "public:" << be_idt_nl; - os_ << lname << "_exec_i (void);"; + os_ << "/// Constructor" << be_nl + << lname << "_exec_i (void);"; os_ << be_nl + << "/// Destructor" << be_nl << "virtual ~" << lname << "_exec_i (void);"; os_ << be_nl_2 @@ -166,6 +168,7 @@ be_visitor_executor_exh::visit_component (be_component *node) os_ << be_uidt << be_nl_2 << "private:" << be_idt_nl + << "/// @copydoc " << sname << "::CCM_" << lname << "_Context" << be_nl << global << sname << "::CCM_" << lname << "_Context_var ciao_context_;" << be_nl_2; diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp index 82988078ca5..bc683a913af 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp @@ -36,11 +36,8 @@ be_visitor_operation_ch::visit_operation (be_operation *node) *os << be_nl_2; - // Only local operations are generated virtual -// if (node->is_local ()) - // { - *os << "virtual "; -// } + *os << "/// @copydoc " << node->full_name () << be_nl + << "virtual "; // STEP I: generate the return type. be_type *bt = be_type::narrow_from_decl (node->return_type ()); |