~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key_map.h

  • Committer: Brian Aker
  • Date: 2009-11-24 02:06:37 UTC
  • mfrom: (1223.1.7 push)
  • Revision ID: brian@gaz-20091124020637-9gb65vj98x1arydm
MergeĀ forĀ staging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#include <bitset>
26
26
 
27
 
#include "drizzled/visibility.h"
28
 
 
29
 
namespace drizzled
30
 
{
31
 
 
32
27
/* Used for finding keys */
33
28
#if MAX_INDEXES <= 64
34
29
typedef std::bitset<72> key_map;
38
33
 
39
34
/* useful constants */
40
35
extern const key_map key_map_empty;
41
 
extern DRIZZLED_API key_map key_map_full;          /* Should be threaded as const */
 
36
extern key_map key_map_full;          /* Should be threaded as const */
42
37
 
43
38
bool is_keymap_prefix(const key_map& map, const uint32_t n);
44
39
bool is_overlapping(const key_map& map, const key_map& map2);
45
40
void set_prefix(key_map& map, const uint32_t n);
46
41
void key_map_subtract(key_map& map1, key_map& map2);
47
42
 
48
 
} /* namespace drizzled */
49
 
 
50
43
#endif /* DRIZZLED_KEY_MAP_H */