/usr/include/omniORB4/messaging_policy.hh is in libomniorb4-dev 4.2.2-0.8.
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 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 | // This file is generated by omniidl (C++ backend)- omniORB_4_2. Do not edit.
#ifndef __messaging__policy_hh__
#define __messaging__policy_hh__
#ifndef __CORBA_H_EXTERNAL_GUARD__
#include <omniORB4/CORBA.h>
#endif
#ifndef USE_stub_in_nt_dll
# define USE_stub_in_nt_dll_NOT_DEFINED_messaging__policy
#endif
#ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_messaging__policy
#endif
#ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_messaging__policy
#endif
#ifndef __corbaidl_hh_EXTERNAL_GUARD__
#define __corbaidl_hh_EXTERNAL_GUARD__
#include <corbaidl.hh>
#endif
#ifdef USE_stub_in_nt_dll
# ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll
# endif
# ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll
# endif
#endif
#ifdef _core_attr
# error "A local CPP macro _core_attr has already been defined."
#else
# ifdef USE_core_stub_in_nt_dll
# define _core_attr _OMNIORB_NTDLL_IMPORT
# else
# define _core_attr
# endif
#endif
#ifdef _dyn_attr
# error "A local CPP macro _dyn_attr has already been defined."
#else
# ifdef USE_dyn_stub_in_nt_dll
# define _dyn_attr _OMNIORB_NTDLL_IMPORT
# else
# define _dyn_attr
# endif
#endif
_CORBA_MODULE Messaging
_CORBA_MODULE_BEG
typedef CORBA::OctetSeq PolicyData;
typedef CORBA::OctetSeq_var PolicyData_var;
typedef CORBA::OctetSeq_out PolicyData_out;
struct PolicyValue {
typedef _CORBA_ConstrType_Variable_Var<PolicyValue> _var_type;
::CORBA::ULong ptype;
PolicyData pvalue;
void operator>>= (cdrStream &) const;
void operator<<= (cdrStream &);
};
typedef PolicyValue::_var_type PolicyValue_var;
typedef _CORBA_ConstrType_Variable_OUT_arg< PolicyValue,PolicyValue_var > PolicyValue_out;
class PolicyValueSeq_var;
class PolicyValueSeq : public _CORBA_Unbounded_Sequence< PolicyValue > {
public:
typedef PolicyValueSeq_var _var_type;
inline PolicyValueSeq() {}
inline PolicyValueSeq(const PolicyValueSeq& _s)
: _CORBA_Unbounded_Sequence< PolicyValue > (_s) {}
inline PolicyValueSeq(_CORBA_ULong _max)
: _CORBA_Unbounded_Sequence< PolicyValue > (_max) {}
inline PolicyValueSeq(_CORBA_ULong _max, _CORBA_ULong _len, PolicyValue* _val, _CORBA_Boolean _rel=0)
: _CORBA_Unbounded_Sequence< PolicyValue > (_max, _len, _val, _rel) {}
inline PolicyValueSeq& operator = (const PolicyValueSeq& _s) {
_CORBA_Unbounded_Sequence< PolicyValue > ::operator=(_s);
return *this;
}
};
class PolicyValueSeq_out;
class PolicyValueSeq_var {
public:
inline PolicyValueSeq_var() : _pd_seq(0) {}
inline PolicyValueSeq_var(PolicyValueSeq* _s) : _pd_seq(_s) {}
inline PolicyValueSeq_var(const PolicyValueSeq_var& _s) {
if (_s._pd_seq) _pd_seq = new PolicyValueSeq(*_s._pd_seq);
else _pd_seq = 0;
}
inline ~PolicyValueSeq_var() { if (_pd_seq) delete _pd_seq; }
inline PolicyValueSeq_var& operator = (PolicyValueSeq* _s) {
if (_pd_seq) delete _pd_seq;
_pd_seq = _s;
return *this;
}
inline PolicyValueSeq_var& operator = (const PolicyValueSeq_var& _s) {
if (&_s != this) {
if (_s._pd_seq) {
if (!_pd_seq) _pd_seq = new PolicyValueSeq;
*_pd_seq = *_s._pd_seq;
}
else if (_pd_seq) {
delete _pd_seq;
_pd_seq = 0;
}
}
return *this;
}
inline PolicyValue& operator [] (_CORBA_ULong _s) {
return (*_pd_seq)[_s];
}
inline PolicyValueSeq* operator -> () { return _pd_seq; }
inline const PolicyValueSeq* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
inline operator PolicyValueSeq& () const { return *_pd_seq; }
#else
inline operator const PolicyValueSeq& () const { return *_pd_seq; }
inline operator PolicyValueSeq& () { return *_pd_seq; }
#endif
inline const PolicyValueSeq& in() const { return *_pd_seq; }
inline PolicyValueSeq& inout() { return *_pd_seq; }
inline PolicyValueSeq*& out() {
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; }
return _pd_seq;
}
inline PolicyValueSeq* _retn() { PolicyValueSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; }
friend class PolicyValueSeq_out;
private:
PolicyValueSeq* _pd_seq;
};
class PolicyValueSeq_out {
public:
inline PolicyValueSeq_out(PolicyValueSeq*& _s) : _data(_s) { _data = 0; }
inline PolicyValueSeq_out(PolicyValueSeq_var& _s)
: _data(_s._pd_seq) { _s = (PolicyValueSeq*) 0; }
inline PolicyValueSeq_out(const PolicyValueSeq_out& _s) : _data(_s._data) {}
inline PolicyValueSeq_out& operator = (const PolicyValueSeq_out& _s) {
_data = _s._data;
return *this;
}
inline PolicyValueSeq_out& operator = (PolicyValueSeq* _s) {
_data = _s;
return *this;
}
inline operator PolicyValueSeq*&() { return _data; }
inline PolicyValueSeq*& ptr() { return _data; }
inline PolicyValueSeq* operator->() { return _data; }
inline PolicyValue& operator [] (_CORBA_ULong _i) {
return (*_data)[_i];
}
PolicyValueSeq*& _data;
private:
PolicyValueSeq_out();
PolicyValueSeq_out& operator=(const PolicyValueSeq_var&);
};
_CORBA_MODULE_END
_CORBA_MODULE POA_Messaging
_CORBA_MODULE_BEG
_CORBA_MODULE_END
_CORBA_MODULE OBV_Messaging
_CORBA_MODULE_BEG
_CORBA_MODULE_END
#undef _core_attr
#undef _dyn_attr
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_messaging__policy
# undef USE_stub_in_nt_dll
# undef USE_stub_in_nt_dll_NOT_DEFINED_messaging__policy
#endif
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_messaging__policy
# undef USE_core_stub_in_nt_dll
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_messaging__policy
#endif
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_messaging__policy
# undef USE_dyn_stub_in_nt_dll
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_messaging__policy
#endif
#endif // __messaging__policy_hh__
|