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