summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/util/utl_global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/util/utl_global.cpp')
-rw-r--r--TAO/TAO_IDL/util/utl_global.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/util/utl_global.cpp b/TAO/TAO_IDL/util/utl_global.cpp
index 882bc56a0b3..6c2b30ee0e1 100644
--- a/TAO/TAO_IDL/util/utl_global.cpp
+++ b/TAO/TAO_IDL/util/utl_global.cpp
@@ -145,6 +145,8 @@ IDL_GlobalData::IDL_GlobalData (void)
pass_orb_idl_ (false),
using_ifr_backend_ (false),
ignore_idl3_ (false),
+ dcps_support_zero_copy_read_ (false),
+ dcps_gen_zero_copy_read_ (false),
recursion_start_ (0) // Not used by all backends.
{
// Path for the perfect hash generator(gperf) program.
@@ -1387,6 +1389,30 @@ IDL_GlobalData::ignore_idl3 (bool val)
this->ignore_idl3_ = val;
}
+bool
+IDL_GlobalData::dcps_support_zero_copy_read (void) const
+{
+ return this->dcps_support_zero_copy_read_;
+}
+
+void
+IDL_GlobalData::dcps_support_zero_copy_read (bool val)
+{
+ this->dcps_support_zero_copy_read_ = val;
+}
+
+bool
+IDL_GlobalData::dcps_gen_zero_copy_read (void) const
+{
+ return this->dcps_gen_zero_copy_read_;
+}
+
+void
+IDL_GlobalData::dcps_gen_zero_copy_read (bool val)
+{
+ this->dcps_gen_zero_copy_read_ = val;
+}
+
// Return 0 on success, -1 failure. The <errno> corresponding to the
// error that caused the GPERF execution is also set.
int