~paul-lucas/zorba/bug-932374

« back to all changes in this revision

Viewing changes to src/context/dynamic_context.h

  • Committer: Paul J. Lucas
  • Date: 2012-09-21 20:26:47 UTC
  • mfrom: (10819.2.235 zorba)
  • Revision ID: paul@lucasmail.org-20120921202647-fy9n4jduhrnljrnb
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#define ZORBA_DYNAMIC_CONTEXT_H
19
19
 
20
20
#include <zorba/external_function_parameter.h>
21
 
#include "zorbautils/hashmap_zstring_nonserializable.h"
 
21
 
 
22
#include "zorbautils/hashmap_zstring.h"
 
23
#include "zorbautils/hashmap_itemp.h"
22
24
 
23
25
#include "common/shared_types.h"
24
26
 
101
103
    void*       func_param;
102
104
  };
103
105
 
104
 
  typedef HashMapZString<dctx_value_t> ValueMap;
 
106
  ZSTRING_HASH_MAP(dctx_value_t, ValueMap);
105
107
 
106
 
  typedef ItemPointerHashMap<store::Index_t> IndexMap;
 
108
  ITEM_PTR_HASH_MAP(store::Index_t, IndexMap);
107
109
 
108
110
  typedef std::map<const zstring,const zstring> EnvVarMap;
109
111
 
121
123
 
122
124
  IndexMap                   * theAvailableIndices;
123
125
 
 
126
  IndexMap                   * theAvailableMaps;
 
127
 
124
128
    //MODIFY
125
129
  EnvVarMap                  * theEnvironmentVariables;
126
130
 
202
206
 
203
207
  void unbindIndex(store::Item* qname);
204
208
 
 
209
  store::Index* getMap(store::Item* qname) const;
 
210
 
 
211
  void bindMap(store::Item* qname, store::Index_t& index);
 
212
 
 
213
  void unbindMap(store::Item* qname);
 
214
 
 
215
  void getMapNames(std::vector<store::Item_t>& names) const;
 
216
 
205
217
  /**
206
218
   * Lists all active integrity constraints.
207
219
   */