Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / RTCORBA / RT_ProtocolPropertiesA.cpp
blobbbb61423afda2d3d4d19152ab28b160b0fdaaae6
1 // -*- C++ -*-
2 // **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
3 // TAO and the TAO IDL Compiler have been developed by:
4 // Center for Distributed Object Computing
5 // Washington University
6 // St. Louis, MO
7 // USA
8 // http://www.cs.wustl.edu/~schmidt/doc-center.html
9 // and
10 // Distributed Object Computing Laboratory
11 // University of California at Irvine
12 // Irvine, CA
13 // USA
14 // http://doc.ece.uci.edu/
15 // and
16 // Institute for Software Integrated Systems
17 // Vanderbilt University
18 // Nashville, TN
19 // USA
20 // http://www.isis.vanderbilt.edu/
22 // Information about TAO is available at:
23 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
25 #include "RT_ProtocolPropertiesA.h"
26 #include "tao/AnyTypeCode/Null_RefCount_Policy.h"
27 #include "tao/AnyTypeCode/TypeCode_Constants.h"
28 #include "tao/AnyTypeCode/Alias_TypeCode_Static.h"
29 #include "tao/AnyTypeCode/Objref_TypeCode_Static.h"
30 #include "tao/CDR.h"
31 #include "tao/AnyTypeCode/Any.h"
32 #include "tao/AnyTypeCode/Any_Impl_T.h"
34 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
37 // TAO_IDL - Generated from
38 // be\be_visitor_typecode/objref_typecode.cpp:76
40 static TAO::TypeCode::Objref<char const *,
41 TAO::Null_RefCount_Policy>
42 _tao_tc_RTCORBA_ProtocolProperties (
43 ::CORBA::tk_local_interface,
44 "IDL:omg.org/RTCORBA/ProtocolProperties:1.0",
45 "ProtocolProperties");
47 namespace RTCORBA
49 ::CORBA::TypeCode_ptr const _tc_ProtocolProperties =
50 &_tao_tc_RTCORBA_ProtocolProperties;
54 // TAO_IDL - Generated from
55 // be\be_visitor_interface/any_op_cs.cpp:51
58 namespace TAO
60 template<>
61 ::CORBA::Boolean
62 Any_Impl_T<RTCORBA::ProtocolProperties>::to_object (
63 ::CORBA::Object_ptr &_tao_elem) const
65 _tao_elem = ::CORBA::Object::_duplicate (this->value_);
66 return true;
70 namespace TAO
72 template<>
73 ::CORBA::Boolean
74 Any_Impl_T<RTCORBA::ProtocolProperties>::marshal_value (TAO_OutputCDR &)
76 return false;
79 template<>
80 ::CORBA::Boolean
81 Any_Impl_T<RTCORBA::ProtocolProperties>::demarshal_value (TAO_InputCDR &)
83 return false;
88 namespace CORBA {
89 /// Copying insertion.
90 void
91 operator<<= (
92 ::CORBA::Any &_tao_any,
93 RTCORBA::ProtocolProperties_ptr _tao_elem)
95 RTCORBA::ProtocolProperties_ptr _tao_objptr =
96 RTCORBA::ProtocolProperties::_duplicate (_tao_elem);
97 _tao_any <<= &_tao_objptr;
100 /// Non-copying insertion.
101 void
102 operator<<= (
103 ::CORBA::Any &_tao_any,
104 RTCORBA::ProtocolProperties_ptr *_tao_elem)
106 TAO::Any_Impl_T<RTCORBA::ProtocolProperties>::insert (
107 _tao_any,
108 RTCORBA::ProtocolProperties::_tao_any_destructor,
109 RTCORBA::_tc_ProtocolProperties,
110 *_tao_elem);
113 ::CORBA::Boolean
114 operator>>= (
115 const ::CORBA::Any &_tao_any,
116 RTCORBA::ProtocolProperties_ptr &_tao_elem)
118 return
119 TAO::Any_Impl_T<RTCORBA::ProtocolProperties>::extract (
120 _tao_any,
121 RTCORBA::ProtocolProperties::_tao_any_destructor,
122 RTCORBA::_tc_ProtocolProperties,
123 _tao_elem);
128 TAO_END_VERSIONED_NAMESPACE_DECL