summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_field.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-11-09 19:28:55 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-11-09 19:28:55 +0000
commita29ebdf32131dd5e71938c06b7746774f8396bb4 (patch)
tree8242d903c9fe783f70927c33894ab52c48f1988a /TAO/TAO_IDL/be/be_field.cpp
parent0ad7a69df628c4084500d18ae1ffa8444c75a579 (diff)
downloadATCD-a29ebdf32131dd5e71938c06b7746774f8396bb4.tar.gz
ChangeLogTag: Mon Nov 9 19:21:53 UTC 2009 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_field.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_field.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_field.cpp b/TAO/TAO_IDL/be/be_field.cpp
index 013058376e4..374227a89ee 100644
--- a/TAO/TAO_IDL/be/be_field.cpp
+++ b/TAO/TAO_IDL/be/be_field.cpp
@@ -48,7 +48,8 @@ be_field::be_field (AST_Type *ft,
n,
vis),
be_decl (AST_Decl::NT_field,
- n)
+ n),
+ port_name_prefixed_ (false)
{
// This covers valuetype fields as well, which is what we want.
AST_Decl::NodeType nt =
@@ -77,6 +78,18 @@ be_field::gen_member_ostream_operator (TAO_OutStream *os,
ft->gen_member_ostream_operator (os, instance_name, accessor);
}
+bool
+be_field::port_name_prefixed (void) const
+{
+ return this->port_name_prefixed_;
+}
+
+void
+be_field::port_name_prefixed (bool val)
+{
+ this->port_name_prefixed_ = val;
+}
+
int
be_field::accept (be_visitor *visitor)
{