aboutsummaryrefslogtreecommitdiff
path: root/src/set.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-03-25 20:00:08 +0000
committerMike Buland <eichlan@xagasoft.com>2012-03-25 20:00:08 +0000
commit469bbcf0701e1eb8a6670c23145b0da87357e178 (patch)
treeb5b062a16e46a6c5d3410b4e574cd0cc09057211 /src/set.h
parentee1b79396076edc4e30aefb285fada03bb45e80d (diff)
downloadlibbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.gz
libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.bz2
libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.xz
libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.zip
Code is all reorganized. We're about ready to release. I should write up a
little explenation of the arrangement.
Diffstat (limited to '')
-rw-r--r--src/set.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/set.h b/src/set.h
deleted file mode 100644
index ac8dbd5..0000000
--- a/src/set.h
+++ /dev/null
@@ -1,44 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#ifndef BU_SET_H
9#define BU_SET_H
10
11#include <stddef.h>
12#include <string.h>
13#include <memory>
14#include <iostream>
15#include <list>
16#include <utility>
17#include "bu/exceptionbase.h"
18#include "bu/list.h"
19#include "bu/archive.h"
20
21#define bitsToBytes( n ) (n/32+(n%32>0 ? 1 : 0))
22
23namespace Bu
24{
25 subExceptionDecl( SetException )
26
27 /**
28 *@todo Set should be rewritten, possibly using a b-tree as ordered storage
29 * in the backend. It should use either a b-tree or array for storage and
30 * allow set intersections, unions, etc.
31 *@param key (typename) The datatype of the hashtable keys
32 *@param sizecalc (typename) Functor to compute new table size on rehash
33 *@param keyalloc (typename) Memory allocator for hashtable keys
34 *@param challoc (typename) Byte allocator for bitflags
35 *@ingroup Containers
36 */
37 template<typename key, typename sizecalc, typename keyalloc, typename challoc >
38 class Set
39 {
40 public:
41 };
42}
43
44#endif