This file is indexed.

/usr/include/ace/Dynamic_Service.cpp is in libace-dev 6.0.1-3.

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
// $Id: Dynamic_Service.cpp 80826 2008-03-04 14:51:23Z wotte $

#ifndef ACE_DYNAMIC_SERVICE_CPP
#define ACE_DYNAMIC_SERVICE_CPP

#include "ace/Dynamic_Service.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "ace/Service_Object.h"

#if !defined (__ACE_INLINE__)
#include "ace/Dynamic_Service.inl"
#endif /* __ACE_INLINE__ */

ACE_BEGIN_VERSIONED_NAMESPACE_DECL


template <class TYPE> TYPE *
ACE_Dynamic_Service<TYPE>::instance (const ACE_TCHAR *name)
{
  ACE_Service_Object * svc_obj =
    static_cast<ACE_Service_Object *>
    (ACE_Dynamic_Service_Base::instance (name,false));
  return dynamic_cast<TYPE *> (svc_obj);
}

template <class TYPE> TYPE *
ACE_Dynamic_Service<TYPE>::instance (const ACE_TCHAR *name,
                                     bool no_global)
{
  ACE_Service_Object * svc_obj =
    static_cast<ACE_Service_Object *>
    (ACE_Dynamic_Service_Base::instance (name, no_global));
  return dynamic_cast<TYPE *> (svc_obj);
}

template <class TYPE> TYPE *
ACE_Dynamic_Service<TYPE>::instance (const ACE_Service_Gestalt* conf,
                                     const ACE_TCHAR *name)
{
  ACE_Service_Object * svc_obj =
    static_cast<ACE_Service_Object *>
    (ACE_Dynamic_Service_Base::instance (conf, name, false));
  return dynamic_cast<TYPE *> (svc_obj);
}

template <class TYPE> TYPE *
ACE_Dynamic_Service<TYPE>::instance (const ACE_Service_Gestalt* conf,
                                     const ACE_TCHAR *name,
                                     bool no_global)
{
  ACE_Service_Object * svc_obj =
    static_cast<ACE_Service_Object *>
    (ACE_Dynamic_Service_Base::instance (conf, name, no_global));
  return dynamic_cast<TYPE *> (svc_obj);
}

ACE_END_VERSIONED_NAMESPACE_DECL

#endif /* ACE_DYNAMIC_SERVICE_CPP */