summaryrefslogtreecommitdiff
path: root/TAO/tao/TimeBaseC.i
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-10-28 18:31:01 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-10-28 18:31:01 +0000
commitc20c95d4d526d887c9782960a3ff73f63c3c1c85 (patch)
treefd6ae8c3db752254802dfaafd1543974a4741e47 /TAO/tao/TimeBaseC.i
parent3d20d6aedf2b56b86fe2a386777c7afbf1c19c93 (diff)
downloadATCD-c20c95d4d526d887c9782960a3ff73f63c3c1c85.tar.gz
ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/TimeBaseC.i')
-rw-r--r--TAO/tao/TimeBaseC.i58
1 files changed, 16 insertions, 42 deletions
diff --git a/TAO/tao/TimeBaseC.i b/TAO/tao/TimeBaseC.i
index 02bd740e22c..dad4e618c22 100644
--- a/TAO/tao/TimeBaseC.i
+++ b/TAO/tao/TimeBaseC.i
@@ -15,13 +15,19 @@
// Irvine, CA
// USA
// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
//
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:71
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:70
ACE_INLINE
CORBA::Boolean operator<< (
@@ -29,19 +35,11 @@ CORBA::Boolean operator<< (
const TimeBase::UtcT &_tao_aggregate
)
{
- if (
+ return
(strm << _tao_aggregate.time) &&
(strm << _tao_aggregate.inacclo) &&
(strm << _tao_aggregate.inacchi) &&
- (strm << _tao_aggregate.tdf)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm << _tao_aggregate.tdf);
}
ACE_INLINE
@@ -50,23 +48,15 @@ CORBA::Boolean operator>> (
TimeBase::UtcT &_tao_aggregate
)
{
- if (
+ return
(strm >> _tao_aggregate.time) &&
(strm >> _tao_aggregate.inacclo) &&
(strm >> _tao_aggregate.inacchi) &&
- (strm >> _tao_aggregate.tdf)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm >> _tao_aggregate.tdf);
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:71
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:70
ACE_INLINE
CORBA::Boolean operator<< (
@@ -74,17 +64,9 @@ CORBA::Boolean operator<< (
const TimeBase::IntervalT &_tao_aggregate
)
{
- if (
+ return
(strm << _tao_aggregate.lower_bound) &&
- (strm << _tao_aggregate.upper_bound)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm << _tao_aggregate.upper_bound);
}
ACE_INLINE
@@ -93,16 +75,8 @@ CORBA::Boolean operator>> (
TimeBase::IntervalT &_tao_aggregate
)
{
- if (
+ return
(strm >> _tao_aggregate.lower_bound) &&
- (strm >> _tao_aggregate.upper_bound)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm >> _tao_aggregate.upper_bound);
}