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:291
29 #include "tao/Typecode_typesC.h"
32 // TAO_IDL - Generated from
33 // be\be_visitor_arg_traits.cpp:70
35 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
37 // Arg traits specializations.
43 // TAO_IDL - Generated from
44 // be\be_visitor_enum/cdr_op_cs.cpp:51
46 CORBA::Boolean
operator<< (TAO_OutputCDR
& strm
, CORBA::TCKind _tao_enumerator
)
48 return strm
<< static_cast<CORBA::ULong
> (_tao_enumerator
);
51 CORBA::Boolean
operator>> (TAO_InputCDR
& strm
, CORBA::TCKind
& _tao_enumerator
)
53 CORBA::ULong _tao_temp
= 0;
54 CORBA::Boolean
const _tao_success
= strm
>> _tao_temp
;
58 _tao_enumerator
= static_cast<CORBA::TCKind
> (_tao_temp
);
64 std::ostream
& operator<< (std::ostream
&strm
, const CORBA::TCKind _tao_enumerator
)
66 switch (_tao_enumerator
)
68 case 0: return strm
<< "CORBA::tk_null";
69 case 1: return strm
<< "CORBA::tk_void";
70 case 2: return strm
<< "CORBA::tk_short";
71 case 3: return strm
<< "CORBA::tk_long";
72 case 4: return strm
<< "CORBA::tk_ushort";
73 case 5: return strm
<< "CORBA::tk_ulong";
74 case 6: return strm
<< "CORBA::tk_float";
75 case 7: return strm
<< "CORBA::tk_double";
76 case 8: return strm
<< "CORBA::tk_boolean";
77 case 9: return strm
<< "CORBA::tk_char";
78 case 10: return strm
<< "CORBA::tk_octet";
79 case 11: return strm
<< "CORBA::tk_any";
80 case 12: return strm
<< "CORBA::tk_TypeCode";
81 case 13: return strm
<< "CORBA::tk_Principal";
82 case 14: return strm
<< "CORBA::tk_objref";
83 case 15: return strm
<< "CORBA::tk_struct";
84 case 16: return strm
<< "CORBA::tk_union";
85 case 17: return strm
<< "CORBA::tk_enum";
86 case 18: return strm
<< "CORBA::tk_string";
87 case 19: return strm
<< "CORBA::tk_sequence";
88 case 20: return strm
<< "CORBA::tk_array";
89 case 21: return strm
<< "CORBA::tk_alias";
90 case 22: return strm
<< "CORBA::tk_except";
91 case 23: return strm
<< "CORBA::tk_longlong";
92 case 24: return strm
<< "CORBA::tk_ulonglong";
93 case 25: return strm
<< "CORBA::tk_longdouble";
94 case 26: return strm
<< "CORBA::tk_wchar";
95 case 27: return strm
<< "CORBA::tk_wstring";
96 case 28: return strm
<< "CORBA::tk_fixed";
97 case 29: return strm
<< "CORBA::tk_value";
98 case 30: return strm
<< "CORBA::tk_value_box";
99 case 31: return strm
<< "CORBA::tk_native";
100 case 32: return strm
<< "CORBA::tk_abstract_interface";
101 case 33: return strm
<< "CORBA::tk_local_interface";
102 case 34: return strm
<< "CORBA::tk_component";
103 case 35: return strm
<< "CORBA::tk_home";
104 case 36: return strm
<< "CORBA::tk_event";
105 default: return strm
;
109 TAO_END_VERSIONED_NAMESPACE_DECL