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
DataKeyBuilder.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_DATA_KEY_BUILDER_H__
18
#define __BUSBOY_DATA_KEY_BUILDER_H__
19
20
#include <set>
21
22
#include "
DataKeyDimension.h
"
23
#include "
DataKeyElement.h
"
24
#include "
DataKey.h
"
25
26
namespace
BUSBOY {
27
28
class
DataKeyBuilderImpl;
29
34
class
DataKeyBuilder
{
35
36
public
:
37
38
DataKeyBuilder
();
39
44
DataKeyBuilder
(
const
DataKeyBuilder
& builder);
45
49
void
addElement
(
const
DataKeyElement
& element);
50
54
void
addElements
(
const
std::set<DataKeyElement>& elements);
55
59
void
addAllElements
(
const
DataKey
& key);
60
64
DataKey
toKey
()
const
;
65
66
~DataKeyBuilder
();
67
73
DataKeyBuilder
&
operator=
(
const
DataKeyBuilder
& builder);
74
75
76
private
:
77
78
DataKeyBuilderImpl
* m_impl;
79
80
// prevent calling this
81
bool
operator==(
const
DataKey
& key)
const
;
82
83
};
84
85
}
86
87
#endif
88
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.