This file is indexed.

/usr/include/salome/SALOME_GenericObj.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
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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
// This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __SALOME__GenericObj_hh__
#define __SALOME__GenericObj_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__GenericObj
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_SALOME__GenericObj
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOME__GenericObj
#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

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_StringSeq;

  class StringSeq_var;

  class StringSeq : public _CORBA_Unbounded_Sequence_String {
  public:
    typedef StringSeq_var _var_type;
    inline StringSeq() {}
    inline StringSeq(const StringSeq& _s)
      : _CORBA_Unbounded_Sequence_String(_s) {}

    inline StringSeq(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_String(_max) {}
    inline StringSeq(_CORBA_ULong _max, _CORBA_ULong _len, char** _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}

  

    inline StringSeq& operator = (const StringSeq& _s) {
      _CORBA_Unbounded_Sequence_String::operator=(_s);
      return *this;
    }
  };

  class StringSeq_out;

  class StringSeq_var {
  public:
    inline StringSeq_var() : _pd_seq(0) {}
    inline StringSeq_var(StringSeq* _s) : _pd_seq(_s) {}
    inline StringSeq_var(const StringSeq_var& _s) {
      if( _s._pd_seq )  _pd_seq = new StringSeq(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~StringSeq_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline StringSeq_var& operator = (StringSeq* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline StringSeq_var& operator = (const StringSeq_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new StringSeq;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline StringSeq* operator -> () { return _pd_seq; }
    inline const StringSeq* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator StringSeq& () const { return *_pd_seq; }
#else
    inline operator const StringSeq& () const { return *_pd_seq; }
    inline operator StringSeq& () { return *_pd_seq; }
#endif
      
    inline const StringSeq& in() const { return *_pd_seq; }
    inline StringSeq&       inout()    { return *_pd_seq; }
    inline StringSeq*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline StringSeq* _retn() { StringSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class StringSeq_out;
    
  private:
    StringSeq* _pd_seq;
  };

  class StringSeq_out {
  public:
    inline StringSeq_out(StringSeq*& _s) : _data(_s) { _data = 0; }
    inline StringSeq_out(StringSeq_var& _s)
      : _data(_s._pd_seq) { _s = (StringSeq*) 0; }
    inline StringSeq_out(const StringSeq_out& _s) : _data(_s._data) {}
    inline StringSeq_out& operator = (const StringSeq_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline StringSeq_out& operator = (StringSeq* _s) {
      _data = _s;
      return *this;
    }
    inline operator StringSeq*&()  { return _data; }
    inline StringSeq*& ptr()       { return _data; }
    inline StringSeq* operator->() { return _data; }

    inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    StringSeq*& _data;

  private:
    StringSeq_out();
    StringSeq_out& operator=(const StringSeq_var&);
  };

#ifndef __SALOME_mGenericObj__
#define __SALOME_mGenericObj__

  class GenericObj;
  class _objref_GenericObj;
  class _impl_GenericObj;
  
  typedef _objref_GenericObj* GenericObj_ptr;
  typedef GenericObj_ptr GenericObjRef;

  class GenericObj_Helper {
  public:
    typedef GenericObj_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_GenericObj, GenericObj_Helper> GenericObj_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_GenericObj,GenericObj_Helper > GenericObj_out;

#endif

  // interface GenericObj
  class GenericObj {
  public:
    // Declarations for this interface type.
    typedef GenericObj_ptr _ptr_type;
    typedef GenericObj_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_GenericObj :
    public virtual ::CORBA::Object,
    public virtual omniObjRef
  {
  public:
    void Register();
    void UnRegister();
    void Destroy();

    inline _objref_GenericObj()  { _PR_setobj(0); }  // nil
    _objref_GenericObj(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_GenericObj();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_GenericObj(const _objref_GenericObj&);
    _objref_GenericObj& operator = (const _objref_GenericObj&);
    // not implemented

    friend class GenericObj;
  };

  class _pof_GenericObj : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_GenericObj() : _OMNI_NS(proxyObjectFactory)(GenericObj::_PD_repoId) {}
    virtual ~_pof_GenericObj();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_GenericObj :
    public virtual omniServant
  {
  public:
    virtual ~_impl_GenericObj();

    virtual void Register() = 0;
    virtual void UnRegister() = 0;
    virtual void Destroy() = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_GenericObj;

#ifndef __SALOME_mExportableObject__
#define __SALOME_mExportableObject__

  class ExportableObject;
  class _objref_ExportableObject;
  class _impl_ExportableObject;
  
  typedef _objref_ExportableObject* ExportableObject_ptr;
  typedef ExportableObject_ptr ExportableObjectRef;

  class ExportableObject_Helper {
  public:
    typedef ExportableObject_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_ExportableObject, ExportableObject_Helper> ExportableObject_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_ExportableObject,ExportableObject_Helper > ExportableObject_out;

#endif

  // interface ExportableObject
  class ExportableObject {
  public:
    // Declarations for this interface type.
    typedef ExportableObject_ptr _ptr_type;
    typedef ExportableObject_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_ExportableObject :
    public virtual _objref_GenericObj
  {
  public:
    StringSeq* GetExportableFormats();
    ::CORBA::Boolean ExportDataAs(const char* format, ::SALOME::GenericObj_out exporter);

    inline _objref_ExportableObject()  { _PR_setobj(0); }  // nil
    _objref_ExportableObject(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_ExportableObject();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_ExportableObject(const _objref_ExportableObject&);
    _objref_ExportableObject& operator = (const _objref_ExportableObject&);
    // not implemented

    friend class ExportableObject;
  };

  class _pof_ExportableObject : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_ExportableObject() : _OMNI_NS(proxyObjectFactory)(ExportableObject::_PD_repoId) {}
    virtual ~_pof_ExportableObject();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_ExportableObject :
    public virtual _impl_GenericObj
  {
  public:
    virtual ~_impl_ExportableObject();

    virtual StringSeq* GetExportableFormats() = 0;
    virtual ::CORBA::Boolean ExportDataAs(const char* format, ::SALOME::GenericObj_out exporter) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ExportableObject;

_CORBA_MODULE_END



_CORBA_MODULE POA_SALOME
_CORBA_MODULE_BEG

  class GenericObj :
    public virtual SALOME::_impl_GenericObj,
    public virtual ::PortableServer::ServantBase
  {
  public:
    virtual ~GenericObj();

    inline ::SALOME::GenericObj_ptr _this() {
      return (::SALOME::GenericObj_ptr) _do_this(::SALOME::GenericObj::_PD_repoId);
    }
  };

  class ExportableObject :
    public virtual SALOME::_impl_ExportableObject,
    public virtual GenericObj
  {
  public:
    virtual ~ExportableObject();

    inline ::SALOME::ExportableObject_ptr _this() {
      return (::SALOME::ExportableObject_ptr) _do_this(::SALOME::ExportableObject::_PD_repoId);
    }
  };

_CORBA_MODULE_END



_CORBA_MODULE OBV_SALOME
_CORBA_MODULE_BEG

_CORBA_MODULE_END





#undef _core_attr
#undef _dyn_attr

void operator<<=(::CORBA::Any& _a, const SALOME::StringSeq& _s);
void operator<<=(::CORBA::Any& _a, SALOME::StringSeq* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME::StringSeq*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOME::StringSeq*& _sp);

void operator<<=(::CORBA::Any& _a, SALOME::GenericObj_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOME::GenericObj_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME::GenericObj_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOME::ExportableObject_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOME::ExportableObject_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME::ExportableObject_ptr& _s);



inline void
SALOME::GenericObj::_marshalObjRef(::SALOME::GenericObj_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOME::ExportableObject::_marshalObjRef(::SALOME::ExportableObject_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}




#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_SALOME__GenericObj
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_SALOME__GenericObj
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_SALOME__GenericObj
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_SALOME__GenericObj
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOME__GenericObj
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOME__GenericObj
#endif

#endif  // __SALOME__GenericObj_hh__