~zorba-coders/zorba/bug_897616

« back to all changes in this revision

Viewing changes to src/api/staticcontextimpl.h

Support for user-provided Thesauri using standard Zorba URI Resolver mechanism. Approved: Paul J. Lucas, Matthias Brantner

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
  class DiagnosticHandler;
31
31
  class StaticCollectionManagerImpl;
32
32
  class static_context;
33
 
#ifndef ZORBA_NO_FULL_TEXT
34
 
  namespace internal {
35
 
    class ThesaurusProviderWrapper;
36
 
  }
37
 
#endif /* ZORBA_NO_FULL_TEXT */
38
33
 
39
34
/*******************************************************************************
40
35
 
62
57
  DiagnosticHandler                 * theDiagnosticHandler;
63
58
  bool                                theUserDiagnosticHandler;
64
59
 
65
 
#ifndef ZORBA_NO_FULL_TEXT
66
 
  typedef std::map<ThesaurusProvider const*,
67
 
                   internal::ThesaurusProviderWrapper const*>
68
 
          thesaurus_providers_t;
69
 
 
70
 
  thesaurus_providers_t               theThesaurusProviders;
71
 
#endif /* ZORBA_NO_FULL_TEXT */
72
 
 
73
60
  // allow for lazy creation
74
61
  mutable StaticCollectionManagerImpl* theCollectionMgr;
75
62
 
186
173
  virtual TypeIdentifier_t
187
174
  getCollectionType(const String& aCollectionUri) const;
188
175
 
189
 
#ifndef ZORBA_NO_FULL_TEXT
190
 
  virtual void
191
 
  addThesaurusProvider( ThesaurusProvider const* );
192
 
 
193
 
  virtual void
194
 
  removeThesaurusProvider( ThesaurusProvider const* );
195
 
#endif /* ZORBA_NO_FULL_TEXT */
196
 
 
197
176
  virtual bool
198
177
  containsFunction(const String& aFnNameUri, const String& aFnNameLocal, int arity) const;
199
178