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
55 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqAny;
59 class LogSeqAny :
public _CORBA_Unbounded_Sequence< ::CORBA::Any > {
64 : _CORBA_Unbounded_Sequence< ::CORBA::Any > (_s) {}
67 : _CORBA_Unbounded_Sequence< ::CORBA::Any > (_max) {}
68 inline LogSeqAny(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Any* _val, _CORBA_Boolean _rel=0)
69 : _CORBA_Unbounded_Sequence< ::CORBA::Any > (_max, _len, _val, _rel) {}
74 _CORBA_Unbounded_Sequence< ::CORBA::Any > ::operator=(_s);
86 if (_s._pd_seq) _pd_seq =
new LogSeqAny(*_s._pd_seq);
92 if (_pd_seq)
delete _pd_seq;
99 *_pd_seq = *_s._pd_seq;
100 }
else if (_pd_seq) {
106 inline ::CORBA::Any& operator [] (_CORBA_ULong _s) {
107 return (*_pd_seq)[_s];
112 inline LogSeqAny* operator -> () {
return _pd_seq; }
113 inline const LogSeqAny* operator -> ()
const {
return _pd_seq; }
114 #if defined(__GNUG__)
115 inline operator LogSeqAny& ()
const {
return *_pd_seq; }
117 inline operator const LogSeqAny& ()
const {
return *_pd_seq; }
118 inline operator LogSeqAny& () {
return *_pd_seq; }
121 inline const LogSeqAny& in()
const {
return *_pd_seq; }
122 inline LogSeqAny& inout() {
return *_pd_seq; }
124 if (_pd_seq) {
delete _pd_seq; _pd_seq = 0; }
139 : _data(_s._pd_seq) { _s = (
LogSeqAny*) 0; }
149 inline operator LogSeqAny*&() {
return _data; }
150 inline LogSeqAny*& ptr() {
return _data; }
151 inline LogSeqAny* operator->() {
return _data; }
153 inline ::CORBA::Any& operator [] (_CORBA_ULong _i) {
166 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqDouble;
170 class LogSeqDouble :
public _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > {
175 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_s) {}
178 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_max) {}
179 inline LogSeqDouble(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Double* _val, _CORBA_Boolean _rel=0)
180 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > (_max, _len, _val, _rel) {}
185 _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Double, 8, 8 > ::operator=(_s);
197 if (_s._pd_seq) _pd_seq =
new LogSeqDouble(*_s._pd_seq);
203 if (_pd_seq)
delete _pd_seq;
210 *_pd_seq = *_s._pd_seq;
211 }
else if (_pd_seq) {
217 inline ::CORBA::Double& operator [] (_CORBA_ULong _s) {
218 return (*_pd_seq)[_s];
224 inline const LogSeqDouble* operator -> ()
const {
return _pd_seq; }
225 #if defined(__GNUG__)
226 inline operator LogSeqDouble& ()
const {
return *_pd_seq; }
228 inline operator const LogSeqDouble& ()
const {
return *_pd_seq; }
232 inline const LogSeqDouble& in()
const {
return *_pd_seq; }
235 if (_pd_seq) {
delete _pd_seq; _pd_seq = 0; }
264 inline ::CORBA::Double& operator [] (_CORBA_ULong _i) {
277 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqLong;
281 class LogSeqLong :
public _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > {
286 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > (_s) {}
289 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > (_max) {}
290 inline LogSeqLong(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Long* _val, _CORBA_Boolean _rel=0)
291 : _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > (_max, _len, _val, _rel) {}
296 _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Long, 4, 4 > ::operator=(_s);
308 if (_s._pd_seq) _pd_seq =
new LogSeqLong(*_s._pd_seq);
314 if (_pd_seq)
delete _pd_seq;
321 *_pd_seq = *_s._pd_seq;
322 }
else if (_pd_seq) {
328 inline ::CORBA::Long& operator [] (_CORBA_ULong _s) {
329 return (*_pd_seq)[_s];
334 inline LogSeqLong* operator -> () {
return _pd_seq; }
335 inline const LogSeqLong* operator -> ()
const {
return _pd_seq; }
336 #if defined(__GNUG__)
337 inline operator LogSeqLong& ()
const {
return *_pd_seq; }
339 inline operator const LogSeqLong& ()
const {
return *_pd_seq; }
340 inline operator LogSeqLong& () {
return *_pd_seq; }
343 inline const LogSeqLong& in()
const {
return *_pd_seq; }
344 inline LogSeqLong& inout() {
return *_pd_seq; }
346 if (_pd_seq) {
delete _pd_seq; _pd_seq = 0; }
371 inline operator LogSeqLong*&() {
return _data; }
373 inline LogSeqLong* operator->() {
return _data; }
375 inline ::CORBA::Long& operator [] (_CORBA_ULong _i) {
388 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqChar;
397 : _CORBA_Unbounded_Sequence_Char(_s) {}
400 : _CORBA_Unbounded_Sequence_Char(_max) {}
401 inline LogSeqChar(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Char* _val, _CORBA_Boolean _rel=0)
402 : _CORBA_Unbounded_Sequence_Char(_max, _len, _val, _rel) {}
407 _CORBA_Unbounded_Sequence_Char::operator=(_s);
419 if (_s._pd_seq) _pd_seq =
new LogSeqChar(*_s._pd_seq);
425 if (_pd_seq)
delete _pd_seq;
432 *_pd_seq = *_s._pd_seq;
433 }
else if (_pd_seq) {
439 inline ::CORBA::Char& operator [] (_CORBA_ULong _s) {
440 return (*_pd_seq)[_s];
445 inline LogSeqChar* operator -> () {
return _pd_seq; }
446 inline const LogSeqChar* operator -> ()
const {
return _pd_seq; }
447 #if defined(__GNUG__)
448 inline operator LogSeqChar& ()
const {
return *_pd_seq; }
450 inline operator const LogSeqChar& ()
const {
return *_pd_seq; }
451 inline operator LogSeqChar& () {
return *_pd_seq; }
454 inline const LogSeqChar& in()
const {
return *_pd_seq; }
455 inline LogSeqChar& inout() {
return *_pd_seq; }
457 if (_pd_seq) {
delete _pd_seq; _pd_seq = 0; }
482 inline operator LogSeqChar*&() {
return _data; }
484 inline LogSeqChar* operator->() {
return _data; }
486 inline ::CORBA::Char& operator [] (_CORBA_ULong _i) {
499 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogSeqString;
508 : _CORBA_Unbounded_Sequence_String(_s) {}
511 : _CORBA_Unbounded_Sequence_String(_max) {}
512 inline LogSeqString(_CORBA_ULong _max, _CORBA_ULong _len,
char** _val, _CORBA_Boolean _rel=0)
513 : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}
518 _CORBA_Unbounded_Sequence_String::operator=(_s);
530 if (_s._pd_seq) _pd_seq =
new LogSeqString(*_s._pd_seq);
536 if (_pd_seq)
delete _pd_seq;
543 *_pd_seq = *_s._pd_seq;
544 }
else if (_pd_seq) {
550 inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
551 return (*_pd_seq)[_s];
557 inline const LogSeqString* operator -> ()
const {
return _pd_seq; }
558 #if defined(__GNUG__)
559 inline operator LogSeqString& ()
const {
return *_pd_seq; }
561 inline operator const LogSeqString& ()
const {
return *_pd_seq; }
565 inline const LogSeqString& in()
const {
return *_pd_seq; }
568 if (_pd_seq) {
delete _pd_seq; _pd_seq = 0; }
597 inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
613 ::CORBA::String_member name;
615 ::CORBA::String_member
function;
617 ::CORBA::String_member forwarder_name;
622 pd_insertToAnyFn = insertToAnyFn;
623 pd_insertToAnyFnNCP = insertToAnyFnNCP;
626 LogBadNameException(
const char* i_name,
const char* i_function,
const char* i_forwarder_name);
629 virtual void _raise()
const;
633 return _downcast(_e);
636 void operator>>=(cdrStream&)
const ;
637 void operator<<=(cdrStream&) ;
639 static _core_attr insertExceptionToAny insertToAnyFn;
640 static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
642 virtual ::CORBA::Exception* _NP_duplicate()
const;
644 static _core_attr
const char* _PD_repoId;
645 static _core_attr
const char* _PD_typeId;
648 virtual const char* _NP_typeId()
const;
649 virtual const char* _NP_repoId(
int*)
const;
650 virtual void _NP_marshal(cdrStream&)
const;
653 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogBadNameException;
658 ::CORBA::String_member name;
663 pd_insertToAnyFn = insertToAnyFn;
664 pd_insertToAnyFnNCP = insertToAnyFnNCP;
670 virtual void _raise()
const;
674 return _downcast(_e);
677 void operator>>=(cdrStream&)
const ;
678 void operator<<=(cdrStream&) ;
680 static _core_attr insertExceptionToAny insertToAnyFn;
681 static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
683 virtual ::CORBA::Exception* _NP_duplicate()
const;
685 static _core_attr
const char* _PD_repoId;
686 static _core_attr
const char* _PD_typeId;
689 virtual const char* _NP_typeId()
const;
690 virtual const char* _NP_repoId(
int*)
const;
691 virtual void _NP_marshal(cdrStream&)
const;
694 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogUnknownObject;
707 void operator<<=(::CORBA::Any& _a,
const LogSeqAny& _s);
708 void operator<<=(::CORBA::Any& _a,
LogSeqAny* _sp);
709 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqAny*& _sp);
710 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqAny*& _sp);
712 void operator<<=(::CORBA::Any& _a,
const LogSeqDouble& _s);
714 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqDouble*& _sp);
715 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqDouble*& _sp);
717 void operator<<=(::CORBA::Any& _a,
const LogSeqLong& _s);
718 void operator<<=(::CORBA::Any& _a,
LogSeqLong* _sp);
719 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqLong*& _sp);
720 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqLong*& _sp);
722 void operator<<=(::CORBA::Any& _a,
const LogSeqChar& _s);
723 void operator<<=(::CORBA::Any& _a,
LogSeqChar* _sp);
724 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqChar*& _sp);
725 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqChar*& _sp);
727 void operator<<=(::CORBA::Any& _a,
const LogSeqString& _s);
729 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
LogSeqString*& _sp);
730 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogSeqString*& _sp);
738 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a,
const LogUnknownObject*& _sp);
744 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
745 # undef USE_stub_in_nt_dll
746 # undef USE_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
748 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
749 # undef USE_core_stub_in_nt_dll
750 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
752 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
753 # undef USE_dyn_stub_in_nt_dll
754 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_commonLogTypes
757 #endif // __commonLogTypes_hh__
Definition: commonLogTypes.hh:357
Definition: commonLogTypes.hh:81
Definition: commonLogTypes.hh:525
Definition: commonLogTypes.hh:59
Definition: commonLogTypes.hh:392
Definition: commonLogTypes.hh:192
Definition: commonLogTypes.hh:610
Definition: commonLogTypes.hh:246
Definition: commonLogTypes.hh:414
Definition: commonLogTypes.hh:281
Definition: commonLogTypes.hh:135
Definition: commonLogTypes.hh:303
Definition: commonLogTypes.hh:170
Definition: commonLogTypes.hh:503
Definition: commonLogTypes.hh:468
Definition: commonLogTypes.hh:579
Definition: commonLogTypes.hh:655