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
KeyspaceDimension.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_KEYSPACE_DIMENSION_H__
18
#define __BUSBOY_KEYSPACE_DIMENSION_H__
19
20
#include <vector>
21
22
#include "
DataKeyDimension.h
"
23
#include "
DataKeyElement.h
"
24
25
namespace
BUSBOY {
26
27
class
KeyspaceDimensionImpl;
28
33
class
KeyspaceDimension
{
34
35
public
:
36
37
KeyspaceDimension
();
38
39
KeyspaceDimension
(
const
KeyspaceDimension
& ksd);
40
41
KeyspaceDimension
(
const
DataKeyDimension
& dim,
const
std::vector<DataKeyElement>& elements);
42
43
DataKeyDimension
getDimension
()
const
;
44
48
std::vector<DataKeyElement>
getElements
()
const
;
49
50
size_t
getElementCount
()
const
;
51
52
DataKeyElement
getElement
(
size_t
index)
const
;
53
54
std::string
str
()
const
;
55
56
~KeyspaceDimension
();
57
58
KeyspaceDimension
&
operator=
(
const
KeyspaceDimension
& ksd);
59
60
bool
operator==
(
const
KeyspaceDimension
& ksd)
const
;
61
bool
operator!=
(
const
KeyspaceDimension
& ksd)
const
;
62
bool
operator<
(
const
KeyspaceDimension
& ksd)
const
;
63
64
private
:
65
66
KeyspaceDimensionImpl
* m_impl;
67
68
69
};
70
71
std::ostream&
operator<<
(std::ostream& os,
const
KeyspaceDimension
& ksd);
72
73
}
74
75
#endif
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.