This file is indexed.

/usr/include/CEGUI/CEGUIScheme_xmlHandler.h is in libcegui-mk2-dev 0.7.6-2ubuntu4.

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
/***********************************************************************
    filename:   CEGUIScheme_xmlHandler.h
    created:    Mon Jul 20 2009
    author:     Paul D Turner <paul@cegui.org.uk>
*************************************************************************/
/***************************************************************************
 *   Copyright (C) 2004 - 2009 Paul D Turner & The CEGUI Development Team
 *
 *   Permission is hereby granted, free of charge, to any person obtaining
 *   a copy of this software and associated documentation files (the
 *   "Software"), to deal in the Software without restriction, including
 *   without limitation the rights to use, copy, modify, merge, publish,
 *   distribute, sublicense, and/or sell copies of the Software, and to
 *   permit persons to whom the Software is furnished to do so, subject to
 *   the following conditions:
 *
 *   The above copyright notice and this permission notice shall be
 *   included in all copies or substantial portions of the Software.
 *
 *   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 *   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 *   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
 *   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 *   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 *   OTHER DEALINGS IN THE SOFTWARE.
 ***************************************************************************/
#ifndef _CEGUIScheme_xmlHandler_h_
#define _CEGUIScheme_xmlHandler_h_

#include "CEGUIXMLHandler.h"
#include "CEGUIString.h"

// Start of CEGUI namespace section
namespace CEGUI
{
//! Handler class used to parse the Scheme XML files using SAX2
class CEGUIEXPORT Scheme_xmlHandler : public XMLHandler
{
public:
    //! Constructor.
    Scheme_xmlHandler(const String& filename, const String& resource_group);

    //! Destructor.
    ~Scheme_xmlHandler();

    //! Return string holding the name of the created Imageset.
    const String& getObjectName() const;

    //! Return reference to the created Scheme object.
    Scheme& getObject() const;

    // XMLHandler overrides
    void elementStart(const String& element, const XMLAttributes& attributes);
    void elementEnd(const String& element);

private:
    //! Filename of the XML schema used for validating GUIScheme files.
    static const String GUISchemeSchemaName;
    //! Root GUIScheme element.
    static const String GUISchemeElement;
    //! Element specifying an Imageset.
    static const String ImagesetElement;
    //! Element specifying an Imageset to be created directly via an image file.
    static const String ImagesetFromImageElement;
    //! Element specifying a Font.
    static const String FontElement;
    //! Element specifying a module and set of WindowFactory elements.
    static const String WindowSetElement;
    //! Element specifying a WindowFactory type.
    static const String WindowFactoryElement;
    //! Element specifying a WindowFactory type alias.
    static const String WindowAliasElement;
    //! Element specifying a Falagard window mapping.
    static const String FalagardMappingElement;
    //! Element specifying a LookNFeel.
    static const String LookNFeelElement;
    //! Attribute specifying the name of some object.
    static const String NameAttribute;
    //! Attribute specifying the name of some file.
    static const String FilenameAttribute;
    //! Attribute specifying an alias name.
    static const String AliasAttribute;
    //! Attribute specifying target for an alias.
    static const String TargetAttribute;
    //! Attribute specifying resource group for some loadable resource.
    static const String ResourceGroupAttribute;
    //! Attribute specifying the type of a window being created via a mapping.
    static const String WindowTypeAttribute;
    //! Attribute specifying the base type of a falagard mapped window type.
    static const String TargetTypeAttribute;
    //! Attribute specifying the name of a LookNFeel for a falagard mapping.
    static const String LookNFeelAttribute;
    //! Element specifying a module and set of WindowRendererFactory elements.
    static const String WindowRendererSetElement;
    //! Element specifying a WindowRendererFactory type.
    static const String WindowRendererFactoryElement;
    //! Attribute specifying the type name of a window renderer.
    static const String WindowRendererAttribute;
    //! Attribute specifying the name of a registered RenderEffect.
    static const String RenderEffectAttribute;

    //! Function that handles the opening GUIScheme XML element.
    void elementGUISchemeStart(const XMLAttributes& attributes);
    //! Function that handles the Imageset XML element.
    void elementImagesetStart(const XMLAttributes& attributes);
    //! Function that handles the ImagesetFromImage XML element.
    void elementImagesetFromImageStart(const XMLAttributes& attributes);
    //! Function that handles the Font XML element.
    void elementFontStart(const XMLAttributes& attributes);
    //! Function that handles the WindowSet XML element.
    void elementWindowSetStart(const XMLAttributes& attributes);
    //! Function that handles the WindowFactory XML element.
    void elementWindowFactoryStart(const XMLAttributes& attributes);
    //! Function that handles the WindowRendererSet XML element.
    void elementWindowRendererSetStart(const XMLAttributes& attributes);
    //! Function that handles the WindowRendererFactory XML element.
    void elementWindowRendererFactoryStart(const XMLAttributes& attributes);
    //! Function that handles the WindowAlias XML element.
    void elementWindowAliasStart(const XMLAttributes& attributes);
    //! Function that handles the FalagardMapping XML element.
    void elementFalagardMappingStart(const XMLAttributes& attributes);
    //! Function that handles the LookNFeel XML element.
    void elementLookNFeelStart(const XMLAttributes& attributes);
    //! Function that handles the closing GUIScheme XML element.
    void elementGUISchemeEnd();

    //! Scheme object that we are constructing
    Scheme* d_scheme;
    //! inidcates whether client read the created object
    mutable bool d_objectRead;
};

} // End of  CEGUI namespace section

#endif  // end of guard _CEGUIScheme_xmlHandler_h_