#include "tao/Basic_Types.h"#include "ace/streams.h"Include dependency graph for Typecode_typesC.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | CORBA |
Defines | |
| #define | TAO_EXPORT_MACRO TAO_Export |
Functions | |
| TAO_Export CORBA::Boolean | operator<< (TAO_OutputCDR &, CORBA::TCKind) |
| TAO_Export CORBA::Boolean | operator>> (TAO_InputCDR &, CORBA::TCKind &) |
| TAO_Export std::ostream & | operator<< (std::ostream &strm, const CORBA::TCKind _tao_enumerator) |
|
|
Definition at line 48 of file Typecode_typesC.h. |
|
||||||||||||
|
Definition at line 71 of file Typecode_typesC.cpp.
00072 {
00073 switch (_tao_enumerator)
00074 {
00075 case 0: return strm << "CORBA::tk_null";
00076 case 1: return strm << "CORBA::tk_void";
00077 case 2: return strm << "CORBA::tk_short";
00078 case 3: return strm << "CORBA::tk_long";
00079 case 4: return strm << "CORBA::tk_ushort";
00080 case 5: return strm << "CORBA::tk_ulong";
00081 case 6: return strm << "CORBA::tk_float";
00082 case 7: return strm << "CORBA::tk_double";
00083 case 8: return strm << "CORBA::tk_boolean";
00084 case 9: return strm << "CORBA::tk_char";
00085 case 10: return strm << "CORBA::tk_octet";
00086 case 11: return strm << "CORBA::tk_any";
00087 case 12: return strm << "CORBA::tk_TypeCode";
00088 case 13: return strm << "CORBA::tk_Principal";
00089 case 14: return strm << "CORBA::tk_objref";
00090 case 15: return strm << "CORBA::tk_struct";
00091 case 16: return strm << "CORBA::tk_union";
00092 case 17: return strm << "CORBA::tk_enum";
00093 case 18: return strm << "CORBA::tk_string";
00094 case 19: return strm << "CORBA::tk_sequence";
00095 case 20: return strm << "CORBA::tk_array";
00096 case 21: return strm << "CORBA::tk_alias";
00097 case 22: return strm << "CORBA::tk_except";
00098 case 23: return strm << "CORBA::tk_longlong";
00099 case 24: return strm << "CORBA::tk_ulonglong";
00100 case 25: return strm << "CORBA::tk_longdouble";
00101 case 26: return strm << "CORBA::tk_wchar";
00102 case 27: return strm << "CORBA::tk_wstring";
00103 case 28: return strm << "CORBA::tk_fixed";
00104 case 29: return strm << "CORBA::tk_value";
00105 case 30: return strm << "CORBA::tk_value_box";
00106 case 31: return strm << "CORBA::tk_native";
00107 case 32: return strm << "CORBA::tk_abstract_interface";
00108 case 33: return strm << "CORBA::tk_local_interface";
00109 case 34: return strm << "CORBA::tk_component";
00110 case 35: return strm << "CORBA::tk_home";
00111 case 36: return strm << "CORBA::tk_event";
00112 default: return strm;
00113 }
00114 }
|
|
||||||||||||
|
Definition at line 53 of file Typecode_typesC.cpp.
00054 {
00055 return strm << static_cast<CORBA::ULong> (_tao_enumerator);
00056 }
|
|
||||||||||||
|
Definition at line 58 of file Typecode_typesC.cpp.
00059 {
00060 CORBA::ULong _tao_temp = 0;
00061 CORBA::Boolean const _tao_success = strm >> _tao_temp;
00062
00063 if (_tao_success)
00064 {
00065 _tao_enumerator = static_cast<CORBA::TCKind> (_tao_temp);
00066 }
00067
00068 return _tao_success;
00069 }
|
1.3.6