summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/amh_rh_ss.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/amh_sh.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/direct_proxy_impl_ss.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation_ih.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation_is.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/proxy_impl_xh.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp3
15 files changed, 15 insertions, 30 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp
index d787bde8e24..55c754c1b2e 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_sh.cpp
@@ -56,8 +56,7 @@ be_visitor_amh_rh_operation_sh::visit_operation (be_operation *node)
-1);
}
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl;
+ TAO_INSERT_COMMENT (os);
*os << "void ";
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_ss.cpp
index cb5790d5e41..ef1b11284fd 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/amh_rh_ss.cpp
@@ -73,8 +73,7 @@ be_visitor_amh_rh_operation_ss::visit_operation (be_operation *node)
buf = nullptr;
// Step 1 : Generate return type: always void
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
*os << "void" << be_nl
<< response_handler_implementation_name.c_str () << "::";
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/amh_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/amh_sh.cpp
index 401b33a299b..c877e53187d 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/amh_sh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/amh_sh.cpp
@@ -123,8 +123,7 @@ be_visitor_amh_operation_sh::generate_shared_prologue (
TAO_OutStream *os,
const char *skel_prefix)
{
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl;
+ TAO_INSERT_COMMENT (os);
*os << "static void " << skel_prefix
<< this->ctx_->port_prefix ().c_str ()
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp
index d188e056618..6c7bd3eb425 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp
@@ -301,8 +301,7 @@ be_visitor_amh_operation_ss::generate_shared_prologue (be_decl *node,
TAO_OutStream *os,
const char *skel_prefix)
{
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
// We need the interface node in which this operation was defined. However,
// if this operation node was an attribute node in disguise, we get this
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
index b073286e4d7..3e59a0dc416 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
@@ -51,8 +51,7 @@ be_visitor_operation_ami_cs::visit_operation (be_operation *node)
TAO_OutStream *os = this->ctx_->stream ();
this->ctx_->node (node);
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__;
+ TAO_INSERT_COMMENT (os);
// Generate the return type mapping. Return type is simply void.
*os << be_nl_2
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/direct_proxy_impl_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/direct_proxy_impl_ss.cpp
index aab0e909e4b..f1918f568b1 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/direct_proxy_impl_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/direct_proxy_impl_ss.cpp
@@ -53,8 +53,7 @@ be_visitor_operation_direct_proxy_impl_ss::visit_operation (
}
}
- *os << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl;
+ TAO_INSERT_COMMENT (os);
*os << "void" << be_nl
<< intf->full_direct_proxy_impl_name () << "::";
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp
index ec94769a15e..0a97ddb3e8d 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_cs.cpp
@@ -84,8 +84,7 @@ be_visitor_operation_cs::visit_operation (be_operation *node)
return 0;
}
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
// Retrieve the operation return type.
be_type *bt = dynamic_cast<be_type*> (node->return_type ());
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ih.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ih.cpp
index 26ab9dace41..f72f65c46d4 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ih.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_ih.cpp
@@ -36,8 +36,7 @@ be_visitor_operation_ih::visit_operation (be_operation *node)
if (be_global->gen_impl_debug_info ())
{
- *os << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
}
// every operation is declared virtual in the client code
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_is.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_is.cpp
index 2de4bd8c983..8ed90f466bb 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation_is.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_is.cpp
@@ -48,8 +48,7 @@ be_visitor_operation_is::visit_operation (be_operation *node)
if (be_global->gen_impl_debug_info ())
{
- *os << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
}
be_visitor_context ctx (*this->ctx_);
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp
index d26e0eb61eb..4ebc3183199 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp
@@ -32,8 +32,7 @@ be_visitor_operation_sh::visit_operation (be_operation *node)
TAO_OutStream *os = this->ctx_->stream ();
this->ctx_->node (node);
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
*os << "virtual ";
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp
index a3256880c8e..3bccb12acba 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp
@@ -164,8 +164,7 @@ be_visitor_operation_ss::gen_skel_operation_body (be_operation * node,
intf->full_skel_name (),
upcall_command_name.c_str ());
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
*os << "void " << intf->full_skel_name () << "::";
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/proxy_impl_xh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/proxy_impl_xh.cpp
index 87bdd4dc2da..4ccd4afe626 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/proxy_impl_xh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/proxy_impl_xh.cpp
@@ -22,8 +22,7 @@ int be_visitor_operation_proxy_impl_xh::visit_operation (be_operation *node)
TAO_OutStream *os = this->ctx_->stream ();
this->ctx_->node (node);
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
*os << "static void" << be_nl;
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp
index fb24e5ed20d..39fb690509f 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/tie_sh.cpp
@@ -47,8 +47,7 @@ be_visitor_operation_tie_sh::visit_operation (be_operation *node)
-1);
}
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
be_visitor_context ctx (*this->ctx_);
be_visitor_operation_rettype oro_visitor (&ctx);
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp
index 6d68b3ec985..98b36380c26 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp
@@ -88,8 +88,7 @@ int be_visitor_operation_tie_ss::visit_operation (be_operation *node)
}
}
- *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (os);
*os << "template <class " << template_name.c_str () << ">" << be_nl;
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp
index 6cd6515a881..041af2c2dc1 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/upcall_command_ss.cpp
@@ -76,8 +76,7 @@ be_visitor_operation_upcall_command_ss::visit (
// save the node.
this->ctx_->node (node);
- os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl_2;
+ TAO_INSERT_COMMENT (&os);
// Generate the operation-specific TAO::Upcall_Command concrete
// class.