This file is indexed.

/usr/include/ACEXML/parser/parser/ParserInternals.h is in libacexml-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
 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
// -*- C++ -*-

//=============================================================================
/**
 *  @file    ParserInternals.h
 *
 *  $Id: ParserInternals.h 80826 2008-03-04 14:51:23Z wotte $
 *
 *  @author Krishnakumar B <kitty@cs.wustl.edu>
 */
//=============================================================================

#ifndef _ACEXML_PARSER_INTERNALS_H_
#define _ACEXML_PARSER_INTERNALS_H_

#include /**/ "ace/pre.h"
#include "ACEXML/parser/parser/Parser_export.h"

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

#include "ACEXML/common/XML_Types.h"

/**
 * @class ACEXML_ParserInt ParserInternals.h "ACEXML/parser/parser/ParserInternals.h"
 *
 * @brief A class to hide some of the internal implementation details of
 *        the parser.
 *
 */
class ACEXML_PARSER_Export ACEXML_ParserInt
{

public:
#if defined (ACE_USES_WCHAR)

  /**
   * Check if a character @a c is a BaseChar. This method checks for the
   * complete set of characters allowed when WCHAR support is enabled.
   *
   * @retval 1 if @a c is a valid XML Character, 0 otherwise.
   */
  static int isBasechar_i (const ACEXML_Char c);

  /**
   * Check if a character @a c is a Ideographic. This method checks for the
   * complete set of characters allowed when WCHAR support is enabled.
   *
   * @retval 1 if @a c is a valid XML Character, 0 otherwise.
   */
  static int isIdeographic_i (const ACEXML_Char c);

  /**
   * Check if a character @a c is a CombiningChar. This method checks for the
   * complete set of characters allowed when WCHAR support is enabled.
   *
   * @retval 1 if @a c is a valid XML Character, 0 otherwise.
   */
  static int isCombiningchar_i (const ACEXML_Char c);

  /**
   * Check if a character @a c is a Digit. This method checks for the
   * complete set of characters allowed when WCHAR support is enabled.
   *
   * @retval 1 if @a c is a valid XML Character, 0 otherwise.
   */
  static int isDigit_i (const ACEXML_Char c);

  /**
   * Check if a character @a c is an Extender. This method checks for the
   * complete set of characters allowed when WCHAR support is enabled.
   *
   * @retval 1 if @a c is a valid XML Character, 0 otherwise.
   */
  static int isExtender_i (const ACEXML_Char c);

#endif /* ACE_USES_WCHAR */

  static const ACEXML_Char base_char_table_[256];

  static const ACEXML_Char* predef_ent_[];

  static const ACEXML_Char* predef_val_[];

  // Enum describing the position in a document when a reference occurs.
  enum ReferenceState {
    IN_CONTENT,
    IN_ATT_VALUE,
    AS_ATT_VALUE,
    IN_ENTITY_VALUE,
    IN_INT_DTD,
    IN_EXT_DTD,
    IN_NOTATION,
    INVALID = -1
  };

};

#include /**/ "ace/post.h"

#endif /* _ACEXML_PARSER_INTERNALS_H_ */