BusBoy
2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
api
keys
KeyspaceBuilder.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_KEYSPACE_BUILDER_H__
18
#define __BUSBOY_KEYSPACE_BUILDER_H__
19
20
#include <set>
21
22
#include "
DataKey.h
"
23
#include "
Keyspace.h
"
24
25
namespace
BUSBOY {
26
27
class
KeyspaceBuilderImpl;
28
33
class
KeyspaceBuilder
{
34
35
public
:
36
37
KeyspaceBuilder
();
38
39
40
void
addKey
(
const
DataKey
& key);
41
42
void
addKeys
(
const
std::set<DataKey>& keys);
43
44
Keyspace
toKeyspace
()
const
;
45
46
~KeyspaceBuilder
();
47
48
49
private
:
50
51
KeyspaceBuilderImpl
* m_impl;
52
53
// prevent calling this
54
KeyspaceBuilder
(
const
KeyspaceBuilder
& builder);
55
KeyspaceBuilder
& operator=(
const
KeyspaceBuilder
& builder);
56
57
};
58
59
}
60
61
#endif
62
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.