2 #ifndef __commonLogTypes_hh__
3 #define __commonLogTypes_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_commonLogTypes
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
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_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqAny;
61 class LogSeqAny :
public _CORBA_Unbounded_Sequence< ::CORBA::Any > {
66 : _CORBA_Unbounded_Sequence< ::CORBA::Any > (_s) {}
69 : _CORBA_Unbounded_Sequence< ::CORBA::Any > (_max) {}
70 inline LogSeqAny(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Any* _val, _CORBA_Boolean _rel=0)
71 : _CORBA_Unbounded_Sequence< ::CORBA::Any > (_max, _len, _val, _rel) {}
76 _CORBA_Unbounded_Sequence< ::CORBA::Any > ::operator=(_s);
88 if( _s._pd_seq ) _pd_seq =
new LogSeqAny(*_s._pd_seq);
94 if( _pd_seq )
delete _pd_seq;
101 *_pd_seq = *_s._pd_seq;
102 }
else if( _pd_seq ) {
108 inline ::CORBA::Any& operator [] (_CORBA_ULong _s) {
109 return (*_pd_seq)[_s];
114 inline LogSeqAny* operator -> () {
return _pd_seq; }
115 inline const LogSeqAny* operator -> ()
const {
return _pd_seq; }
116 #if defined(__GNUG__)
117 inline operator LogSeqAny& ()
const {
return *_pd_seq; }
119 inline operator const LogSeqAny& ()
const {
return *_pd_seq; }
120 inline operator LogSeqAny& () {
return *_pd_seq; }
123 inline const LogSeqAny& in()
const {
return *_pd_seq; }
124 inline LogSeqAny& inout() {
return *_pd_seq; }
126 if( _pd_seq ) {
delete _pd_seq; _pd_seq = 0; }
141 : _data(_s._pd_seq) { _s = (
LogSeqAny*) 0; }
151 inline operator LogSeqAny*&() {
return _data; }
152 inline LogSeqAny*& ptr() {
return _data; }
153 inline LogSeqAny* operator->() {
return _data; }
155 inline ::CORBA::Any& operator [] (_CORBA_ULong _i) {
168 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqDouble;
172 class LogSeqDouble :
public _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > {
177 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_s) {}
180 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_max) {}
181 inline LogSeqDouble(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Double* _val, _CORBA_Boolean _rel=0)
182 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_max, _len, _val, _rel) {}
187 _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > ::operator=(_s);
199 if( _s._pd_seq ) _pd_seq =
new LogSeqDouble(*_s._pd_seq);
205 if( _pd_seq )
delete _pd_seq;
212 *_pd_seq = *_s._pd_seq;
213 }
else if( _pd_seq ) {
219 inline ::CORBA::Double& operator [] (_CORBA_ULong _s) {
220 return (*_pd_seq)[_s];
226 inline const LogSeqDouble* operator -> ()
const {
return _pd_seq; }
227 #if defined(__GNUG__)
228 inline operator LogSeqDouble& ()
const {
return *_pd_seq; }
230 inline operator const LogSeqDouble& ()
const {
return *_pd_seq; }
234 inline const LogSeqDouble& in()
const {
return *_pd_seq; }
237 if( _pd_seq ) {
delete _pd_seq; _pd_seq = 0; }
266 inline ::CORBA::Double& operator [] (_CORBA_ULong _i) {
279 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqLong;
283 class LogSeqLong :
public _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > {
288 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > (_s) {}
291 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > (_max) {}
292 inline LogSeqLong(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Long* _val, _CORBA_Boolean _rel=0)
293 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > (_max, _len, _val, _rel) {}
298 _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > ::operator=(_s);
310 if( _s._pd_seq ) _pd_seq =
new LogSeqLong(*_s._pd_seq);
316 if( _pd_seq )
delete _pd_seq;
323 *_pd_seq = *_s._pd_seq;
324 }
else if( _pd_seq ) {
330 inline ::CORBA::Long& operator [] (_CORBA_ULong _s) {
331 return (*_pd_seq)[_s];
336 inline LogSeqLong* operator -> () {
return _pd_seq; }
337 inline const LogSeqLong* operator -> ()
const {
return _pd_seq; }
338 #if defined(__GNUG__)
339 inline operator LogSeqLong& ()
const {
return *_pd_seq; }
341 inline operator const LogSeqLong& ()
const {
return *_pd_seq; }
342 inline operator LogSeqLong& () {
return *_pd_seq; }
345 inline const LogSeqLong& in()
const {
return *_pd_seq; }
346 inline LogSeqLong& inout() {
return *_pd_seq; }
348 if( _pd_seq ) {
delete _pd_seq; _pd_seq = 0; }
373 inline operator LogSeqLong*&() {
return _data; }
375 inline LogSeqLong* operator->() {
return _data; }
377 inline ::CORBA::Long& operator [] (_CORBA_ULong _i) {
390 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqChar;
399 : _CORBA_Unbounded_Sequence_Char(_s) {}
402 : _CORBA_Unbounded_Sequence_Char(_max) {}
403 inline LogSeqChar(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Char* _val, _CORBA_Boolean _rel=0)
404 : _CORBA_Unbounded_Sequence_Char(_max, _len, _val, _rel) {}
409 _CORBA_Unbounded_Sequence_Char::operator=(_s);
421 if( _s._pd_seq ) _pd_seq =
new LogSeqChar(*_s._pd_seq);
427 if( _pd_seq )
delete _pd_seq;
434 *_pd_seq = *_s._pd_seq;
435 }
else if( _pd_seq ) {
441 inline ::CORBA::Char& operator [] (_CORBA_ULong _s) {
442 return (*_pd_seq)[_s];
447 inline LogSeqChar* operator -> () {
return _pd_seq; }
448 inline const LogSeqChar* operator -> ()
const {
return _pd_seq; }
449 #if defined(__GNUG__)
450 inline operator LogSeqChar& ()
const {
return *_pd_seq; }
452 inline operator const LogSeqChar& ()
const {
return *_pd_seq; }
453 inline operator LogSeqChar& () {
return *_pd_seq; }
456 inline const LogSeqChar& in()
const {
return *_pd_seq; }
457 inline LogSeqChar& inout() {
return *_pd_seq; }
459 if( _pd_seq ) {
delete _pd_seq; _pd_seq = 0; }
484 inline operator LogSeqChar*&() {
return _data; }
486 inline LogSeqChar* operator->() {
return _data; }
488 inline ::CORBA::Char& operator [] (_CORBA_ULong _i) {
501 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqString;
510 : _CORBA_Unbounded_Sequence_String(_s) {}
513 : _CORBA_Unbounded_Sequence_String(_max) {}
514 inline LogSeqString(_CORBA_ULong _max, _CORBA_ULong _len,
char** _val, _CORBA_Boolean _rel=0)
515 : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}
520 _CORBA_Unbounded_Sequence_String::operator=(_s);
532 if( _s._pd_seq ) _pd_seq =
new LogSeqString(*_s._pd_seq);
538 if( _pd_seq )
delete _pd_seq;
545 *_pd_seq = *_s._pd_seq;
546 }
else if( _pd_seq ) {
552 inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
553 return (*_pd_seq)[_s];
559 inline const LogSeqString* operator -> ()
const {
return _pd_seq; }
560 #if defined(__GNUG__)
561 inline operator LogSeqString& ()
const {
return *_pd_seq; }
563 inline operator const LogSeqString& ()
const {
return *_pd_seq; }
567 inline const LogSeqString& in()
const {
return *_pd_seq; }
570 if( _pd_seq ) {
delete _pd_seq; _pd_seq = 0; }
599 inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
615 ::CORBA::String_member name;
617 ::CORBA::String_member
function;
619 ::CORBA::String_member forwarder_name;
624 pd_insertToAnyFn = insertToAnyFn;
625 pd_insertToAnyFnNCP = insertToAnyFnNCP;
628 LogBadNameException(
const char* i_name,
const char* i_function,
const char* i_forwarder_name);
631 virtual void _raise()
const;
635 return _downcast(_e);
638 void operator>>=(cdrStream&)
const ;
639 void operator<<=(cdrStream&) ;
641 static _core_attr insertExceptionToAny insertToAnyFn;
642 static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
644 virtual ::CORBA::Exception* _NP_duplicate()
const;
646 static _core_attr
const char* _PD_repoId;
647 static _core_attr
const char* _PD_typeId;
650 virtual const char* _NP_typeId()
const;
651 virtual const char* _NP_repoId(
int*)
const;
652 virtual void _NP_marshal(cdrStream&)
const;
655 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogBadNameException;
660 ::CORBA::String_member name;
665 pd_insertToAnyFn = insertToAnyFn;
666 pd_insertToAnyFnNCP = insertToAnyFnNCP;
672 virtual void _raise()
const;
676 return _downcast(_e);
679 void operator>>=(cdrStream&)
const ;
680 void operator<<=(cdrStream&) ;
682 static _core_attr insertExceptionToAny insertToAnyFn;
683 static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
685 virtual ::CORBA::Exception* _NP_duplicate()
const;
687 static _core_attr
const char* _PD_repoId;
688 static _core_attr
const char* _PD_typeId;
691 virtual const char* _NP_typeId()
const;
692 virtual const char* _NP_repoId(
int*)
const;
693 virtual void _NP_marshal(cdrStream&)
const;
696 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogUnknownObject;
709 void operator<<=(::CORBA::Any& _a,
const LogSeqAny& _s);
710 void operator<<=(::CORBA::Any& _a,
LogSeqAny* _sp);
711 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqAny*& _sp);
712 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqAny*& _sp);
714 void operator<<=(::CORBA::Any& _a,
const LogSeqDouble& _s);
716 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqDouble*& _sp);
717 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqDouble*& _sp);
719 void operator<<=(::CORBA::Any& _a,
const LogSeqLong& _s);
720 void operator<<=(::CORBA::Any& _a,
LogSeqLong* _sp);
721 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqLong*& _sp);
722 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqLong*& _sp);
724 void operator<<=(::CORBA::Any& _a,
const LogSeqChar& _s);
725 void operator<<=(::CORBA::Any& _a,
LogSeqChar* _sp);
726 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqChar*& _sp);
727 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqChar*& _sp);
729 void operator<<=(::CORBA::Any& _a,
const LogSeqString& _s);
731 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqString*& _sp);
732 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqString*& _sp);
740 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogUnknownObject*& _sp);
746 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
747 # undef USE_stub_in_nt_dll
748 # undef USE_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
750 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
751 # undef USE_core_stub_in_nt_dll
752 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
754 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
755 # undef USE_dyn_stub_in_nt_dll
756 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
759 #endif // __commonLogTypes_hh__