This file is indexed.

/usr/include/XdmfItemProperty.hpp is in libxdmf-dev 3.0+git20160803-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
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
/*****************************************************************************/
/*                                    XDMF                                   */
/*                       eXtensible Data Model and Format                    */
/*                                                                           */
/*  Id : XdmfItemProperty.hpp                                                */
/*                                                                           */
/*  Author:                                                                  */
/*     Kenneth Leiter                                                        */
/*     kenneth.leiter@arl.army.mil                                           */
/*     US Army Research Laboratory                                           */
/*     Aberdeen Proving Ground, MD                                           */
/*                                                                           */
/*     Copyright @ 2011 US Army Research Laboratory                          */
/*     All Rights Reserved                                                   */
/*     See Copyright.txt for details                                         */
/*                                                                           */
/*     This software is distributed WITHOUT ANY WARRANTY; without            */
/*     even the implied warranty of MERCHANTABILITY or FITNESS               */
/*     FOR A PARTICULAR PURPOSE.  See the above copyright notice             */
/*     for more information.                                                 */
/*                                                                           */
/*****************************************************************************/

#ifndef XDMFITEMPROPERTY_HPP_
#define XDMFITEMPROPERTY_HPP_

#ifdef __cplusplus

// Includes
#include <map>
#include <string>
#include "XdmfCore.hpp"
#include "XdmfSharedPtr.hpp"

/**
 * @brief A property attached to an XdmfItem.
 *
 * XdmfItems can have zero or more properties attached to them that
 * describe a specific characteristic of that item. For instance,
 * XdmfAttributes have both center and type properties.
 *
 * This is an abstract base class to facilitate reading and writing of
 * properties in a generic way.
 */

class XDMFCORE_EXPORT XdmfItemProperty {

public:

  virtual ~XdmfItemProperty() = 0;

  /**
   * Retrieve the key/value pairs that this XdmfItemProperty contains by
   * inserting into the passed map.
   *
   * Example of use:
   *
   * C++
   *
   * @dontinclude ExampleXdmfItemProperty.cpp
   * @skipline //#getProperties
   * @until //#getProperties
   *
   * Python
   *
   * @dontinclude XdmfExampleItemProperty.py
   * @skipline #//getProperties
   * @until #//getProperties
   *
   * @param     collectedProperties     A map to insert name / value pairs into.
   */
  virtual void
  getProperties(std::map<std::string, std::string> & collectedProperties) const = 0;

protected:

  XdmfItemProperty();

  static std::string ConvertToUpper(const std::string & converted);

  static const std::map<const char, const char> UpperConversionMap;

private:

  XdmfItemProperty(const XdmfItemProperty &);  // Not implemented.
  void operator=(const XdmfItemProperty &);  // Not implemented.

};

#endif

#endif /* XDMFITEMPROPERTY_HPP_ */