This file is indexed.

/usr/include/dcmtk/dcmfg/fgfact.h is in libdcmtk-dev 3.6.1~20160216-4.

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
/*
 *
 *  Copyright (C) 2015, Open Connections GmbH
 *  All rights reserved.  See COPYRIGHT file for details.
 *
 *  This software and supporting documentation are maintained by
 *
 *    OFFIS e.V.
 *    R&D Division Health
 *    Escherweg 2
 *    D-26121 Oldenburg, Germany
 *
 *
 *  Module:  dcmfg
 *
 *  Author:  Michael Onken
 *
 *  Purpose: Factory class for creating functional groups
 *
 */

#ifndef FGFACT_H
#define FGFACT_H

#include "dcmtk/config/osconfig.h"
#include "dcmtk/ofstd/ofmap.h"
#include "dcmtk/dcmdata/dctagkey.h"
#include "dcmtk/dcmfg/fgtypes.h"

class FGBase;


/** Singleton class that is used to create functional groups by knowing
 *  their type or other unique features, i.e.\ offering factory functionality.
 */
class DCMTK_DCMFG_EXPORT FGFactory
{
public:

  /** Return the single instance of the factory
   *  @return The instance of FGFactory
   */
  static FGFactory& instance();

  /** Create new functional group based on given type
   *  @param fgtype The type of functional group to create
   *  @return The functional group or NULL if error occurs
   */
  FGBase *create(const DcmFGTypes::E_FGType fgtype);

  /** Create new functional group based its unique sequence tag key
   *  @param fgSequenceKey Tag key of the functional groups sequence
   *  @return The functional group or NULL if error occurs
   */
  FGBase *create(const DcmTagKey& fgSequenceKey);

private:

  /** Private undefined constructor (singleton implementation)
   */
  FGFactory();

  /** Private undefined copy constructor (singleton implementation)
   */
  FGFactory(const FGFactory&);

  /** Private undefined assignment operator (singleton implementation)
   */
  FGFactory& operator=(const FGFactory&);

  /** Private undefined destructor (singleton implementation)
   */
  ~FGFactory() {}

  /// The instance of FGFactory handled by this singleton class
  static FGFactory* m_Instance;

};

#endif // FGFACT_H