~zorba-coders/zorba/jsoniq

« back to all changes in this revision

Viewing changes to src/store/naive/simple_store.h

  • Committer: Markos Zaharioudakis
  • Date: 2012-03-08 23:31:02 UTC
  • mfrom: (10524.2.186 zorba)
  • Revision ID: markos_za@yahoo.com-20120308233102-f5o3w0fd7yh7af97
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#ifndef ZORBA_SIMPLE_STORE
17
17
#define ZORBA_SIMPLE_STORE
18
18
 
19
 
#include "store/naive/shared_types.h"
20
 
#include "store/naive/store_defs.h"
21
 
#include "store/naive/hashmap_nodep.h"
 
19
#include "shared_types.h"
 
20
#include "store_defs.h"
 
21
#include "hashmap_nodep.h"
22
22
 
23
23
#if (defined (WIN32) || defined (WINCE))
24
 
#include "store/naive/node_items.h"
 
24
#include "node_items.h"
25
25
#include "store/api/collection.h"
26
26
#include "store/api/index.h"
27
27
#include "store/api/ic.h"
144
144
 
145
145
protected:
146
146
  static const ulong NAMESPACE_POOL_SIZE;
 
147
  static const ulong DEFAULT_DOCUMENT_SET_SIZE;
 
148
  static const ulong DEFAULT_URI_COLLECTION_SET_SIZE;
 
149
  static const ulong DEFAULT_INDICES_SET_SIZE;
 
150
  static const ulong DEFAULT_INTEGRITY_CONSTRAINT_SET_SIZE;
147
151
 
148
152
public:
149
153
  zstring                       theEmptyNs;
154
158
  store::Item_t                 XS_UNTYPED_QNAME;
155
159
  store::Item_t                 XS_ANY_QNAME;
156
160
  store::Item_t                 XS_ANY_SIMPLE_QNAME;
 
161
 
157
162
  store::Item_t                 JDM_OBJECT_QNAME;
158
163
  store::Item_t                 JDM_ARRAY_QNAME;
159
 
  store::Item_t                 JDM_PAIR_QNAME;
160
164
  store::Item_t                 JDM_NULL_QNAME;
161
165
 
162
166
protected:
180
184
  PULPrimitiveFactory         * thePULFactory;
181
185
 
182
186
  DocumentSet                   theDocuments;
183
 
  CollectionSet*                theCollections;
 
187
  CollectionSet               * theCollections;
184
188
  IndexSet                      theIndices;
185
189
  ICSet                         theICs;
186
190
  IndexSet                      theHashMaps;