summaryrefslogtreecommitdiff
path: root/TAO/tao/TAOC.i
diff options
context:
space:
mode:
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);
}
+