summaryrefslogtreecommitdiff
path: root/TAO/tao/TAOC.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/TAOC.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/TAOC.i')
-rw-r--r--TAO/tao/TAOC.i61
1 files changed, 13 insertions, 48 deletions
diff --git a/TAO/tao/TAOC.i b/TAO/tao/TAOC.i
index 0e5dcf9bb14..449a24ba1f2 100644
--- a/TAO/tao/TAOC.i
+++ b/TAO/tao/TAOC.i
@@ -15,47 +15,27 @@
// 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_interface/interface_ci.cpp:68
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63
#if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY___CI_)
#define _TAO_BUFFERINGCONSTRAINTPOLICY___CI_
-template<>
-ACE_INLINE
-CORBA::Boolean
-TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::to_object (
- CORBA::Object_ptr &_tao_elem
- ) const
-{
- _tao_elem = CORBA::Object::_duplicate (this->value_);
- return 1;
-}
-
-template<>
-ACE_INLINE
-CORBA::Boolean
-TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::marshal_value (TAO_OutputCDR &)
-{
- return 0;
-}
-
-template<>
-ACE_INLINE
-CORBA::Boolean
-TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::demarshal_value (TAO_InputCDR &)
-{
- return 0;
-}
#endif /* end #if !defined */
// 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<< (
@@ -63,19 +43,11 @@ CORBA::Boolean operator<< (
const TAO::BufferingConstraint &_tao_aggregate
)
{
- if (
+ return
(strm << _tao_aggregate.mode) &&
(strm << _tao_aggregate.timeout) &&
(strm << _tao_aggregate.message_count) &&
- (strm << _tao_aggregate.message_bytes)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm << _tao_aggregate.message_bytes);
}
ACE_INLINE
@@ -84,17 +56,10 @@ CORBA::Boolean operator>> (
TAO::BufferingConstraint &_tao_aggregate
)
{
- if (
+ return
(strm >> _tao_aggregate.mode) &&
(strm >> _tao_aggregate.timeout) &&
(strm >> _tao_aggregate.message_count) &&
- (strm >> _tao_aggregate.message_bytes)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm >> _tao_aggregate.message_bytes);
}
+