/usr/include/OpenSP/EntityCatalog.h is in libosp-dev 1.5.2-10ubuntu3.
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 | #ifndef EntityCatalog_INCLUDED
#define EntityCatalog_INCLUDED 1
#ifdef __GNUG__
#pragma interface
#endif
#include "types.h"
#include "StringC.h"
#include "Resource.h"
#include "SubstTable.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
class Messenger;
class CharsetInfo;
class EntityDecl;
class SP_API EntityCatalog : public Resource {
public:
class SP_API Syntax {
public:
virtual Boolean namecaseGeneral() const = 0;
virtual Boolean namecaseEntity() const = 0;
virtual const SubstTable &upperSubstTable() const = 0;
virtual const StringC &peroDelim() const = 0;
virtual ~Syntax() = 0;
};
virtual ~EntityCatalog();
virtual Boolean sgmlDecl(const CharsetInfo &,
Messenger &,
const StringC &,
StringC &) const;
virtual Boolean lookup(const EntityDecl &,
const Syntax &,
const CharsetInfo &,
Messenger &,
StringC &) const;
virtual Boolean lookupPublic(const StringC &,
const CharsetInfo &,
Messenger &,
StringC &) const;
// This is for a character described by a minimum literal
// in the SGML declaration.
virtual Boolean lookupChar(const StringC &,
const CharsetInfo &,
Messenger &,
UnivChar &) const;
};
#ifdef SP_NAMESPACE
}
#endif
#endif /* not EntityCatalog_INCLUDED */
|