Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is generated by omniidl (C++ backend) - omniORB_4_3. Do not edit. |
2 |
|
|
|
3 |
|
|
#include "common-idl.hh" |
4 |
|
|
#include <omniORB4/IOP_S.h> |
5 |
|
|
#include <omniORB4/IOP_C.h> |
6 |
|
|
#include <omniORB4/callDescriptor.h> |
7 |
|
|
#include <omniORB4/callHandle.h> |
8 |
|
|
#include <omniORB4/objTracker.h> |
9 |
|
|
|
10 |
|
|
|
11 |
|
|
OMNI_USING_NAMESPACE(omni) |
12 |
|
|
|
13 |
|
|
OMNI_MAYBE_UNUSED static const char* _0RL_library_version = omniORB_4_3; |
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
::CORBA::Exception::insertExceptionToAny hpp::Error::insertToAnyFn = 0; |
18 |
|
|
::CORBA::Exception::insertExceptionToAnyNCP hpp::Error::insertToAnyFnNCP = 0; |
19 |
|
|
|
20 |
|
✗ |
hpp::Error::Error(const hpp::Error& _s) : ::CORBA::UserException(_s) |
21 |
|
|
{ |
22 |
|
✗ |
msg = _s.msg; |
23 |
|
|
|
24 |
|
|
} |
25 |
|
|
|
26 |
|
✗ |
hpp::Error::Error(const char* _msg) |
27 |
|
|
{ |
28 |
|
✗ |
pd_insertToAnyFn = hpp::Error::insertToAnyFn; |
29 |
|
✗ |
pd_insertToAnyFnNCP = hpp::Error::insertToAnyFnNCP; |
30 |
|
✗ |
msg = _msg; |
31 |
|
|
|
32 |
|
|
} |
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
✗ |
hpp::Error& hpp::Error::operator=(const hpp::Error& _s) |
37 |
|
|
{ |
38 |
|
✗ |
if (&_s != this) { |
39 |
|
✗ |
((::CORBA::UserException*) this)->operator=(_s); |
40 |
|
✗ |
msg = _s.msg; |
41 |
|
|
|
42 |
|
|
} |
43 |
|
✗ |
return *this; |
44 |
|
|
} |
45 |
|
|
|
46 |
|
✗ |
hpp::Error::~Error() {} |
47 |
|
|
|
48 |
|
✗ |
void hpp::Error::_raise() const { throw *this; } |
49 |
|
|
|
50 |
|
|
const char* hpp::Error::_PD_repoId = "IDL:hpp/Error:1.0"; |
51 |
|
|
const char* hpp::Error::_PD_typeId = "Exception/UserException/hpp::Error"; |
52 |
|
|
|
53 |
|
✗ |
hpp::Error* hpp::Error::_downcast(::CORBA::Exception* _e) { |
54 |
|
✗ |
return (Error*) _NP_is_a(_e, _PD_typeId); |
55 |
|
|
} |
56 |
|
|
|
57 |
|
✗ |
const hpp::Error* hpp::Error::_downcast(const ::CORBA::Exception* _e) { |
58 |
|
✗ |
return (const Error*) _NP_is_a(_e, _PD_typeId); |
59 |
|
|
} |
60 |
|
|
|
61 |
|
✗ |
::CORBA::Exception* hpp::Error::_NP_duplicate() const { |
62 |
|
✗ |
return new Error(*this); |
63 |
|
|
} |
64 |
|
|
|
65 |
|
✗ |
const char* hpp::Error::_NP_typeId() const { |
66 |
|
✗ |
return _PD_typeId; |
67 |
|
|
} |
68 |
|
|
|
69 |
|
✗ |
const char* hpp::Error::_NP_repoId(int* _size) const { |
70 |
|
✗ |
*_size = sizeof("IDL:hpp/Error:1.0"); |
71 |
|
✗ |
return _PD_repoId; |
72 |
|
|
} |
73 |
|
|
|
74 |
|
✗ |
void hpp::Error::_NP_marshal(cdrStream& _s) const { |
75 |
|
✗ |
*this >>= _s; |
76 |
|
|
} |
77 |
|
|
|
78 |
|
|
void |
79 |
|
✗ |
hpp::Error::operator>>= (cdrStream& _n) const |
80 |
|
|
{ |
81 |
|
✗ |
_n.marshalString(msg,0); |
82 |
|
|
|
83 |
|
|
} |
84 |
|
|
|
85 |
|
|
void |
86 |
|
✗ |
hpp::Error::operator<<= (cdrStream& _n) |
87 |
|
|
{ |
88 |
|
✗ |
msg = _n.unmarshalString(0); |
89 |
|
|
|
90 |
|
|
} |
91 |
|
|
|
92 |
|
|
|