This file is indexed.

/usr/include/COS/CosObjectIdentity.hh is in libcos4-dev 4.1.6-2.1+b1.

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
// This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __CosObjectIdentity_hh__
#define __CosObjectIdentity_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_CosObjectIdentity
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_CosObjectIdentity
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosObjectIdentity
#endif


#include "COS_sysdep.h"



#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 CosObjectIdentity

_CORBA_MODULE_BEG

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ObjectIdentifier;

  typedef ::CORBA::ULong ObjectIdentifier;
  typedef ::CORBA::ULong_out ObjectIdentifier_out;

#ifndef __CosObjectIdentity_mIdentifiableObject__
#define __CosObjectIdentity_mIdentifiableObject__

  class IdentifiableObject;
  class _objref_IdentifiableObject;
  class _impl_IdentifiableObject;
  
  typedef _objref_IdentifiableObject* IdentifiableObject_ptr;
  typedef IdentifiableObject_ptr IdentifiableObjectRef;

  class IdentifiableObject_Helper {
  public:
    typedef IdentifiableObject_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_IdentifiableObject, IdentifiableObject_Helper> IdentifiableObject_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_IdentifiableObject,IdentifiableObject_Helper > IdentifiableObject_out;

#endif

  // interface IdentifiableObject
  class IdentifiableObject {
  public:
    // Declarations for this interface type.
    typedef IdentifiableObject_ptr _ptr_type;
    typedef IdentifiableObject_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_IdentifiableObject :
    public virtual ::CORBA::Object,
    public virtual omniObjRef
  {
  public:
    ::CORBA::Boolean is_identical(::CosObjectIdentity::IdentifiableObject_ptr other_object);
    ObjectIdentifier constant_random_id();

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

  protected:
    virtual ~_objref_IdentifiableObject();

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

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

    friend class IdentifiableObject;
  };

  class _pof_IdentifiableObject : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_IdentifiableObject() : _OMNI_NS(proxyObjectFactory)(IdentifiableObject::_PD_repoId) {}
    virtual ~_pof_IdentifiableObject();

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

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

    virtual ::CORBA::Boolean is_identical(::CosObjectIdentity::IdentifiableObject_ptr other_object) = 0;
    virtual ObjectIdentifier constant_random_id() = 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_IdentifiableObject;

_CORBA_MODULE_END



_CORBA_MODULE POA_CosObjectIdentity
_CORBA_MODULE_BEG

  class IdentifiableObject :
    public virtual CosObjectIdentity::_impl_IdentifiableObject,
    public virtual ::PortableServer::ServantBase
  {
  public:
    virtual ~IdentifiableObject();

    inline ::CosObjectIdentity::IdentifiableObject_ptr _this() {
      return (::CosObjectIdentity::IdentifiableObject_ptr) _do_this(::CosObjectIdentity::IdentifiableObject::_PD_repoId);
    }
  };

_CORBA_MODULE_END



_CORBA_MODULE OBV_CosObjectIdentity
_CORBA_MODULE_BEG

_CORBA_MODULE_END





#undef _core_attr
#undef _dyn_attr

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



inline void
CosObjectIdentity::IdentifiableObject::_marshalObjRef(::CosObjectIdentity::IdentifiableObject_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}




#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_CosObjectIdentity
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_CosObjectIdentity
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_CosObjectIdentity
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_CosObjectIdentity
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosObjectIdentity
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosObjectIdentity
#endif

#endif  // __CosObjectIdentity_hh__