/usr/include/omniORB4/poa_enums_operators.hh is in libomniorb4-dev 4.1.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __poa_enums_operators_hh__
#define __poa_enums_operators_hh__
inline void operator >>=(PortableServer::ThreadPolicyValue _e, cdrStream& s) {
::operator>>=((::CORBA::ULong)_e, s);
}
inline void operator <<= (PortableServer::ThreadPolicyValue& _e, cdrStream& s) {
::CORBA::ULong _0RL_e;
::operator<<=(_0RL_e,s);
if (_0RL_e <= PortableServer::MAIN_THREAD_MODEL) {
_e = (PortableServer::ThreadPolicyValue) _0RL_e;
}
else {
OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
(::CORBA::CompletionStatus)s.completion());
}
}
void operator<<=(::CORBA::Any& _a, PortableServer::ThreadPolicyValue _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, PortableServer::ThreadPolicyValue& _s);
inline void operator >>=(PortableServer::LifespanPolicyValue _e, cdrStream& s) {
::operator>>=((::CORBA::ULong)_e, s);
}
inline void operator <<= (PortableServer::LifespanPolicyValue& _e, cdrStream& s) {
::CORBA::ULong _0RL_e;
::operator<<=(_0RL_e,s);
if (_0RL_e <= PortableServer::PERSISTENT) {
_e = (PortableServer::LifespanPolicyValue) _0RL_e;
}
else {
OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
(::CORBA::CompletionStatus)s.completion());
}
}
void operator<<=(::CORBA::Any& _a, PortableServer::LifespanPolicyValue _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, PortableServer::LifespanPolicyValue& _s);
inline void operator >>=(PortableServer::IdUniquenessPolicyValue _e, cdrStream& s) {
::operator>>=((::CORBA::ULong)_e, s);
}
inline void operator <<= (PortableServer::IdUniquenessPolicyValue& _e, cdrStream& s) {
::CORBA::ULong _0RL_e;
::operator<<=(_0RL_e,s);
if (_0RL_e <= PortableServer::MULTIPLE_ID) {
_e = (PortableServer::IdUniquenessPolicyValue) _0RL_e;
}
else {
OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
(::CORBA::CompletionStatus)s.completion());
}
}
void operator<<=(::CORBA::Any& _a, PortableServer::IdUniquenessPolicyValue _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, PortableServer::IdUniquenessPolicyValue& _s);
inline void operator >>=(PortableServer::IdAssignmentPolicyValue _e, cdrStream& s) {
::operator>>=((::CORBA::ULong)_e, s);
}
inline void operator <<= (PortableServer::IdAssignmentPolicyValue& _e, cdrStream& s) {
::CORBA::ULong _0RL_e;
::operator<<=(_0RL_e,s);
if (_0RL_e <= PortableServer::SYSTEM_ID) {
_e = (PortableServer::IdAssignmentPolicyValue) _0RL_e;
}
else {
OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
(::CORBA::CompletionStatus)s.completion());
}
}
void operator<<=(::CORBA::Any& _a, PortableServer::IdAssignmentPolicyValue _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, PortableServer::IdAssignmentPolicyValue& _s);
inline void operator >>=(PortableServer::ImplicitActivationPolicyValue _e, cdrStream& s) {
::operator>>=((::CORBA::ULong)_e, s);
}
inline void operator <<= (PortableServer::ImplicitActivationPolicyValue& _e, cdrStream& s) {
::CORBA::ULong _0RL_e;
::operator<<=(_0RL_e,s);
if (_0RL_e <= PortableServer::NO_IMPLICIT_ACTIVATION) {
_e = (PortableServer::ImplicitActivationPolicyValue) _0RL_e;
}
else {
OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
(::CORBA::CompletionStatus)s.completion());
}
}
void operator<<=(::CORBA::Any& _a, PortableServer::ImplicitActivationPolicyValue _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, PortableServer::ImplicitActivationPolicyValue& _s);
inline void operator >>=(PortableServer::ServantRetentionPolicyValue _e, cdrStream& s) {
::operator>>=((::CORBA::ULong)_e, s);
}
inline void operator <<= (PortableServer::ServantRetentionPolicyValue& _e, cdrStream& s) {
::CORBA::ULong _0RL_e;
::operator<<=(_0RL_e,s);
if (_0RL_e <= PortableServer::NON_RETAIN) {
_e = (PortableServer::ServantRetentionPolicyValue) _0RL_e;
}
else {
OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
(::CORBA::CompletionStatus)s.completion());
}
}
void operator<<=(::CORBA::Any& _a, PortableServer::ServantRetentionPolicyValue _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, PortableServer::ServantRetentionPolicyValue& _s);
inline void operator >>=(PortableServer::RequestProcessingPolicyValue _e, cdrStream& s) {
::operator>>=((::CORBA::ULong)_e, s);
}
inline void operator <<= (PortableServer::RequestProcessingPolicyValue& _e, cdrStream& s) {
::CORBA::ULong _0RL_e;
::operator<<=(_0RL_e,s);
if (_0RL_e <= PortableServer::USE_SERVANT_MANAGER) {
_e = (PortableServer::RequestProcessingPolicyValue) _0RL_e;
}
else {
OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
(::CORBA::CompletionStatus)s.completion());
}
}
void operator<<=(::CORBA::Any& _a, PortableServer::RequestProcessingPolicyValue _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, PortableServer::RequestProcessingPolicyValue& _s);
#endif
|