diff options
Diffstat (limited to 'TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp')
-rw-r--r-- | TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp b/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp index efa1d618333..021f29bbe2f 100644 --- a/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp +++ b/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp @@ -119,8 +119,8 @@ be_visitor_valuebox_union_member_ci::visit_array (be_array *node) bt->full_name ()); } - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl + << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; *os << "/// Modifier to set the member." << be_nl; @@ -130,7 +130,7 @@ be_visitor_valuebox_union_member_ci::visit_array (be_array *node) << "{" << be_idt_nl << "this->_pd_value->" << field->local_name () << " (val);" << be_uidt_nl - << "}" << be_nl << be_nl; + << "}" << be_nl_2; *os << "/// Accessor to retrieve the member." << be_nl; @@ -140,7 +140,7 @@ be_visitor_valuebox_union_member_ci::visit_array (be_array *node) << "{" << be_idt_nl << "return this->_pd_value->" << field->local_name () << " ();" << be_uidt_nl - << "}" << be_nl << be_nl; + << "}" << be_nl_2; return 0; } @@ -172,8 +172,8 @@ be_visitor_valuebox_union_member_ci::visit_enum (be_enum *node) TAO_OutStream *os = this->ctx_->stream (); - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl + << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; this->emit_member_set (field, bt, "", ""); @@ -209,8 +209,8 @@ be_visitor_valuebox_union_member_ci::visit_interface (be_interface *node) TAO_OutStream *os = this->ctx_->stream (); - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl + << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; this->emit_member_set (field, bt, "", "_ptr"); this->emit_member_get (field, bt, "", "_ptr", "const"); @@ -245,8 +245,8 @@ be_visitor_valuebox_union_member_ci::visit_interface_fwd (be_interface_fwd *node TAO_OutStream *os = this->ctx_->stream (); - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl + << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; this->emit_member_set (field, bt, "", "_ptr"); this->emit_member_get (field, bt, "", "_ptr", "const"); @@ -295,8 +295,8 @@ be_visitor_valuebox_union_member_ci::visit_predefined_type (be_predefined_type * TAO_OutStream *os = this->ctx_->stream (); - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl + << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; switch (node->pt ()) { @@ -348,8 +348,8 @@ be_visitor_valuebox_union_member_ci::visit_sequence (be_sequence *node) TAO_OutStream *os = this->ctx_->stream (); - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl + << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; this->emit_member_set (field, bt, "const ", " &"); this->emit_member_get (field, bt, "const ", " &", "const"); @@ -385,8 +385,8 @@ be_visitor_valuebox_union_member_ci::visit_string (be_string *node) TAO_OutStream *os = this->ctx_->stream (); - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl + << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; this->emit_member_set (field, bt, "", ""); this->emit_member_set (field, bt, "const ", ""); @@ -409,7 +409,7 @@ be_visitor_valuebox_union_member_ci::visit_string (be_string *node) << be_nl << "{" << be_idt_nl << "this->_pd_value->" << field->local_name () << " (val);" << be_uidt_nl - << "}" << be_nl << be_nl; + << "}" << be_nl_2; this->emit_member_get (field, bt, "const ", "", "const"); @@ -443,8 +443,8 @@ be_visitor_valuebox_union_member_ci::visit_structure (be_structure *node) TAO_OutStream *os = this->ctx_->stream (); - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl + << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; this->emit_member_set (field, bt, "const ", " &"); this->emit_member_get (field, bt, "const ", " &", "const"); @@ -499,8 +499,8 @@ be_visitor_valuebox_union_member_ci::visit_union (be_union *node) TAO_OutStream *os = this->ctx_->stream (); - *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl - << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl; + *os << be_nl_2 << "// TAO_IDL - Generated from" << be_nl + << "// " << __FILE__ << ":" << __LINE__ << be_nl_2; this->emit_member_set (field, bt, "const ", " &"); this->emit_member_get (field, bt, "const ", " &", "const"); @@ -526,7 +526,7 @@ be_visitor_valuebox_union_member_ci::emit_member_set ( << be_nl << "{" << be_idt_nl << "this->_pd_value->" << field->local_name () << " (val);" << be_uidt_nl - << "}" << be_nl << be_nl; + << "}" << be_nl_2; } @@ -549,5 +549,5 @@ be_visitor_valuebox_union_member_ci::emit_member_get ( << "{" << be_idt_nl << "return this->_pd_value->" << field->local_name () << " ();" << be_uidt_nl - << "}" << be_nl << be_nl; + << "}" << be_nl_2; } |