2 #ifndef __LogTypes_hh__
3 #define __LogTypes_hh__
5 #ifndef __CORBA_H_EXTERNAL_GUARD__
6 #include <omniORB4/CORBA.h>
9 #ifndef USE_stub_in_nt_dll
10 # define USE_stub_in_nt_dll_NOT_DEFINED_LogTypes
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_LogTypes
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogTypes
24 #ifdef USE_stub_in_nt_dll
25 # ifndef USE_core_stub_in_nt_dll
26 # define USE_core_stub_in_nt_dll
28 # ifndef USE_dyn_stub_in_nt_dll
29 # define USE_dyn_stub_in_nt_dll
34 # error "A local CPP macro _core_attr has already been defined."
36 # ifdef USE_core_stub_in_nt_dll
37 # define _core_attr _OMNIORB_NTDLL_IMPORT
44 # error "A local CPP macro _dyn_attr has already been defined."
46 # ifdef USE_dyn_stub_in_nt_dll
47 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
57 _CORBA_GLOBAL_VARINT const ::CORBA::Short LS_OK _init_in_decl_( = 0 );
60 typedef _CORBA_ConstrType_Fix_Var<log_time_t> _var_type;
69 void operator>>= (cdrStream &)
const;
70 void operator<<= (cdrStream &);
73 typedef log_time_t::_var_type log_time_t_var;
77 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_log_time_t;
80 typedef _CORBA_ConstrType_Variable_Var<log_msg_t> _var_type;
83 ::CORBA::String_member componentName;
87 ::CORBA::Boolean warning;
89 ::CORBA::String_member tag;
91 ::CORBA::String_member msg;
95 void operator>>= (cdrStream &)
const;
96 void operator<<= (cdrStream &);
99 typedef log_msg_t::_var_type log_msg_t_var;
101 typedef _CORBA_ConstrType_Variable_OUT_arg< log_msg_t,log_msg_t_var > log_msg_t_out;
103 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_log_msg_t;
105 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_log_msg_buf_t;
114 : _CORBA_Unbounded_Sequence< log_msg_t > (_s) {}
117 : _CORBA_Unbounded_Sequence< log_msg_t > (_max) {}
119 : _CORBA_Unbounded_Sequence< log_msg_t > (_max, _len, _val, _rel) {}
124 _CORBA_Unbounded_Sequence< log_msg_t > ::operator=(_s);
142 if( _pd_seq )
delete _pd_seq;
149 *_pd_seq = *_s._pd_seq;
150 }
else if( _pd_seq ) {
156 inline log_msg_t& operator [] (_CORBA_ULong _s) {
157 return (*_pd_seq)[_s];
163 inline const log_msg_buf_t* operator -> ()
const {
return _pd_seq; }
164 #if defined(__GNUG__)
167 inline operator const log_msg_buf_t& ()
const {
return *_pd_seq; }
174 if( _pd_seq ) {
delete _pd_seq; _pd_seq = 0; }
203 inline log_msg_t& operator [] (_CORBA_ULong _i) {
216 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_tag_list_t;
225 : _CORBA_Unbounded_Sequence_String(_s) {}
228 : _CORBA_Unbounded_Sequence_String(_max) {}
229 inline tag_list_t(_CORBA_ULong _max, _CORBA_ULong _len,
char** _val, _CORBA_Boolean _rel=0)
230 : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}
235 _CORBA_Unbounded_Sequence_String::operator=(_s);
247 if( _s._pd_seq ) _pd_seq =
new tag_list_t(*_s._pd_seq);
253 if( _pd_seq )
delete _pd_seq;
260 *_pd_seq = *_s._pd_seq;
261 }
else if( _pd_seq ) {
267 inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
268 return (*_pd_seq)[_s];
273 inline tag_list_t* operator -> () {
return _pd_seq; }
274 inline const tag_list_t* operator -> ()
const {
return _pd_seq; }
275 #if defined(__GNUG__)
276 inline operator tag_list_t& ()
const {
return *_pd_seq; }
278 inline operator const tag_list_t& ()
const {
return *_pd_seq; }
279 inline operator tag_list_t& () {
return *_pd_seq; }
282 inline const tag_list_t& in()
const {
return *_pd_seq; }
283 inline tag_list_t& inout() {
return *_pd_seq; }
285 if( _pd_seq ) {
delete _pd_seq; _pd_seq = 0; }
310 inline operator tag_list_t*&() {
return _data; }
312 inline tag_list_t* operator->() {
return _data; }
314 inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
327 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_component_list_t;
336 : _CORBA_Unbounded_Sequence_String(_s) {}
339 : _CORBA_Unbounded_Sequence_String(_max) {}
340 inline component_list_t(_CORBA_ULong _max, _CORBA_ULong _len,
char** _val, _CORBA_Boolean _rel=0)
341 : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}
346 _CORBA_Unbounded_Sequence_String::operator=(_s);
364 if( _pd_seq )
delete _pd_seq;
371 *_pd_seq = *_s._pd_seq;
372 }
else if( _pd_seq ) {
378 inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
379 return (*_pd_seq)[_s];
386 #if defined(__GNUG__)
396 if( _pd_seq ) {
delete _pd_seq; _pd_seq = 0; }
425 inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
449 extern void operator<<=(::CORBA::Any& _a,
const log_time_t& _s);
450 extern void operator<<=(::CORBA::Any& _a,
log_time_t* _sp);
451 extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
log_time_t*& _sp);
452 extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const log_time_t*& _sp);
454 extern void operator<<=(::CORBA::Any& _a,
const log_msg_t& _s);
455 extern void operator<<=(::CORBA::Any& _a,
log_msg_t* _sp);
456 extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
log_msg_t*& _sp);
457 extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const log_msg_t*& _sp);
461 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
log_msg_buf_t*& _sp);
462 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const log_msg_buf_t*& _sp);
464 void operator<<=(::CORBA::Any& _a,
const tag_list_t& _s);
465 void operator<<=(::CORBA::Any& _a,
tag_list_t* _sp);
466 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
tag_list_t*& _sp);
467 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const tag_list_t*& _sp);
472 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const component_list_t*& _sp);
478 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_LogTypes
479 # undef USE_stub_in_nt_dll
480 # undef USE_stub_in_nt_dll_NOT_DEFINED_LogTypes
482 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_LogTypes
483 # undef USE_core_stub_in_nt_dll
484 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_LogTypes
486 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogTypes
487 # undef USE_dyn_stub_in_nt_dll
488 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogTypes
491 #endif // __LogTypes_hh__