TIVI-153: Add as dependency for iputils
[profile/ivi/opensp.git] / lib / EntityCatalog.cxx
1 // Copyright (c) 1995 James Clark
2 // See the file COPYING for copying permission.
3
4 #ifdef __GNUG__
5 #pragma implementation
6 #endif
7 #include "splib.h"
8 #include "EntityCatalog.h"
9 #include "EntityDecl.h"
10
11 #ifdef SP_NAMESPACE
12 namespace SP_NAMESPACE {
13 #endif
14
15 EntityCatalog::~EntityCatalog()
16 {
17 }
18
19
20 Boolean EntityCatalog::sgmlDecl(const CharsetInfo &,
21                                 Messenger &,
22                                 const StringC &,
23                                 StringC &) const
24 {
25   return 0;
26 }
27
28 Boolean EntityCatalog::lookup(const EntityDecl &decl,
29                               const Syntax &,
30                               const CharsetInfo &,
31                               Messenger &,
32                               StringC &str) const
33 {
34   const StringC *p = decl.systemIdPointer();
35   if (!p)
36     return 0;
37   str = *p;
38   return 1;
39 }
40
41 Boolean EntityCatalog::lookupPublic(const StringC &,
42                                     const CharsetInfo &,
43                                     Messenger &,
44                                     StringC &) const
45 {
46   return 0;
47 }
48
49 Boolean EntityCatalog::lookupChar(const StringC &,
50                                   const CharsetInfo &,
51                                   Messenger &,
52                                   UnivChar &) const
53 {
54   return 0;
55 }
56
57 EntityCatalog::Syntax::~Syntax() {}
58
59 #ifdef SP_NAMESPACE
60 }
61 #endif