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
8 // http://www.cs.wustl.edu/~schmidt/doc-center.html
10 // Distributed Object Computing Laboratory
11 // University of California at Irvine
14 // http://doc.ece.uci.edu/
16 // Institute for Software Integrated Systems
17 // Vanderbilt University
20 // http://www.isis.vanderbilt.edu/
22 // Information about TAO is available at:
23 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
25 // TAO_IDL - Generated from
26 // be\be_codegen.cpp:371
29 #include "tao/RTCORBA/RTCORBA.h"
31 #include "ace/OS_NS_string.h"
33 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
36 // TAO_IDL - Generated from
37 // be\be_visitor_arg_traits.cpp:72
40 TAO_END_VERSIONED_NAMESPACE_DECL
43 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
46 // Arg traits specializations.
51 TAO_END_VERSIONED_NAMESPACE_DECL
54 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
58 // TAO_IDL - Generated from
59 // be\be_visitor_interface/interface_cs.cpp:60
61 // Traits specializations for RTCORBA::ProtocolProperties.
63 RTCORBA::ProtocolProperties_ptr
64 TAO::Objref_Traits
<RTCORBA::ProtocolProperties
>::duplicate (
65 RTCORBA::ProtocolProperties_ptr p
)
67 return RTCORBA::ProtocolProperties::_duplicate (p
);
71 TAO::Objref_Traits
<RTCORBA::ProtocolProperties
>::release (
72 RTCORBA::ProtocolProperties_ptr p
)
77 RTCORBA::ProtocolProperties_ptr
78 TAO::Objref_Traits
<RTCORBA::ProtocolProperties
>::nil ()
80 return RTCORBA::ProtocolProperties::_nil ();
84 TAO::Objref_Traits
<RTCORBA::ProtocolProperties
>::marshal (
85 const RTCORBA::ProtocolProperties_ptr p
,
88 return ::CORBA::Object::marshal (p
, cdr
);
91 RTCORBA::ProtocolProperties::ProtocolProperties ()
94 RTCORBA::ProtocolProperties::~ProtocolProperties ()
98 RTCORBA::ProtocolProperties::_tao_any_destructor (void *_tao_void_pointer
)
100 ProtocolProperties
*_tao_tmp_pointer
=
101 static_cast<ProtocolProperties
*> (_tao_void_pointer
);
102 ::CORBA::release (_tao_tmp_pointer
);
105 RTCORBA::ProtocolProperties_ptr
106 RTCORBA::ProtocolProperties::_narrow (
107 ::CORBA::Object_ptr _tao_objref
110 return ProtocolProperties::_duplicate (
111 dynamic_cast<ProtocolProperties_ptr
> (_tao_objref
)
115 RTCORBA::ProtocolProperties_ptr
116 RTCORBA::ProtocolProperties::_unchecked_narrow (
117 ::CORBA::Object_ptr _tao_objref
120 return ProtocolProperties::_duplicate (
121 dynamic_cast<ProtocolProperties_ptr
> (_tao_objref
)
125 RTCORBA::ProtocolProperties_ptr
126 RTCORBA::ProtocolProperties::_duplicate (ProtocolProperties_ptr obj
)
128 if (! ::CORBA::is_nil (obj
))
137 RTCORBA::ProtocolProperties::_tao_release (ProtocolProperties_ptr obj
)
139 ::CORBA::release (obj
);
143 RTCORBA::ProtocolProperties::_is_a (const char *value
)
148 "IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
152 "IDL:omg.org/CORBA/LocalObject:1.0"
156 "IDL:omg.org/CORBA/Object:1.0"
160 return true; // success using local knowledge
168 const char* RTCORBA::ProtocolProperties::_interface_repository_id () const
170 return "IDL:omg.org/RTCORBA/ProtocolProperties:1.0";
174 RTCORBA::ProtocolProperties::marshal (TAO_OutputCDR
&)
179 //////////////////////////////////////////////////////
180 // CDR Encoding Support hand crafted
183 RTCORBA::ProtocolProperties::_tao_encode (TAO_OutputCDR
&)
187 // TAO_IDL - Generated from
188 // be/be_visitor_arg_traits.cpp:60
191 RTCORBA::ProtocolProperties::_tao_decode (TAO_InputCDR
&)
195 TAO_END_VERSIONED_NAMESPACE_DECL