/usr/include/salome/SALOME_Exception.hh is in salome-kernel-dev 6.5.0-7ubuntu2.
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 | // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __SALOME__Exception_hh__
#define __SALOME__Exception_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_SALOME__Exception
#endif
#ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_SALOME__Exception
#endif
#ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOME__Exception
#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 SALOME
_CORBA_MODULE_BEG
enum ExceptionType { COMM, BAD_PARAM, INTERNAL_ERROR /*, __max_ExceptionType=0xffffffff */ };
typedef ExceptionType& ExceptionType_out;
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ExceptionType;
struct ExceptionStruct {
typedef _CORBA_ConstrType_Variable_Var<ExceptionStruct> _var_type;
ExceptionType type;
::CORBA::String_member text;
::CORBA::String_member sourceFile;
::CORBA::ULong lineNumber;
void operator>>= (cdrStream &) const;
void operator<<= (cdrStream &);
};
typedef ExceptionStruct::_var_type ExceptionStruct_var;
typedef _CORBA_ConstrType_Variable_OUT_arg< ExceptionStruct,ExceptionStruct_var > ExceptionStruct_out;
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ExceptionStruct;
class SALOME_Exception : public ::CORBA::UserException {
public:
ExceptionStruct details;
inline SALOME_Exception() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
SALOME_Exception(const SALOME_Exception&);
SALOME_Exception(const ExceptionStruct& i_details);
SALOME_Exception& operator=(const SALOME_Exception&);
virtual ~SALOME_Exception();
virtual void _raise() const;
static SALOME_Exception* _downcast(::CORBA::Exception*);
static const SALOME_Exception* _downcast(const ::CORBA::Exception*);
static inline SALOME_Exception* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
void operator>>=(cdrStream&) const ;
void operator<<=(cdrStream&) ;
static _core_attr insertExceptionToAny insertToAnyFn;
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
virtual ::CORBA::Exception* _NP_duplicate() const;
static _core_attr const char* _PD_repoId;
static _core_attr const char* _PD_typeId;
private:
virtual const char* _NP_typeId() const;
virtual const char* _NP_repoId(int*) const;
virtual void _NP_marshal(cdrStream&) const;
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_SALOME_Exception;
_CORBA_MODULE_END
_CORBA_MODULE POA_SALOME
_CORBA_MODULE_BEG
_CORBA_MODULE_END
_CORBA_MODULE OBV_SALOME
_CORBA_MODULE_BEG
_CORBA_MODULE_END
#undef _core_attr
#undef _dyn_attr
inline void operator >>=(SALOME::ExceptionType _e, cdrStream& s) {
::operator>>=((::CORBA::ULong)_e, s);
}
inline void operator <<= (SALOME::ExceptionType& _e, cdrStream& s) {
::CORBA::ULong _0RL_e;
::operator<<=(_0RL_e,s);
if (_0RL_e <= SALOME::INTERNAL_ERROR) {
_e = (SALOME::ExceptionType) _0RL_e;
}
else {
OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
(::CORBA::CompletionStatus)s.completion());
}
}
void operator<<=(::CORBA::Any& _a, SALOME::ExceptionType _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME::ExceptionType& _s);
extern void operator<<=(::CORBA::Any& _a, const SALOME::ExceptionStruct& _s);
extern void operator<<=(::CORBA::Any& _a, SALOME::ExceptionStruct* _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME::ExceptionStruct*& _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOME::ExceptionStruct*& _sp);
void operator<<=(::CORBA::Any& _a, const SALOME::SALOME_Exception& _s);
void operator<<=(::CORBA::Any& _a, const SALOME::SALOME_Exception* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOME::SALOME_Exception*& _sp);
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_SALOME__Exception
# undef USE_stub_in_nt_dll
# undef USE_stub_in_nt_dll_NOT_DEFINED_SALOME__Exception
#endif
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_SALOME__Exception
# undef USE_core_stub_in_nt_dll
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_SALOME__Exception
#endif
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOME__Exception
# undef USE_dyn_stub_in_nt_dll
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOME__Exception
#endif
#endif // __SALOME__Exception_hh__
|